Skip to content

Commit 0eac740

Browse files
authored
Allow mypy to run in vscode (pydata#9239)
Seems to require adding an exclude for `build` and an `__init__.py` file in the `properties` directory...
1 parent 5edd249 commit 0eac740

File tree

2 files changed

+1
-0
lines changed

2 files changed

+1
-0
lines changed

properties/__init__.py

Whitespace-only changes.

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ exclude_lines = ["pragma: no cover", "if TYPE_CHECKING"]
8787
[tool.mypy]
8888
enable_error_code = "redundant-self"
8989
exclude = [
90+
'build',
9091
'xarray/util/generate_.*\.py',
9192
'xarray/datatree_/doc/.*\.py',
9293
]

0 commit comments

Comments
 (0)