-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpyproject.toml
85 lines (72 loc) · 1.67 KB
/
pyproject.toml
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
[tool.poetry]
name = "piou"
version = "0.14.2"
description = "A CLI toolkit"
authors = ["Julien Brayere <julien.brayere@gmail.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.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12"
]
include = [
"LICENSE",
]
[tool.poetry.dependencies]
python = ">=3.9,<4.0"
rich = ">=10.11.0,<14.0"
typing-extensions = "^4.4.0"
[tool.poetry.group.dev.dependencies]
pyright = "^1.1.331"
commitizen = "^3.12.0"
pytest = "^7.4.2"
pytest-cov = "^4.1.0"
ruff = "^0.1.5"
[tool.commitizen]
name = "cz_conventional_commits"
version = "0.14.2"
tag_format = "$version"
version_files = [
"pyproject.toml:version"
]
bump_message = "release $current_version → $new_version [skip ci]"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
addopts = "--cov=piou -s -q -x --no-cov-on-fail"
testpaths = [
"tests"
]
python_files = "*.py"
[tool.pyright]
include = ["piou"]
exclude = []
pythonVersion = "3.9"
pythonPlatform = "Linux"
[tool.ruff]
line-length = 120
target-version = "py310"
[tool.ruff.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"
]