Skip to content

Commit 1d38d93

Browse files
committed
update cicd scripts
1 parent 9ca66ae commit 1d38d93

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

0 commit comments

Comments
 (0)