-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
59 lines (50 loc) · 1.16 KB
/
pyproject.toml
File metadata and controls
59 lines (50 loc) · 1.16 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
[project]
name = "nd-bootstrap"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.13"
dependencies = [
"pyyaml>=6.0.3",
"requests>=2.32.5",
"urllib3>=2.5.0",
]
[project.optional-dependencies]
dev = [
"black>=24.0.0",
"isort>=5.13.0",
"pylint>=3.0.0",
"mypy>=1.8.0",
"types-pyyaml>=6.0.0",
"types-requests>=2.31.0",
]
[tool.black]
line-length = 180
target-version = ["py312"]
[tool.pyink]
line-length = 180
target-version = ["py312"]
[tool.isort]
profile = "black"
line_length = 180
[tool.pylint.format]
max-line-length = 180
[tool.pylint.messages_control]
disable = [
"too-many-instance-attributes",
"line-too-long",
"duplicate-code",
]
# For CI/CD environments where dependencies may not be installed
[tool.pylint.'TYPECHECK']
ignored-modules = ["requests", "urllib3", "yaml"]
extension-pkg-allow-list = ["pyyaml"]
[tool.pylint.'MASTER']
# Ensure pylint can find the package modules
init-hook = 'import sys; sys.path.append(".")'
[tool.mypy]
python_version = "3.13"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = false
check_untyped_defs = true