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
34 lines (30 loc) · 956 Bytes
/
Copy pathruff.toml
File metadata and controls
34 lines (30 loc) · 956 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
31
32
33
34
line-length = 88
target-version = "py39"
# in addition to ruff's default excludes: skip nested agent worktrees and the
# vendored test-drive library, which contain copies of source not owned here
extend-exclude = [".claude", ".test-drive"]
[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"