Skip to content

Commit d2e48f0

Browse files
committed
update cicd scripts
1 parent aab2636 commit d2e48f0

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

0 commit comments

Comments
 (0)