Skip to content

Commit 0269cdf

Browse files
committed
update cicd scripts
1 parent 30e53d6 commit 0269cdf

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

pyproject.toml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,3 +89,41 @@ addopts = "-vvl --doctest-modules"
8989
doctest_optionflags = "NORMALIZE_WHITESPACE ELLIPSIS ALLOW_UNICODE ALLOW_BYTES IGNORE_EXCEPTION_DETAIL"
9090
log_cli = true
9191
log_cli_level = "CRITICAL"
92+
93+
[tool.pip-audit]
94+
# Known vulnerabilities to ignore (unfixable or accepted risk)
95+
# GHSA-4xh5-x5gv-qwph: py library ReDoS (no fix available, low risk)
96+
# PYSEC-2022-42969: same as above (alias)
97+
ignore-vulns = ["GHSA-4xh5-x5gv-qwph", "PYSEC-2022-42969"]
98+
[tool.clean]
99+
# Patterns to remove when running `make clean` or `python -m scripts clean`
100+
patterns = [
101+
".hypothesis",
102+
".import_linter_cache",
103+
".pytest_cache",
104+
".ruff_cache",
105+
".pyright",
106+
".mypy_cache",
107+
".tox",
108+
".nox",
109+
".eggs",
110+
"*.egg-info",
111+
"build",
112+
"dist",
113+
"htmlcov",
114+
".coverage",
115+
"coverage.xml",
116+
"codecov.sh",
117+
".cache",
118+
"result",
119+
]
120+
121+
[tool.git]
122+
# Default git remote for push/release commands
123+
default-remote = "origin"
124+
125+
[tool.scripts.test]
126+
# Configuration for scripts/test.py test runner
127+
pytest-verbosity = "-vv"
128+
coverage-report-file = "coverage.xml"
129+
src-path = "src"

0 commit comments

Comments
 (0)