Skip to content

Commit 5484261

Browse files
committed
update cicd scripts
1 parent ef7b0a8 commit 5484261

1 file changed

Lines changed: 38 additions & 0 deletions

File tree

pyproject.toml

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

0 commit comments

Comments
 (0)