-
-
Notifications
You must be signed in to change notification settings - Fork 67
Expand file tree
/
Copy path.ruff.toml
More file actions
34 lines (31 loc) · 764 Bytes
/
.ruff.toml
File metadata and controls
34 lines (31 loc) · 764 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
target-version = "py313" # Pin Ruff to Python 3.13
line-length = 88
output-format = "full"
[format]
preview = true
docstring-code-format = true
[lint]
preview = true
select = [
"C4", # flake8-comprehensions
"B", # flake8-bugbear
"E", # pycodestyle
"F", # pyflakes
"FA", # flake8-future-annotations
"FLY", # flynt
"G", # flake8-logging-format
"I", # isort
"N", # pep8-naming
"PERF", # perflint
"PGH", # pygrep-hooks
"PT", # flake8-pytest-style
"TC", # flake8-type-checking
"UP", # pyupgrade
"W", # pycodestyle
]
ignore = [
"E501", # Ignore line length errors (we use auto-formatting)
]
[lint.flake8-type-checking]
exempt-modules = []
strict = true