-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathruff.toml
More file actions
61 lines (53 loc) · 1.12 KB
/
ruff.toml
File metadata and controls
61 lines (53 loc) · 1.12 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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
line-length = 99
[lint]
select = [
"E", # pycodestyle
"W", # pycodestyle
"F", # Pyflakes
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"D", # flake8-docstrings
"D213", # Augment NumPy docstring convention: Multi-line docstring summary should start at the second line
"D417", # Augment NumPy docstring convention: Missing argument descriptions
"I", # isort
"SIM", # flake8-simplify
"TCH", # flake8-type-checking
"TID", # flake8-tidy-imports
"UP", # pyupgrade
"PT", # flake8-pytest-style
"RUF", # Ruff-specific rules
"PTH", # flake8-use-pathlib
"FA", # flake8-future-annotations
"PIE", # flake8-pie
"TD", # flake8-todos
"TRY", # tryceratops
"EM", # flake8-errmsg
"FBT001", # flake8-boolean-trap
]
ignore = [
"E501",
"D401",
"PT011",
"SIM102",
"SIM108",
"RUF005",
"D105",
"D100",
"D104",
"TD002",
"TD003",
"TRY003",
"D206",
"W191",
"TCH002"
]
[lint.pycodestyle]
max-doc-length = 120
[lint.pydocstyle]
convention = "numpy"
[lint.flake8-tidy-imports]
ban-relative-imports = "all"
[lint.flake8-type-checking]
strict = true
[format]
docstring-code-format = true