-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
60 lines (50 loc) · 1.38 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
# SPDX-FileCopyrightText: 2023 DB Systel GmbH
#
# SPDX-License-Identifier: Apache-2.0
[tool.poetry]
name = "oss-red-flag-checker"
version = "0.1.6"
description = "Check remote repositories for typical red flags like CLAs and risks due to low development activity"
authors = ["Open Source at Deutsche Bahn <opensource@deutschebahn.com>"]
maintainers = ["Max Mehl <max.mehl@deutschebahn.com>"]
license = "Apache-2.0"
readme = "README.md"
repository = "https://github.com/dbsystel/oss-red-flag-checker/"
keywords = ["ospo", "open-source-management", "supply-chain", "risk-analysis"]
classifiers = [
"Intended Audience :: Information Technology",
"Topic :: Software Development",
]
packages = [{ include = "ossrfc" }]
[tool.poetry.dependencies]
python = "^3.8"
pygithub = "^1.59.1"
gitpython = "^3.1.32"
platformdirs = "^3.10.0"
tqdm = "^4.66.1"
termcolor = "^2.3.0"
[tool.poetry.group.dev.dependencies]
isort = "^5.12.0"
pylint = "^2.17.5"
black = ">=23.7,<25.0"
pylama = "^8.4.1"
mypy = "^1.5.1"
types-tqdm = "^4.66.0.2"
pytest = "^7.4.2"
pytest-cov = "^4.1.0"
[tool.poetry.scripts]
ossrfc = 'ossrfc.checker:main'
[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 = ["ossrfc/*.py"]
# PYTEST settings
[tool.pytest.ini_options]
addopts = "--cov=ossrfc"