Skip to content

Commit 949eddf

Browse files
committed
chore: moved mypy ignores to pyproject.toml
1 parent b87171c commit 949eddf

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

dreadnode/data_types/image.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# mypy: disable-error-code="unused-ignore"
2-
31
import base64
42
import io
53
import typing as t

dreadnode/data_types/table.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# mypy: disable-error-code="unused-ignore"
2-
31
import io
42
import typing as t
53
from pathlib import Path

pyproject.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,11 @@ python_version = "3.10"
109109
exclude = "tests"
110110

111111
[[tool.mypy.overrides]]
112-
module = ["dreadnode.scorers.*", "dreadnode.transforms.*"]
112+
module = [
113+
"dreadnode.data_types.*",
114+
"dreadnode.scorers.*",
115+
"dreadnode.transforms.*",
116+
]
113117
disable_error_code = ["unused-ignore", "import-untyped"]
114118

115119
[tool.ty.environment]

0 commit comments

Comments
 (0)