Skip to content

Commit

Permalink
Enable mypy in pre-commit
Browse files Browse the repository at this point in the history
Initial attempt to add mypy to pre-commit actions.

Signed-off-by: Michael Tiemann <[email protected]>
  • Loading branch information
MichaelTiemannOSC committed Jan 13, 2024
1 parent 5f4c39d commit f222096
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,16 @@ repos:
hooks:
- id: nbstripout
args: [--extra-keys=metadata.kernelspec metadata.language_info.version]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: "v1.8.0"
hooks:
- id: mypy
verbose: true
args: ["--ignore-missing-imports", "--show-error-codes"]
additional_dependencies: [
"types-requests",
"pandas-stubs",
"pint",
"matplotlib-stubs",
"itr",
]

0 comments on commit f222096

Please sign in to comment.