forked from MODFLOW-ORG/modflow6
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathruff.toml
More file actions
30 lines (27 loc) · 756 Bytes
/
ruff.toml
File metadata and controls
30 lines (27 loc) · 756 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
line-length = 88
target-version = "py39"
[lint]
select = [
"D409", # pydocstyle - section-underline-matches-section-length
"E", # pycodestyle error
"F", # Pyflakes
"I001", # isort - unsorted-imports
"RUF", # Ruff-specific rules
"UP", # Pyupgrade
]
ignore = [
"E722", # do not use bare `except`
"E741", # ambiguous variable name
"F841", # local variable assigned but never used
"RUF005", # collection literal concatenation
"RUF012", # mutable class default
"UP015", # redundant open modes
"RUF059", # unpacked variable is never used
]
[lint.per-file-ignores]
"doc/**.ipynb" = ["E501"]
[format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "lf"