-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathruff.toml
47 lines (43 loc) · 1.04 KB
/
ruff.toml
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
line-length = 100
##extend-exclude = ["*.ipynb", "**/*_pb2.py"]
[lint]
ignore = [
"PLR0913", # Too many arguments
"S311", # suspicious-non-cryptographic-random-usage
"G004" # Logging statement uses f-string
]
select = [
"A", # flake8-builtins
"C4", # flake8-comprehensions
"DTZ", # flake8-datetimez
"B",
"B9",
"C",
"G", # flake8-logging-format
"PYI", # flake8-pyi
"PT", # flake8-pytest-style
"TCH", # flake8-type-checking
"C90", # MCCabe
"D", # Pydocstyle
"E", # Pycodestyle error
"F", # Pyflakes
"I", # Isort
"N", # pep8-naming
"W", # Pycodestyle warning
# "ANN", # flake8-annotations
"S", # flake8-bandit
"BLE", # flake8-blind-except
"PD", # pandas-vet
"PL", # Pylint
"RUF", # Ruff
]
[lint.per-file-ignores]
"__init__.py" = ["F401"]
"tests/*" = ["ANN", "D", "S101", "PT", "PLR", "PD901"]
"integration_tests/*" = ["ANN", "D", "S101", "PT", "PLR", "PD901"]
[lint.pydocstyle]
convention = "google"
#[mccabe]
#max-complexity = 18
#
#