Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#153)
Browse files Browse the repository at this point in the history
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/astral-sh/ruff-pre-commit: v0.1.11 → v0.1.14](astral-sh/ruff-pre-commit@v0.1.11...v0.1.14)
- [github.com/psf/black: 23.12.1 → 24.1.1](psf/black@23.12.1...24.1.1)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] authored Jan 31, 2024
1 parent cce9698 commit 456890b
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ repos:

- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: 'v0.1.11'
rev: 'v0.1.14'
hooks:
- id: ruff
args: ["--fix"]

- repo: https://github.com/psf/black
rev: 23.12.1
rev: 24.1.1
hooks:
- id: black

Expand Down
2 changes: 1 addition & 1 deletion notebooks/remo-cmor-dev-json.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
" CORDEX_domain=\"EUR-11\",\n",
" time_units=None,\n",
" allow_units_convert=True,\n",
" allow_derive=True\n",
" allow_derive=True,\n",
" # inpath = cx.tables.cmor_tables_inpath,\n",
" # inpath=\"/Users/lars/.cordex-cmor-tables\",\n",
" # inpath=\"/Users/lars/python/euro-cordex/tables/cordex-cmor-tables/CORDEX-CMIP5\"\n",
Expand Down
1 change: 1 addition & 0 deletions pyremo/cli.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Console script for pyremo."""

import argparse
import os
from os import path as op
Expand Down
1 change: 0 additions & 1 deletion pyremo/cmor/derived.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
"""Compute derived variables for cmorization.
"""


import inspect
from warnings import warn

Expand Down
1 change: 1 addition & 0 deletions pyremo/core/exp.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
"""Module for working and parsing Remo output files.
"""

import os
from pathlib import Path

Expand Down
1 change: 1 addition & 0 deletions pyremo/tutorial.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
* building tutorials in the documentation.
* stolen from xarray!
"""

# code stolen from xarray, I am sorry!
import os
import pathlib
Expand Down

0 comments on commit 456890b

Please sign in to comment.