-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathpyproject.toml
More file actions
125 lines (111 loc) · 3.74 KB
/
pyproject.toml
File metadata and controls
125 lines (111 loc) · 3.74 KB
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
# SPDX-FileCopyrightText: (c) 2018-2025 Siemens
# SPDX-License-Identifier: MIT
[project]
name = "capycli"
version = "2.10.1"
description = "CaPyCli - Clearing Automation Python Command Line Interface for SW360"
readme="Readme.md"
requires-python = ">=3.11,<3.15"
license = "MIT"
authors = [
{name = "Thomas Graf", email="[email protected]"},
{name = "Gernot Hillier", email="[email protected]"}
]
keywords = ["sw360", "cli, automation", "license", "compliance", "clearing"]
license-files = [
"License.md"
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3 :: Only",
]
dependencies = [
"colorama (>=0.4.3,<0.5.0)",
"requests (>=2.31.0,<3.0.0)",
"semver (==3.0.2)",
"packageurl-python (>=0.15.6,<0.16.0)",
"pyjwt (>=2.4.0,<3.0.0)",
"openpyxl (>=3.0.3,<4.0.0)",
"requirements-parser (==0.11.0)",
"sw360 (>=1.8.1,<2.0.0)",
"wheel (>=0.38.4,<0.39.0)",
"cli-support (==2.0.1)",
"chardet (==5.2.0)",
"cyclonedx-python-lib (>=11.4.0,<12.0.0)",
"dateparser (>=1.1.8,<2.0.0)",
"urllib3 (>=2.5.0,<3.0.0)",
"importlib-resources (>=5.12.0,<6.0.0)",
"beautifulsoup4 (>=4.11.1,<5.0.0)",
"jsonschema (>=4.23.0,<5.0.0)",
"validation (>=0.8.3,<0.9.0)",
"halo (>=0.0.31,<0.0.32)"]
[project.urls]
repository = "https://github.com/sw360/capycli"
homepage = "https://github.com/sw360/capycli"
issues = "https://github.com/sw360/capycli/issues"
[project.scripts]
capycli = "capycli.main.cli:main"
[tool.poetry]
include = [
"License.md",
{ path = "capycli/data/granularity_list.csv", format = "wheel" },
{ path = "capycli/data/__init__.py", format = "wheel" },
{ path = "capycli/data/granularity_list.csv", format = "sdist" },
{ path = "capycli/data/__init__.py", format = "sdist" },
]
[tool.poetry.group.dev.dependencies]
coverage = "^5.4"
responses = "0.24.1"
pytest = "7.4.3"
cli-test-helpers = "^3.1.0"
isort = "^5.12.0"
mypy = "^1.8.0"
types-colorama = "^0.4.15.12"
types-urllib3 = "^1.26.25.14"
types-openpyxl = "^3.1.0.32"
types-python-dateutil = "^2.8.19.14"
types-requests = "2.31.0.6" # this is the last version that uses urllib3 < 2
types-beautifulsoup4 = "^4.12.0.20240106"
codespell = "^2.2.6"
pyinstaller = "^6.17.0"
flake8 = "^7.3.0"
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"
[tool.pytest.ini_options]
filterwarnings = [
# note the use of single quote below to denote "raw" strings in TOML
"ignore:pkg_resources is deprecated as an API:DeprecationWarning",
"ignore:Both `id` and `name` have been supplied - `name` will be ignored!",
# cyclonedx-python-lib - UserWarning: The Component this BOM is describing None...
"ignore::UserWarning",
# cyclonedx-python-lib - DeprecationWarning: `@.tools` is deprecated from CycloneDX v1.5 onwards
"ignore::DeprecationWarning"
]
[tool.mypy]
exclude = [
"/tests",
]
show_error_codes = true
pretty = true
warn_unreachable = true
allow_redefinition = true
### Strict mode ###
warn_unused_configs = true
disallow_subclassing_any = true
disallow_any_generics = true
disallow_untyped_calls = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true
disallow_untyped_decorators = true
no_implicit_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
no_implicit_reexport = true
[tool.codespell]
skip = "./htmlcov/*,./_internal_tests_/*,./__internal__/*,./tests/fixtures/*,*.svg,./capycli/data/granularity_list.csv,./ComponentCache.*,./build/*,./dist/*"
ignore-words-list = "manuel, assertIn,datas"