diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e7601e9..ca4a131 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -10,13 +10,13 @@ repos: - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: 'v0.9.3' + rev: 'v0.9.4' hooks: - id: ruff args: ["--fix"] - repo: https://github.com/psf/black - rev: 24.10.0 + rev: 25.1.0 hooks: - id: black diff --git a/pyremo/cal.py b/pyremo/cal.py index fae0a90..04bee4f 100644 --- a/pyremo/cal.py +++ b/pyremo/cal.py @@ -1,5 +1,4 @@ -"""this module handles absolute calendars that occur in REMO datasets. -""" +"""this module handles absolute calendars that occur in REMO datasets.""" import datetime as dt import math diff --git a/pyremo/core/exp.py b/pyremo/core/exp.py index 87f63b0..93690c7 100644 --- a/pyremo/core/exp.py +++ b/pyremo/core/exp.py @@ -1,5 +1,4 @@ -"""Module for working and parsing Remo output files. -""" +"""Module for working and parsing Remo output files.""" import os from pathlib import Path diff --git a/pyremo/physics/constants.py b/pyremo/physics/constants.py index f146b6e..81cb836 100644 --- a/pyremo/physics/constants.py +++ b/pyremo/physics/constants.py @@ -1,6 +1,5 @@ # flake8: noqa -"""collection of common Remo physics constants. -""" +"""collection of common Remo physics constants.""" # descritions from REMO #!C** diff --git a/pyremo/physics/core.py b/pyremo/physics/core.py index ceb1c2c..e2e9e5e 100644 --- a/pyremo/physics/core.py +++ b/pyremo/physics/core.py @@ -1,6 +1,5 @@ # flake8: noqa -"""physics module that contains some common Remo physics functions. -""" +"""physics module that contains some common Remo physics functions.""" import numpy as np import xarray as xr diff --git a/pyremo/prsint/_defaults.py b/pyremo/prsint/_defaults.py index 119aa8a..ecc3c2b 100644 --- a/pyremo/prsint/_defaults.py +++ b/pyremo/prsint/_defaults.py @@ -1,5 +1,4 @@ -"""default values for the command line interface -""" +"""default values for the command line interface""" # RELHUM not yet available variables = ["T", "FI", "U", "V", "QD", "QW"] diff --git a/tests/test_tutorial.py b/tests/test_tutorial.py index 9e1ccb8..c9fff2d 100644 --- a/tests/test_tutorial.py +++ b/tests/test_tutorial.py @@ -1,5 +1,4 @@ -"""Test loading of tutorial data -""" +"""Test loading of tutorial data""" import pyremo as pr