-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathruff.toml
More file actions
37 lines (34 loc) · 1.61 KB
/
ruff.toml
File metadata and controls
37 lines (34 loc) · 1.61 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
extend-exclude = ["tests"]
[format]
quote-style = "single"
[lint]
select = ["ALL"]
ignore = [
"ANN002", # Missing type annotation for `*args`
"ANN003", # Missing type annotation for `**kwargs`
"ANN401", # typing.Any is disallowed
"D105", # Missing docstring in magic method
"D107", # Missing docstring in `__init__`
"D203", # 1 blank line required before class docstring
"D213", # Multi-line docstring summary should start at the second line
"E402", # Module level import not at top of file
"E501", # Line too long
"FA100", # Add `from __future__ import annotations`
"FA102", # Missing `from __future__ import annotations`
"FBT001", # Boolean-typed positional argument in function definition
"FBT002", # Boolean default positional argument in function definition
"N805", # First argument of a method should be named `self`
"PD901", # Avoid using the generic variable name `df` for DataFrames
"PERF203", # try-except within a loop incurs performance overhead
"PGH003", # Use specific rule codes when ignoring type issues
"PLR0913", # Too many arguments in function definition
"PTH123", # `open()` should be replaced by `Path.open()`
"S311", # Standard pseudo-random generators are not suitable for security/cryptographic purposes
"T201", # `print` found
"TD002", # Missing author in TODO
"TD003", # Missing issue link for this TODO
"FIX001", # Line contains FIXME, consider resolving the issue
"FIX002", # Line contains TODO, consider resolving the issue
]
[lint.flake8-quotes]
inline-quotes = "single"