Skip to content

Commit

Permalink
Allow mypy to run in vscode (pydata#9239)
Browse files Browse the repository at this point in the history
Seems to require adding an exclude for `build` and an `__init__.py` file in the `properties` directory...
  • Loading branch information
max-sixty authored Jul 13, 2024
1 parent 5edd249 commit 0eac740
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 0 deletions.
Empty file added properties/__init__.py
Empty file.
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ exclude_lines = ["pragma: no cover", "if TYPE_CHECKING"]
[tool.mypy]
enable_error_code = "redundant-self"
exclude = [
'build',
'xarray/util/generate_.*\.py',
'xarray/datatree_/doc/.*\.py',
]
Expand Down

0 comments on commit 0eac740

Please sign in to comment.