-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathpyproject.toml
41 lines (38 loc) · 965 Bytes
/
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
[tool.ruff]
target-version = "py312"
[tool.ruff.format]
docstring-code-format = true
line-ending = "lf"
[tool.ruff.lint]
select = [
"F", # Pyflakes
"E", # Error (pycodestyle)
"W", # Warning (pycodestyle)
"I", # isort
"N", # pep8-naming
"ANN", # flake8-annotations
"ASYNC", # flake8-async
"A", # flake8-builtins
"COM", # flake8-commas
"C4", # flake8-comprehensions
"DTZ", # flake8-datetimez
"ICN", # flake8-import-conventions
"Q", # flake8-quotes
"RET", # flake8-return
"SIM", # flake8-simplify
"TID", # flake8-tidy-imports
"TC", # flake8-type-checking
"ARG", # flake8-unused-arguments
"ERA", # eradicate
"PL", # Pylint
"PERF", # Perflint
"RUF", # Ruff-specific rules
]
ignore = [
"E501", # line-too-long
"PLR2004", # magic-value-comparison
"PLR0913", # too-many-arguments
"COM812", # missing-trailing-comma
]
[tool.ruff.lint.pydocstyle]
convention = "numpy"