This repository has been archived by the owner on Feb 15, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
101 lines (82 loc) · 2.44 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
[project]
name = "griffon"
license = {file = "LICENSE"}
authors = [
{name="James Fuller (Red Hat Product Security)"},
{name="Jakub Frejlach (Red Hat Product Security)"},
]
maintainers = [
{name="James Fuller (Red Hat Product Security)"},
{name="Jakub Frejlach (Red Hat Product Security)"},
]
description = "Red Hat Product Security CLI"
requires-python = ">=3.9"
dependencies = [
"click",
"click-completion",
"packageurl-python",
"rich",
"component-registry-bindings>=1.4.0",
"osidb-bindings>=3.5.1",
]
classifiers = [
"Topic :: Security",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
]
dynamic = ["version", "readme"]
[project.scripts]
griffon = "griffon.cli:cli"
[project.urls]
Homepage = "https://github.com/RedHatProductSecurity/griffon"
Documentation = "https://github.com/RedHatProductSecurity/griffon/tree/main/docs"
Changelog = "https://github.com/RedHatProductSecurity/griffon/blob/main/CHANGELOG.md"
Issues = "https://github.com/RedHatProductSecurity/griffon/issues"
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[tool.setuptools.dynamic]
version = {attr = "griffon.__version__"}
readme = {file = ["README.md"], content-type = "text/markdown"}
[tool.setuptools.package-data]
griffon = ["griffon/static/*"]
[tool.setuptools.packages]
find = {namespaces = false}
[tool.pytest.ini_options]
testpaths = "tests"
# Options used for every pytest command:
# - Run tests marked with the "unit" marker (run "integration" tests with `-m integration`)
# - Generate coverage report for the "corgi/" directory in the terminal
# - Show extra test summary info ("a" == (a)ll)
# - Report on the ten slowest tests
# - Skip applying migrations to save on DB-setup time
# - Ensure pytest config here is valid, and all defined markers are specified below in `markers`
addopts = """
-m unit
--cov griffon --cov-report html --cov-report xml:coverage.xml
-ra
--durations=10
--strict-config --strict-markers
"""
markers = [
"unit",
"integration",
]
filterwarnings = [
"error",
"ignore::UserWarning",
"ignore::DeprecationWarning",
"ignore::PendingDeprecationWarning",
]
[tool.black]
line-length = 100
[tool.isort]
profile = "black"
[tool.mypy]
python_version = "3.9"
warn_unused_configs = true
warn_unreachable = true
warn_no_return = true
warn_unused_ignores = true
ignore_missing_imports = true