-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
50 lines (46 loc) · 1.14 KB
/
pyproject.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
48
49
50
lint = ["ruff>=0.0.220"] # MIT License (MIT)
[tool.ruff]
line-length = 130
target-version = "py39"
lint.select = [
"ANN", # flake8-annotations
"ARG", # flake8-unused-arguments
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"C90", # mccabe
"D", # pydocstyle
"DTZ", # flake8-datetimez
"E", # pycodestyle
"ERA", # eradicate
"F", # Pyflakes
"I", # isort
"N", # pep8-naming
"PD", # pandas-vet
"PGH", # pygrep-hooks
"PLC", # Pylint
"PLE", # Pylint
"PLR", # Pylint
"PLW", # Pylint
"PT", # flake8-pytest-style
"Q", # flake8-quotes
"RET", # flake8-return
"S", # flake8-bandit
"SIM", # flake8-simplify
"T20", # flake8-print
"TID", # flake8-tidy-imports
"W", # pycodestyle
]
exclude = [
".venv",
]
lint.ignore = [
"D401", # non-imperative-mood
"PD901", # Avoid using df variable name as pd.Dataframe
"PD011", # pandas-use-of-dot-values
"PLR0913", # too-many-arguments in function
"S101", # Using assert
"PLR2004", # magic-value-comparison
"D107", # Missing docstring in `__init__`
"PLW2901", # redefined-loop-name
"D202", # No blank lines allowed after function docstring
]