Skip to content

Commit 91d8c2e

Browse files
committed
Enforced all pycodestyle/Pyflakes rules, added lint.pycodestyle.max-line-length
1 parent 6fe184d commit 91d8c2e

1 file changed

Lines changed: 11 additions & 2 deletions

File tree

.ruff.toml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,16 @@
1-
lint.ignore = [
1+
[lint]
2+
select = [
3+
"E", # enforce all pycodestyle error-level rules
4+
"F", # enforce all Pyflakes rules (logic)
5+
"W" # enforce all pycodestyle warning-level rules
6+
]
7+
ignore = [
28
"E401", # allow multiple imports on one line
39
"E402", # allow module level import at top of file
410
"E701", # allow multiple statements on one line (colon)
511
"E702", # allow multiple statements on one line (semicolon)
6-
"E722" # allow bare exceptions
12+
"E722" # allow bare exceptions
713
]
14+
15+
[lint.pycodestyle]
16+
max-line-length = 120

0 commit comments

Comments
 (0)