We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2238d04 commit a32a6daCopy full SHA for a32a6da
2 files changed
{{cookiecutter.project_name}}/.pre-commit-config.yaml
@@ -27,7 +27,7 @@ repos:
27
hooks:
28
- id: mypy
29
name: mypy
30
- entry: uv run mypy src tests
+ entry: uv run --group test mypy src tests
31
language: system
32
types: [python]
33
files: ^(src|tests)/
{{cookiecutter.project_name}}/src/{{cookiecutter.package_name}}/pp/basic.py
@@ -71,7 +71,7 @@ def elaborate_example(
71
msg = f"Item {item} matrix is not a NumPy array but of type {matrix.__class__}."
72
raise ValueError(msg)
73
74
- result.append(transform(matrix.flatten()))
+ result.append(transform(matrix.flatten())) # type: ignore[attr-defined]
75
76
if len(result) >= max_items:
77
break
0 commit comments