-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
77 lines (66 loc) · 1.29 KB
/
pyproject.toml
File metadata and controls
77 lines (66 loc) · 1.29 KB
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
[project]
name = "dotfiles"
version = "0.1.0"
description = "dotfiles"
readme = "README.md"
requires-python = ">=3.13"
dependencies = [
"pre-commit>=4.5.1",
]
[tool.autopep8]
max_line_length = 120
in-place = true
recursive = true
aggressive = 3
[tool.bandit]
exclude_dirs = [""]
skips = ["B404", "B603"] # https://github.com/PyCQA/bandit/issues/333
[tool.black]
line-length = 120
target-version = ['py313']
[tool.pylint]
disable = [
"C0302", # too many lines
"C0325", # superfluous-parens
"R0801", # duplicate-code
"R0912", # too-many-branches
"R0913", # too-many-arguments
"R0914", # too-many-locals
"R0915", # too-many-statements
]
max-line-length = 120
ignore = [".git", "__pycache__"]
j = 0
reports = true
[tool.isort]
line_length = 120
profile = "black"
force_grid_wrap = 2
multi_line_output = 3
[tool.mypy]
exclude = "(.git|__pycache__)"
[tool.pydocstyle]
convention = "numpy"
[tool.pyright]
# exclude = [""]
[tool.ruff]
line-length = 120
target-version = "py313"
[tool.ruff.lint]
select = ["ALL"]
ignore = [
"COM812", "C901",
"D203", "D212", "D413",
"ERA001",
"FBT001", "FBT002",
"FIX002",
"PLR0912", "PLR0913", "PLR0915", "PLR2004",
"PTH123",
"S108", "S501", "S507",
"TD002", "TD003", "TD004",
"TRY003",
]
[dependency-groups]
dev = [
"sphinx-lint>=1.0.2",
]