Closed
Description
I'm trying to use pytest-black, but it only installs on Python 3 and I still have projects that depend on Python 2.
Using tox, I attempted to configure the environment to exclude that plugin on Python 2, but when I do, I still get failures when the tests are not explicitly invoked with "py27" but still get Python 2.7.
Is there something I can do to cause pytest to run as if --black
is indicated, but only when pytest-black
is installed?