Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
121 lines (98 loc) · 2.36 KB
/
Copy pathpyproject.toml
File metadata and controls
121 lines (98 loc) · 2.36 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
name = "vrachos"
authors = [
{name = "Kanelis Elias", email = "e.kanelis@voidbuffer.com"},
]
maintainers = [
{name = "Kanelis Elias", email = "e.kanelis@voidbuffer.com"},
]
readme = "README.md"
description = "Because your code deserves a solid foundation."
requires-python = ">=3.13"
keywords = ["framework", "cli", "logging", "model"]
classifiers = [
'Development Status :: 3 - Alpha',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.13',
]
dynamic = ["version"]
dependencies = [
"click>=8.3.1",
"pydantic>=2.12.4",
"requests>=2.32.5",
"rich>=14.2.0",
]
[project.urls]
Homepage = "https://pypi.org/project/vrachos/"
[dependency-groups]
dev = [
"black>=25.11.0",
"isort>=7.0.0",
"mypy>=1.18.2",
"pytest>=9.0.1",
"ruff>=0.14.5",
"types-requests>=2.32.4.20250913",
"typos>=1.39.2",
]
[tool.hatch.version]
source = "vcs"
style = "semver"
# -----------------------------
# black
[tool.black]
line-length = 79
target-version = ["py313"]
skip-string-normalization = false
# -----------------------------
# isort
[tool.isort]
profile = "black"
line_length = 79
multi_line_output = 3 # Black-compatible
include_trailing_comma = true
# -----------------------------
# ruff
[tool.ruff]
line-length = 79
target-version = "py313"
fix = true
[tool.ruff.lint]
select = ["D", "E", "F", "W", "C90", "I"]
extend-select = ["ERA", "UP", "S"]
ignore=["D203", "D212", "D413"]
extend-per-file-ignores = {"tests/*.py" = ["S101"]}
[tool.ruff.lint.mccabe]
max-complexity = 10
[tool.ruff.lint.pyupgrade]
keep-runtime-typing = false
# -----------------------------
# mypy
[tool.mypy]
python_version = "3.13"
strict = true
allow_redefinition = false
disallow_any_generics = true
disallow_untyped_calls = true
ignore_missing_imports = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
disallow_untyped_decorators = true
no_implicit_optional = true
warn_return_any = true
warn_unreachable = true
warn_unused_configs = true
warn_unused_ignores = true
warn_redundant_casts = true
check_untyped_defs = true
show_error_codes = true
pretty = true
strict_equality = true
# -----------------------------
# pytest
[tool.pytest.ini_options]
addopts = "-v --tb=short"
testpaths = ["tests"]
python_files = ["test_*.py"]