This repository was archived by the owner on Jun 2, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
87 lines (71 loc) · 2.05 KB
/
pyproject.toml
File metadata and controls
87 lines (71 loc) · 2.05 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
[build-system]
requires = ["setuptools>=69.5.0,<80.0.0"]
build-backend = "setuptools.build_meta"
[project]
name = "defectdojo-api-generated"
authors = [{name="Filipe Pina", email="shelf-corncob-said@duck.com" }]
dynamic = ["version"]
description = "Python library to interact with DefectDojo - generated from OpenAPI"
readme = "README.md"
requires-python = ">=3.9,<4"
dependencies = [
"pydantic>= 2",
"python-dateutil>= 2.8.2",
"urllib3>= 2.1.0, < 3.0.0",
"typing-extensions>= 4.7.1",
]
[dependency-groups]
dev = [
"build",
"classyclick==1.0.0",
"jmespath>=1.0.1",
"mkdocs>=1.6.1",
"mkdocs-click>=0.9.0",
"pytest",
"pytest-cov",
"pytest-socket",
"readme-example-tester>=0.0.2",
"ruff",
"twine",
]
[project.urls]
Homepage = "https://github.com/fopina/defectdojo-api-generated"
[tool.setuptools.packages.find]
include = ["defectdojo_api_generated", "defectdojo_api_generated.*"]
[tool.setuptools.package-data]
"defectdojo_api_generated.cli" = ["config.example.toml"]
[tool.setuptools.dynamic]
version = {attr = "defectdojo_api_generated.__version__"}
[tool.ruff]
line-length = 120
indent-width = 4
target-version = "py39"
[tool.ruff.lint]
# Enable Pyflakes (`F`) and a subset of the pycodestyle (`E`) codes by default.
# Unlike Flake8, Ruff doesn't enable pycodestyle warnings (`W`) or
# McCabe complexity (`C901`) by default.
select = ["E4", "E7", "E9", "F", "I"]
ignore = []
fixable = ["ALL"]
unfixable = []
# Allow unused variables when underscore-prefixed.
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
[tool.ruff.lint.per-file-ignores]
"defectdojo_api_generated/*" = ["E402"]
"defectdojo_api_generated/api_client.py" = ["E721"]
[tool.ruff.format]
quote-style = "single"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "-ra -q --disable-socket --allow-hosts=127.0.0.1"
testpaths = [
"tests",
]
[tool.coverage.run]
source = ["defectdojo_api_generated"]
[tool.coverage.report]
show_missing = true
skip_covered = true