Skip to content

Commit

Permalink
update black to v22.3.0 (#161)
Browse files Browse the repository at this point in the history
to resolve an issue which arose with changes to the `click` package
dependency of `black`
  • Loading branch information
leifdenby authored Apr 7, 2022
1 parent 4022428 commit 9ab953b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ repos:
- id: isort
# https://github.com/python/black#version-control-integration
- repo: https://github.com/psf/black
rev: 21.11b1
rev: 22.3.0
hooks:
- id: black
- repo: https://github.com/keewis/blackdoc
Expand Down
2 changes: 1 addition & 1 deletion lagtraj/utils/interpolation/levels.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def _make_exponential_levels(dz_min, z_top, n_levels):
level_list = [0.0]
for level in range(1, n_levels):
level_list = level_list + [
dz_min * ((1.0 - level_rate ** level) / (1.0 - level_rate))
dz_min * ((1.0 - level_rate**level) / (1.0 - level_rate))
]
level_list[n_levels - 1] = z_top
return np.array(level_list)
Expand Down

0 comments on commit 9ab953b

Please sign in to comment.