Add preview rules to ruff

At the moment the main rule I want is PLW1514: open() without
explicit encoding. I may need to trim this back to explicit rules.
This commit is contained in:
Trysdyn Black 2024-01-08 06:14:15 -08:00
parent edf46ba158
commit 769fc49ef2

View file

@ -2,6 +2,10 @@
line-length = 120
indent-width = 4
# We preview to grab a few rules like PLW1514
# Might be smarter to do explicit-preview-rules...
preview = true
# Dismissed selections:
# - CPY: Copyright notice screamer; I don't care
# - TD: Overly opinionated on FIXME/TODO format. FIX covers better