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 #153

Merged
merged 2 commits into from
Jan 31, 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
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
Loading