-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
50 lines (41 loc) · 963 Bytes
/
pyproject.toml
File metadata and controls
50 lines (41 loc) · 963 Bytes
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
[project]
name = "cliargparser"
requires-python = ">=3.12"
version = "0.0.1"
[tool.mypy]
mypy_path = "src"
python_version = "3.12"
strict = true
warn_no_return = true
warn_unreachable = true
[tool.pyright]
pythonVersion = "3.12"
typeCheckingMode = "strict"
[tool.ruff]
line-length = 100
target-version = "py312"
[tool.ruff.format]
indent-style = "space"
quote-style = "double"
[tool.ruff.lint]
ignore = [
"ANN401", # any-type
"COM812", # missing-trailing-comma
"D", # pydocstyle
"DOC", # pydoclint
"PLR0913", # too-many-arguments,
]
select = ["ALL"]
[tool.ruff.lint.isort]
combine-as-imports = true
force-sort-within-sections = true
known-first-party = ["cliargparser"]
lines-after-imports = 2
[tool.tomlsort]
sort_inline_tables = true
sort_table_keys = true
spaces_before_inline_comment = 2
spaces_indent_inline_array = 4
trailing_comma_inline_array = true
[tool.tomlsort.overrides."tool.ruff.lint.ignore"]
inline_arrays = true