-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpyproject.toml
More file actions
131 lines (110 loc) · 2.39 KB
/
pyproject.toml
File metadata and controls
131 lines (110 loc) · 2.39 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
122
123
124
125
126
127
128
129
130
131
[project]
name = "piou"
version = "0.34.0"
description = "A CLI toolkit"
authors = [{ name = "Julien Brayere", email = "julien.brayere@obitrain.com" }]
license = "MIT"
readme = "README.md"
homepage = "https://github.com/andarius/piou"
repository = "https://github.com/andarius/piou"
keywords = ["cli"]
classifiers = [
"Environment :: Console",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14"
]
include = [
"LICENSE",
]
requires-python = ">=3.10"
dependencies = [
"typing-extensions>=4.4.0",
"rich>=10.11.0,<15.0",
]
[project.optional-dependencies]
tui = [
"textual>=0.40.0",
]
tui-reload = [
"textual>=0.40.0",
"watchfiles>=1.0.0",
]
[dependency-groups]
tui = [
"textual>=0.40.0",
]
tui-reload = [
{ include-group = "tui" },
"watchfiles>=1.0.0",
]
dev = [
{ include-group = "tui-reload" },
"textual-dev>=1.0.0",
"pyright>=1.1.407",
"pytest>=8.4.1",
"pytest-asyncio>=0.24.0",
"pytest-cov>=6.2.1",
"pytest-textual-snapshot>=1.0.0",
"ruff>=0.14.4",
"prek>=0.3.0",
]
docs = [
"mkdocs-material>=9.5.0",
]
bump = [
"commitizen>=4.9.1",
]
examples = [
{ include-group = "tui" },
"aiohttp>=3.13.3",
"httpx[http2]>=0.28.1",
"niquests>=3.16.1",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.pytest.ini_options]
addopts = "--cov=piou -s -q -x --no-cov-on-fail"
asyncio_mode = "auto"
testpaths = [
"tests"
]
python_files = "*.py"
[tool.pyright]
include = ["piou", "examples", "tests"]
exclude = []
pythonVersion = "3.13"
pythonPlatform = "Linux"
[tool.ruff]
line-length = 120
target-version = "py312"
[tool.ruff.lint.per-file-ignores]
"__init__.py" = [
# imported but unused
"F401",
# unable to detect undefined names
"F403",
#
"F405"
]
"conftest.py" = [
# unable to detect undefined names
"F403",
#
"F405"
]
[tool.commitizen]
name = "cz_conventional_commits"
version = "0.34.0"
tag_format = "$version"
version_files = [
"pyproject.toml:version"
]
bump_message = "release $current_version → $new_version [skip ci]"
update_changelog_on_bump = true
changelog_file = "CHANGELOG.md"