Add pytest config to setup.cfg

Also ignore venv during linting and testing.