-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.ruff.toml
More file actions
27 lines (25 loc) · 1 KB
/
.ruff.toml
File metadata and controls
27 lines (25 loc) · 1 KB
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
line-length = 100
[lint]
ignore = [
"ANN401", # Dynamically typed expressions (typing.Any) are disallowed in {name}
"COM812", # Trailing comma missing
"D", # pydocstyle
"ERA001", # Found commented-out code
"FIX001", # Line contains FIXME, consider resolving the issue
"FIX002", # Line contains TODO, consider resolving the issue
"FIX004", # Line contains HACK, consider resolving the issue
"INP001", # File {filename} is part of an implicit namespace package. Add an __init__.py.
"PTH", # flake8-use-pathlib
"S101", # Use of assert detected
"S607", # Starting a process with a partial executable path
"T201", # `print` found
"TD", # flake8-todos
]
select = ["ALL"]
[lint.isort]
# Google config: https://pycqa.github.io/isort/docs/configuration/profiles.html#google
force-single-line=true
force-sort-within-sections=true
order-by-type=false
single-line-exclusions = ["typing", "collections.abc"]
required-imports = ["from __future__ import annotations"]