-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
59 lines (50 loc) · 1.1 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
[tool.poetry]
name = "cd-dynamic-versioning"
version = "0.0.0"
description = "Testpackage for dynamic versioning"
authors = ["Yngve Moe <yngve.m.moe@gmail.com>"]
license = "MIT"
readme = "README.md"
packages = [{include = "cd_dynamic_versioning"}]
[tool.poetry.dependencies]
python = ">= 3.8.1,<4.0"
[tool.poetry.group.docs]
optional = true
[tool.poetry.group.docs.dependencies]
sphinx = "^5.2.3"
[tool.poetry.dev-dependencies]
pytest = "^7.2.0"
black = "^22.12.0"
isort = "^5.11.4"
flake8 = "^6.0.0"
flake8-bugbear = "^22.12.6"
flake8-mutable = "^1.2.0"
[tool.poetry-dynamic-versioning]
enable = true
strict = true
vcs = "git"
style = "semver"
pattern = "^(?P<base>\\d+\\.\\d+\\.\\d+)(-?((?P<stage>[a-zA-Z]+)\\.?(?P<revision>\\d+)?))?$"
[tool.isort]
profile = "black"
line_length = 100
known_first_party = []
[tool.black]
line-length = 100
include = '\.pyi?$'
exclude = '''
/(
\.git
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
| profiling
)/
'''
[build-system]
requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning"]
build-backend = "poetry_dynamic_versioning.backend"