diff options
| author | J08nY | 2025-11-30 15:06:14 +0100 |
|---|---|---|
| committer | J08nY | 2025-11-30 15:06:14 +0100 |
| commit | 341f276fcf8eb2f4f5f334abbe2c34c073758b92 (patch) | |
| tree | f595116a5b9ab130fb095f9ac5eed8c681238ef7 | |
| parent | d1946d8eca985eb2ae5cd6db60afc3196f6cd5ce (diff) | |
| download | pyecsca-341f276fcf8eb2f4f5f334abbe2c34c073758b92.tar.gz pyecsca-341f276fcf8eb2f4f5f334abbe2c34c073758b92.tar.zst pyecsca-341f276fcf8eb2f4f5f334abbe2c34c073758b92.zip | |
Move doctest import ignore.
| -rw-r--r-- | Makefile | 8 | ||||
| -rw-r--r-- | pyproject.toml | 2 |
2 files changed, 5 insertions, 5 deletions
@@ -3,16 +3,16 @@ PERF_SCRIPTS = test.ec.perf_mod test.ec.perf_formula test.ec.perf_mult test.sca. all: help test: - pytest -m "not slow" --cov=pyecsca --doctest-ignore-import-errors + pytest -m "not slow" --cov=pyecsca test-plots: - env PYECSCA_TEST_PLOTS=1 pytest -m "not slow" --doctest-ignore-import-errors + env PYECSCA_TEST_PLOTS=1 pytest -m "not slow" test-all: - pytest --cov=pyecsca --doctest-ignore-import-errors + pytest --cov=pyecsca test-notebooks: - pytest -m "not slow" --doctest-ignore-import-errors --nbmake --cov=pyecsca --cov-append notebook/simulation.ipynb notebook/visualization.ipynb + pytest -m "not slow" --nbmake --cov=pyecsca --cov-append notebook/simulation.ipynb notebook/visualization.ipynb typecheck: mypy --namespace-packages -p pyecsca --ignore-missing-imports --show-error-codes --check-untyped-defs diff --git a/pyproject.toml b/pyproject.toml index da0a9f1..625af65 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -94,7 +94,7 @@ markers = [ "slow: marks tests as slow (deselect with '-m \"not slow\"')", ] - addopts = ["--doctest-modules"] + addopts = ["--doctest-modules", "--doctest-ignore-import-errors"] filterwarnings = [ "ignore:(?s).*pkg_resources is deprecated as an API:UserWarning:chipwhisperer.capture.trace.TraceWhisperer", # ChipWhisperer "ignore:Deprecated call to `pkg_resources.declare_namespace", # sphinxcontrib |
