Skip to content

Commit

Permalink
Linting fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
fmalatino committed Apr 24, 2024
1 parent b973a83 commit fdd2d17
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,10 @@ repos:
args: ["--profile", "black"]

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.812
rev: v1.4.1
hooks:
- id: mypy
additional_dependencies: [types-pyyaml==6.0.12.20240311]
name: mypy-pace
files: pace
args: [--config-file, setup.cfg]
Expand Down
2 changes: 1 addition & 1 deletion NDSL
6 changes: 6 additions & 0 deletions constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -461,6 +461,8 @@ traitlets==5.14.3
# matplotlib-inline
# nbclient
# nbformat
types-pyyaml==6.0.12.20240311
# via pace
typing-extensions==4.5.0
# via
# gt4py
Expand Down Expand Up @@ -489,6 +491,10 @@ xxhash==3.0.0
# via gt4py
yarl==1.9.4
# via aiohttp
zarr==2.17.2
# via
# -r requirements_dev.txt
# pace
zipp==3.18.1
# via importlib-metadata

Expand Down
2 changes: 1 addition & 1 deletion pyFV3
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ ignore_missing_imports = True
follow_imports = normal
namespace_packages = True
strict_optional = False
mypy_path = model:NDSL:pySHiELD:pyFV3
mypy_path = NDSL:pySHiELD:pyFV3
warn_unreachable = True
explicit_package_bases = True
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ def local_pkg(name: str, relative_path: str) -> str:
"mpi4py",
"netCDF4",
"zarr",
"types-pyyaml",
]


Expand Down

0 comments on commit fdd2d17

Please sign in to comment.