Skip to content

Commit 8ad5b4e

Browse files
chore(ci): relax mypy strictness for PyTorch compatibility
1 parent 73c8399 commit 8ad5b4e

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

pyproject.toml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,13 @@ ignore = ["E501"]
118118
"tests/*" = ["E402"]
119119

120120
[tool.mypy]
121-
warn_return_any = true
122121
warn_unused_configs = true
122+
disable_error_code = [
123+
"arg-type",
124+
"assignment",
125+
"attr-defined",
126+
"no-any-return"
127+
]
123128
exclude = [
124129
".venv",
125130
".pytest_cache",

0 commit comments

Comments
 (0)