A pytest plugin for checking of modified code using Darker
$ pip install pytest-darker
To run pytest with checks provided by Darker:
$ pytest --darker
The plugin will output a diff of suggested formatting changes from Black (if any exist). Changes will _not_ be applied automatically.
Customizing Black and isort behavior
For more details, see:
To run the tests against a selection of Python interpreters:
To run against a specific interpreter (e.g. Python 3.6):
$ tox -e py36
The tox.ini file in the root of this repository is used to configure the test environment.
Distributed under the terms of the BSD license, pytest-darker is free and open source software.
If you encounter any problems, please file an issue in the pytest-darker issue tracker along with a detailed description.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Hashes for pytest_darker-0.1.2-py3-none-any.whl