Skip to content

Commit

Permalink
Merge pull request #15 from fmalatino/fix/unused_vars
Browse files Browse the repository at this point in the history
Removed unused variables from microphysics methods
  • Loading branch information
fmalatino authored May 18, 2024
2 parents 69fd798 + f2070d1 commit 5a0846d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
3 changes: 2 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,12 @@ repos:
args: ["--profile", "black"]

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.812
rev: v1.4.1
hooks:
- id: mypy
name: mypy-physics
args: [--config-file, setup.cfg]
additional_dependencies: [types-PyYAML]
files: pySHiELD
exclude: |
(?x)^(
Expand Down
6 changes: 0 additions & 6 deletions pySHiELD/stencils/microphysics.py
Original file line number Diff line number Diff line change
Expand Up @@ -673,8 +673,6 @@ def sedimentation(
m1_sol: FloatField,
c_air: Float,
c_vap: Float,
d0_vap: Float,
lv00: Float,
log_10: Float,
zs: Float,
dts: Float,
Expand Down Expand Up @@ -1257,7 +1255,6 @@ def icloud(
csaci: Float,
cgacw: Float,
cgaci: Float,
cracw: Float,
cssub_0: Float,
cssub_1: Float,
cssub_2: Float,
Expand Down Expand Up @@ -2101,8 +2098,6 @@ def __call__(self, state: MicrophysicsState, timestep: float):
self._m1_sol,
self._c_air,
self._c_vap,
self._d0_vap,
self._lv00,
self._log_10,
self._zs,
self._dts,
Expand Down Expand Up @@ -2189,7 +2184,6 @@ def __call__(self, state: MicrophysicsState, timestep: float):
self._csaci,
self._cgacw,
self._cgaci,
self._cracw,
self._cssub_0,
self._cssub_1,
self._cssub_2,
Expand Down

0 comments on commit 5a0846d

Please sign in to comment.