forked from sw360/sw360python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
75 lines (67 loc) · 2.06 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
# SPDX-FileCopyrightText: (c) 2018-2023 Siemens
# SPDX-License-Identifier: MIT
[tool.poetry]
name = "sw360"
version = "1.5.0"
description = "Python interface to the SW360 software component catalogue"
authors = ["Thomas Graf <[email protected]>",
"Gernot Hillier <[email protected]>"]
license = "MIT License"
readme="Readme.md"
include = ["LICENSE.md"]
repository = "https://github.com/sw360/sw360python"
homepage = "https://github.com/sw360/sw360python"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3 :: Only",
]
[tool.poetry.dependencies]
python = "^3.8" # because 3.8 is the minimum requirement for isort, mypy
requests = "^2.32.2" # fix CVE-2024-35195
[tool.poetry.group.dev.dependencies]
colorama = "^0.4.6"
sphinx = "^2.4.1"
vcrpy = "4.0.2"
yarl = "1.8.2" # force this version because 1.7.2 will not install
flake8 = ">=3.7.8"
responses = "^0.17"
pytest = "^7.2.2"
coverage = "5.3"
types-requests = "^2.27.11"
types-urllib3 = "^1.26.25.14"
isort = "^5.13.2"
mypy = "^1.8.0"
types-colorama = "^0.4.15.12"
codespell = "^2.2.6"
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"
[tool.mypy]
mypy_path = "stubs"
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 = "test_all_components.json,test_all_releases.json,./htmlcov/*,./__internal__/Links/syft/syft-sbom.json"