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.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size pytest_darker-0.1.2-py3-none-any.whl (5.3 kB)||File type Wheel||Python version py3||Upload date||Hashes View|
|Filename, size pytest_darker-0.1.2.tar.gz (6.9 kB)||File type Source||Python version None||Upload date||Hashes View|
Hashes for pytest_darker-0.1.2-py3-none-any.whl