Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pre-commit.ci] pre-commit autoupdate #119

Merged
merged 2 commits into from
Sep 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ci:

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v4.6.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
Expand All @@ -14,7 +14,7 @@ repos:
- id: double-quote-string-fixer
- id: check-merge-conflict
- repo: https://github.com/asottile/reorder-python-imports
rev: v3.12.0
rev: v3.13.0
hooks:
- id: reorder-python-imports
args: [--py3-plus]
Expand All @@ -23,18 +23,18 @@ repos:
hooks:
- id: setup-cfg-fmt
- repo: https://github.com/psf/black
rev: 23.11.0
rev: 24.8.0
hooks:
- id: black-jupyter
args: [--skip-string-normalization]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.7.1
rev: v1.11.2
hooks:
- id: mypy
additional_dependencies: [numpy>=1.22.2]
# jupyter hooks
- repo: https://github.com/nbQA-dev/nbQA
rev: 1.7.1
rev: 1.8.7
hooks:
- id: nbqa
name: mypy-juypter
Expand Down
6 changes: 3 additions & 3 deletions w2w/w2w.py
Original file line number Diff line number Diff line change
Expand Up @@ -1333,9 +1333,9 @@ def create_lcz_params_file(
'information in WRF [Computer software]. \n'
'https://github.com/matthiasdemuzere/w2w'
)
dst_final.attrs[
'DESCRIPTION'
] = f'W2W.py tool used to create geo_em*.nc file:\n {gh_ref}'
dst_final.attrs['DESCRIPTION'] = (
f'W2W.py tool used to create geo_em*.nc file:\n {gh_ref}'
)

# Save back to file
if os.path.exists(info.dst_lcz_params_file):
Expand Down
Loading