Basic tox setup to test a package
问题 I am trying to use tox to test a package I am writing and I cannot get it to work. My setup.cfg contains the following section: [tox] envlist = py36,py37,py36-black [testenv] deps = pytest commands = pytest tests [testenv:py36-black] deps = black flake8 flake8-black mypy commands = black --check --diff setup.py mypackage tests flake8 mypackage tests mypy mypackage tests I have a setup.py file to install my module, and if I run pip install -e . , everything works well and I can use the module