-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
78 lines (67 loc) · 1.73 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
# SPDX-FileCopyrightText: 2024 DB Systel GmbH
#
# SPDX-License-Identifier: Apache-2.0
[tool.poetry]
name = "compliance-assistant"
version = "1.0.0"
description = "Toolset that helps with creating and interacting with SBOMs, enriching with licensing and copyright information, and checking for Open Source license compliance"
repository = "https://github.com/OpenRailAssociation/compliance-assistant"
authors = ["Max Mehl <[email protected]>"]
readme = "README.md"
keywords = [
"sbom",
"compliance",
"clearlydefined",
"cyclonedx",
"spdx",
"license",
"copyright",
"flict",
"compatibility",
]
license = "Apache-2.0"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"License :: OSI Approved :: Apache Software License",
"Topic :: Software Development",
]
packages = [{ include = "complassist" }]
[tool.poetry.scripts]
compliance-assistant = 'complassist.main:main'
[tool.poetry.dependencies]
python = "^3.10"
packageurl-python = "^0.15.1"
requests = "^2.32.3"
flict = "^1.2.14"
docker = "^7.1.0"
license-expression = "^30.3.0"
[tool.poetry.group.dev.dependencies]
mypy = "^1.10.0"
pylint = "^3.2.3"
black = "^24.4.2"
isort = "^5.13.2"
bump-my-version = "^0.26.1"
[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 = ["complassist/*.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}\""