-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
64 lines (52 loc) · 1.15 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
[tool.poetry]
name = "cybsi-cloud-sdk"
version = "1.1.4"
description = "Cybsi Cloud development kit"
authors = ["Cybsi Cloud developers"]
license = "Apache License 2.0"
readme = "README.md"
packages = [
{ include = "cybsi/cloud" },
]
include = ["cybsi/cloud/py.typed"]
[tool.poetry.dependencies]
python = ">=3.8.1,<4"
enum-tools = "0.11.0"
httpx = "^0.25.1"
typing-extensions = "^4.8.0"
[tool.poetry.group.dev.dependencies]
black = "23.10.1"
flake8 = "6.1.0"
isort = "5.12.0"
mypy = "1.6.1"
pytest = "^7.4.3"
tbump = "6.11.0"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.isort]
profile = "black"
extend_skip = ["__init__.py"]
[tool.tbump]
[tool.tbump.version]
current = "1.1.3"
regex = '''
^
(?P<major>\d+)
\.
(?P<minor>\d+)
\.
(?P<patch>\d+)
(?P<extra>[ab]\d+)?
$
'''
[tool.tbump.git]
message_template = "Bump to {new_version}"
tag_template = "v{new_version}"
[[tool.tbump.file]]
src = "pyproject.toml"
[[tool.tbump.file]]
src = "cybsi/cloud/__version__.py"
[[tool.tbump.before_commit]]
name = "Update changelog and check if it contains new version"
cmd = "./update-changelog.sh {new_version}"