-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
71 lines (57 loc) · 1.47 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
[tool.poetry]
name = "pyproject-version"
version = "0.1.0-dev2"
description = "Utilities for maintaining the version in python projects."
authors = ["Cory Laughlin <[email protected]>"]
readme = "README.md"
license = "MIT"
[tool.pyproject-version]
files = ["pyproject_version/__init__.py"]
[tool.poetry.scripts]
pyproject-version = "pyproject_version.cli:pyproject_version"
[tool.poetry.dependencies]
python = ">=3.11,<3.13"
semver = "^3.0.2"
click = "^8.1.7"
tomlkit = "^0.12.4"
[tool.poetry.group.dev.dependencies]
pytest = "^8.1.1"
pytest-cov = "^5.0.0"
black = "^24.4.0"
isort = "^5.13.2"
pylint = "^3.1.0"
mypy = "^1.9.0"
autoflake = "^2.3.1"
pre-commit = "^3.7.0"
pyfakefs = "^5.4.1"
pytest-antilru = "^1.1.1"
pytest-mock = "^3.14.0"
[tool.poetry.group.dev.dependencies.docformatter]
extras = ["tomli"]
version = "^1.7.5"
[[tool.poetry.packages]]
include = "pyproject_version"
from = "."
[tool.mypy]
files = ["pyproject_version"]
ignore_missing_imports = true
[tool.pytest.ini_options]
addopts = "--cov=pyproject_version --cov-branch --cov-report xml --cov-report html -vvv"
[tool.autoflake]
remove_all_unused_imports = true
recursive = true
remove_unused_variables = true
[tool.isort]
profile = "black"
[tool.docformatter]
recursive = true
blank = true
black = true
in-place = true
[tool.coverage.report]
exclude_also = ["if TYPE_CHECKING:"]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.black]
target-version = ["py311", "py312"]