-
Notifications
You must be signed in to change notification settings - Fork 7
/
pyproject.toml
61 lines (48 loc) · 1.18 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
# SPDX-FileCopyrightText: 2023 TNG Technology Consulting GmbH <https://www.tngtech.com>
#
# SPDX-License-Identifier: Apache-2.0
[tool.poetry]
name = "opossum.lib.py"
version = "0.1"
description = "A library for handling Opossum files with Python"
authors = [
"Meret Behrens <meret.behrens@tngtech.com>",
"Jakob Schubert <jakob.schubert@tngtech.com>",
]
license = "Apache-2.0"
readme = "README.md"
repository = "https://github.com/opossum-tool/opossum.lib.py"
packages = [
{ include = "opossum_lib", from="src" }
]
[tool.poetry.scripts]
spdx2opossum = 'opossum_lib.cli:spdx2opossum'
[tool.poetry.dependencies]
python = "^3.8.1"
spdx-tools = "^0.8.2"
networkx = "^3.0"
click = "^8.1.7"
pre-commit = "^3.5.0"
[tool.poetry.group.test.dependencies]
pytest = "^8.3.2"
[tool.poetry.group.dev.dependencies]
black = "^24.8.0"
isort = "^5.13.2"
flake8 = "^7.1.1"
mypy = "^1.11.1"
[virtualenvs]
in-project = true
[tool.isort]
profile = "black"
[tool.mypy]
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
[[tool.mypy.overrides]]
module = [
'networkx.*',
'license_expression.*'
]
ignore_missing_imports = true
[tool.pytest.ini_options]
testpaths = ["tests"]