Skip to content

Commit

Permalink
Add a mypy config file
Browse files Browse the repository at this point in the history
  • Loading branch information
dstansby committed Dec 8, 2023
1 parent 159a0db commit b45006d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ repos:
rev: v1.7.1
hooks:
- id: mypy
args: [--config-file=mypy.ini]

- repo: https://github.com/adrienverge/yamllint.git
rev: v1.33.0
Expand Down
6 changes: 6 additions & 0 deletions mypy.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[mypy]
disallow_untyped_defs = False
ignore_missing_imports = True

[mypy-ome_zarr]
disallow_untyped_defs = True

0 comments on commit b45006d

Please sign in to comment.