Skip to content

Commit

Permalink
pyproject: remove some mypy ignores
Browse files Browse the repository at this point in the history
  • Loading branch information
alexfikl committed Jun 20, 2024
1 parent 7d4834e commit 58f8ed0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -100,14 +100,10 @@ exclude = ["pyopencl/compyte"]

[[tool.mypy.overrides]]
module = [
"IPython.*",
"OpenGL.*",
"mako.*",
"matplotlib.*",
"pyfmmlib.*",
"pyopencl._cl.*",
"pyopencl.compyte.*",
"pytest.*",
"scipy.*",
]
ignore_missing_imports = true
Expand Down
2 changes: 1 addition & 1 deletion test/test_array.py
Original file line number Diff line number Diff line change
Expand Up @@ -1971,7 +1971,7 @@ def test_ravel(ctx_factory, order):

# {{{ test_arithmetic_on_non_scalars

def test_arithmetic_on_non_scalars(ctx_factory):
def test_arithmetic_on_non_scalars(ctx_factory) -> None:
pytest.importorskip("dataclasses")

from dataclasses import dataclass
Expand Down

0 comments on commit 58f8ed0

Please sign in to comment.