aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJ08nY2023-10-06 19:23:14 +0200
committerJ08nY2023-10-06 19:23:14 +0200
commit3f89136bfdd0bbfa5efe0c7e75d2fb587bc79e32 (patch)
tree48c6a57def3ee32238d8620c5678666ecc20773e
parenta99df5e420dc2fb37c1d3f279200805fb8315866 (diff)
downloadpyecsca-3f89136bfdd0bbfa5efe0c7e75d2fb587bc79e32.tar.gz
pyecsca-3f89136bfdd0bbfa5efe0c7e75d2fb587bc79e32.tar.zst
pyecsca-3f89136bfdd0bbfa5efe0c7e75d2fb587bc79e32.zip
-rw-r--r--.pre-commit-config.yaml1
-rw-r--r--test/utils.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 1969532..de79e4a 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -16,6 +16,7 @@ repos:
- id: mypy
additional_dependencies:
- "types-setuptools"
+ - "numpy"
args: [--ignore-missing-imports, --show-error-codes, --namespace-packages, --explicit-package-bases, --check-untyped-defs]
- repo: https://github.com/PyCQA/flake8
rev: 6.0.0
diff --git a/test/utils.py b/test/utils.py
index e125813..d4893eb 100644
--- a/test/utils.py
+++ b/test/utils.py
@@ -62,7 +62,7 @@ class Profiler:
if self._state != "out":
raise ValueError
if self._prof_type == "py":
- print(self._prof.output_text(unicode=True, color=True, show_all=True))
+ print(self._prof.output_text(unicode=True, color=True))
else:
self._prof.print_stats("cumtime")