Add pytest settings to setup.cfg

Also ignore the 'venv' dir when linting and testing.
Merge pull request #1 from hzdg/pytestcfg

Add pytest config to setup.cfg