You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Use the ruff formatter, instead of black
Based on:
- ruff-pre-commit README.md | Using Ruff with pre-commit
https://github.com/astral-sh/ruff-pre-commit/blob/main/README.md
- The Ruff Formatter | Conflicting lint rules
https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules
Support for the ruff formatter was added to pytest-ruff by commits from
October 2023, released the same day as versions 0.2 and 0.2.1. Hence, it
makes sense to require pytest-ruff ≥ 0.2.1 now.
Support for `quote-style = "preserve"` was added to ruff in the last
couple of weeks, therefore require the latest version, ruff ≥ 0.1.8.
This option is equivalent to `skip-string-normalization` in black.
Closesjaraco/skeleton#101.
---------
Co-authored-by: Jason R. Coombs <[email protected]>
0 commit comments