-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathruff.toml
More file actions
39 lines (33 loc) · 849 Bytes
/
ruff.toml
File metadata and controls
39 lines (33 loc) · 849 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
35
36
37
38
39
force-exclude = true
line-length = 120
output-format = "grouped"
target-version = "py38"
[lint]
select = ["ALL"]
fixable = ["ALL"]
ignore = [
'ANN002', 'ANN003',
'COM812',
'D100', 'D101', 'D103', 'D102', 'D104', 'D105', 'D106', "D107", "D400",
'D203', 'D205',
"G004",
'ISC001',
"TD001", "TID252",
]
external = ["WPS220", "WPS221", "WPS432", "WPS529", "WPS601","WPS428"]
[lint.per-file-ignores]
"__init__.py" = ["F401", "F403"]
"tests/test_*.py" = ["S101", "S311"]
[lint.flake8-annotations]
mypy-init-return = true
ignore-fully-untyped = true
allow-star-arg-any = true
[lint.pydocstyle]
convention = "pep257"
[lint.isort]
force-single-line = false
force-wrap-aliases = true
force-sort-within-sections = true
combine-as-imports = true
lines-after-imports = 2
required-imports = ["from __future__ import annotations"]