-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
60 lines (53 loc) · 983 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
[tool.black]
line-length = 110
target-version = ["py312"]
[tool.isort]
profile = "black"
line_length = 110
known_first_party = ["lsst"]
[tool.ruff]
line-length = 110
target-version = "py312"
exclude = [
"__init__.py",
]
[tool.ruff.lint]
ignore = [
"N802",
"N803",
"N806",
"N812",
"N815",
"N816",
"N999",
"D107",
"D105",
"D102",
"D104",
"D100",
"D200",
"D205",
"D400",
]
select = [
"E", # pycodestyle
"F", # pycodestyle
"N", # pep8-naming
"W", # pycodestyle
"UP", # pyupgrade
"I", # isort
"RUF022", # sort __all__
"B", # bugbear
"C4", # comprehensions
"RUF010", # using str() in f-string
]
[tool.ruff.lint.isort]
known-first-party = ["lsst"]
[tool.ruff.lint.pycodestyle]
max-doc-length = 79
[tool.ruff.lint.pydocstyle]
convention = "numpy"
[tool.ruff.format]
docstring-code-format = true
# Formatter does not know about indenting.
docstring-code-line-length = 69