Skip to main content

travis-badge license-badge pypi-badge downloads-badge black-badge changelog-badge

Requirements

There is a minimum requirement of Darker 1.1.0 later.

Installation

$ pip install pytest-darker

Usage

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

Project-specific default options for Black and isort are read from the project’s pyproject.toml file in the repository root. isort also looks for a few other places for configuration.

For more details, see:

Testing

To run the tests against a selection of Python interpreters:

$ tox

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.

License

Distributed under the terms of the BSD license, pytest-darker is free and open source software.

Issues

If you encounter any problems, please file an issue in the pytest-darker issue tracker along with a detailed description.

GitHub stars trend

stargazers

Release files for pytest-darker 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pytest-darker 0.1.4
File Size Uploaded
pytest_darker-0.1.4.tar.gz 7.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pytest-darker 0.1.4
File Interpreter ABI Platform
pytest_darker-0.1.4-py3-none-any.whl Python 3 none any Details

Total release size: 12.4 kB

Release files / pytest_darker-0.1.4.tar.gz

Download URL pytest_darker-0.1.4.tar.gz
Size 7.1 kB
Tags Source
SHA-256 checksum
How to use checksums
e61fdaafbd516dbc1dbdca6065bd330eec674c322cf46568bbf8a4b766d72a09
BLAKE2b-256 checksum
How to use checksums
3edfa4c8beda843f392af3316124c35b2609036bf1a2e1e86773d4dfb1c793f0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.12

Release files / pytest_darker-0.1.4-py3-none-any.whl

Download URL pytest_darker-0.1.4-py3-none-any.whl
Size 5.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fa61698dd6215bb3605889cdc986098449b5918ef87190b598182d76ca6fb560
BLAKE2b-256 checksum
How to use checksums
19cd15f1b39baa7c4f492bf76be33e866abdf831de1d5327832f048d907ea291
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.12

Release history Release notifications | RSS feed

This release

0.1.4 This release

2 release files

0.1.3

2 release files

0.1.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page