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:
parent
edf46ba158
commit
769fc49ef2
1 changed files with 4 additions and 0 deletions
|
@ -2,6 +2,10 @@
|
||||||
line-length = 120
|
line-length = 120
|
||||||
indent-width = 4
|
indent-width = 4
|
||||||
|
|
||||||
|
# We preview to grab a few rules like PLW1514
|
||||||
|
# Might be smarter to do explicit-preview-rules...
|
||||||
|
preview = true
|
||||||
|
|
||||||
# Dismissed selections:
|
# Dismissed selections:
|
||||||
# - CPY: Copyright notice screamer; I don't care
|
# - CPY: Copyright notice screamer; I don't care
|
||||||
# - TD: Overly opinionated on FIXME/TODO format. FIX covers better
|
# - TD: Overly opinionated on FIXME/TODO format. FIX covers better
|
||||||
|
|
Loading…
Add table
Reference in a new issue