Nope. As of Python 3 all *.pyc files are stored under a __pycache__ directory in the script's / module's directory.
So ignoring just the __pycache directory is enough.