-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
66 lines (56 loc) · 1.51 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
# SPDX-FileCopyrightText: 2025 DB Systel GmbH
#
# SPDX-License-Identifier: Apache-2.0
[tool.poetry]
name = "purl-tools"
version = "0.1.1"
description = "A small library that supports with various tasks around Package URLs"
repository = "https://github.com/OpenRailAssociation/purl-tools"
authors = ["Max Mehl <[email protected]>"]
license = "Apache-2.0"
readme = "README.md"
keywords = ["compliance", "clearlydefined", "purl"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"License :: OSI Approved :: Apache Software License",
"Topic :: Software Development",
]
packages = [{ include = "purltools" }]
[tool.poetry.dependencies]
python = "^3.10"
packageurl-python = "^0.16.0"
requests = "^2.31.0"
[tool.poetry.group.dev.dependencies]
pylint = "^3.3.4"
mypy = "^1.14.1"
isort = "^6.0.0"
pytest = "^8.3.4"
types-requests = "^2.32.0.20241016"
bump-my-version = "^0.32.0"
black = "^25.1.0"
[tool.poetry.scripts]
purl-tools = "purltools.main:_cli"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
# FORMATTING settings
[tool.isort]
profile = "black"
[tool.black]
line-length = 100
# MYPY settings
[tool.mypy]
files = ["purltools/*.py", "tests/*.py"]
disable_error_code = ["import-untyped"]
# Bump-My-Version
[tool.bumpversion]
commit = true
tag = true
allow_dirty = false
tag_name = "v{new_version}"
[[tool.bumpversion.files]]
filename = "pyproject.toml"
regex = true
search = "^version = \"{current_version}\""
replace = "version = \"{new_version}\""