-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
53 lines (47 loc) · 1.07 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
51
52
53
# See https://setuptools.readthedocs.io/en/latest/build_meta.html
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta:__legacy__"
[tool.cruft]
skip = [
"**/__init__.py",
"tests/*"
]
[tool.black]
line-length = 100
target-version = ["py38", "py39", "py310", "py311"]
[tool.isort]
profile = "black"
multi_line_output = 3
line_length = 100
include_trailing_comma = true
reverse_relative = true
[tool.ruff]
line-length = 100
extend-include = ["*.ipynb"]
[tool.ruff.lint]
# See https://docs.astral.sh/ruff/rules
extend-select = [
"F", # pyflakes
"E", # pycodestyle errors
"W", # pycodestyle warnings
"C90", # mccabe
"I", # isort
"UP", # pyupgrade
"D", # pydocstyle
"B", # bugbear
"S", # bandit
"T20", # print
"N", # pep8 naming
"ERA", # eradicate commented out code
"NPY", # numpy checks
"RUF", # ruff rules
]
ignore = [
"D105", # Missing docstring in magic method
"S404",
"S603",
"E203", # Black conflicts with the following
]
[tool.ruff.lint.pydocstyle]
convention = "pep257"