-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Labels
type: questiongeneral question, might be closed after 2 weeks of inactivitygeneral question, might be closed after 2 weeks of inactivity
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?
Metadata
Metadata
Assignees
Labels
type: questiongeneral question, might be closed after 2 weeks of inactivitygeneral question, might be closed after 2 weeks of inactivity