Skip to content

Commit

Permalink
Update pyproject.toml
Browse files Browse the repository at this point in the history
exclude docs from mypy tests

Co-authored-by: Justus Magin <[email protected]>
  • Loading branch information
flamingbear and keewis authored Apr 18, 2024
1 parent fa2bfa2 commit 88c7aac
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,10 @@ exclude_lines = ["pragma: no cover", "if TYPE_CHECKING"]

[tool.mypy]
enable_error_code = "redundant-self"
exclude = 'xarray/util/generate_.*\.py'
exclude = [
'xarray/util/generate_.*\.py',
'xarray/datatree_/doc/.*\.py',
]
files = "xarray"
show_error_codes = true
show_error_context = true
Expand Down

0 comments on commit 88c7aac

Please sign in to comment.