-
Notifications
You must be signed in to change notification settings - Fork 12
/
pyproject.toml
41 lines (36 loc) · 1.1 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
[build-system]
requires = ["setuptools", "setuptools_scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"
[tool.ruff]
target-version = "py310"
src = ["trackastra", "tests"]
exclude = ["scripts/*"]
[tool.ruff.lint]
select = [
"F", # pyflakes
"E", # pycodestyle
"I", # isort
"UP", # pyupgrade
"RUF", # ruff specific rules
"D", # pydocstyle
]
ignore = [
"D100", # Missing docstring in public mod
"D101", # Missing docstring in public class
"D102", # Missing docstring in public method
"D103", # Missing docstring in public function
"D104", # Missing docstring in public package
"D105", # Missing docstring in magic method
"D107", # Missing docstring in `__init__`
"D205", # 1 blank line required between summary line and description
"D417", # Missing argument description in docstring
"E402", # Module level import not at top of file
"E501", # Line too long
]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["D"]
"__init__.py" = ["F401"]
[tool.setuptools_scm]
write_to = "trackastra/_version.py"