Skip to content
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 .github/workflows/cicd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
with:
os: ${{ matrix.os }}
python-version: ${{ matrix.python-version }}
Expand All @@ -67,7 +67,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
with:
os: ${{ matrix.os }}
python-version: ${{ matrix.python-version }}
Expand Down
12 changes: 6 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.11.13
rev: v0.14.4
hooks:
- id: ruff
args:
Expand All @@ -30,11 +30,11 @@ repos:
- id: codespell
additional_dependencies: [tomli]
- repo: https://github.com/gitleaks/gitleaks
rev: v8.21.2
rev: v8.29.0
hooks:
- id: gitleaks
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
rev: v6.0.0
hooks:
# all available hooks can be found here: https://github.com/pre-commit/pre-commit-hooks/blob/main/.pre-commit-hooks.yaml
- id: check-yaml
Expand Down Expand Up @@ -72,12 +72,12 @@ repos:
- id: rst-directive-colons
- id: text-unicode-replacement-char
- repo: https://github.com/PyCQA/isort # TODO: remove as soon as ruff is stable
rev: 6.0.1
rev: 7.0.0
hooks:
- id: isort
args: [--profile=black]
- repo: https://github.com/PyCQA/bandit
rev: 1.8.3
rev: 1.8.6
hooks:
- id: bandit
exclude: "^tests/.*|examples/.*"
Expand All @@ -90,7 +90,7 @@ repos:
- --max-modules=B
- --max-absolute=C
- repo: https://github.com/rbubley/mirrors-prettier
rev: v3.3.3
rev: v3.6.2
hooks:
- id: prettier
exclude: '\.nc$|^tests/fixture/|\.ipynb$'
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@ https://python-cmethods.readthedocs.io/en/stable/
- Except for the variance scaling, all methods can be applied on stochastic and
non-stochastic climate variables. Variance scaling can only be applied on
non-stochastic climate variables.

- Non-stochastic climate variables are those that can be predicted with
relative certainty based on factors such as location, elevation, and season.
Examples of non-stochastic climate variables include air temperature, air
Expand Down
5 changes: 2 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ classifiers = [
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Utilities",
"Topic :: Scientific/Engineering",
Expand Down Expand Up @@ -82,14 +83,12 @@ local_scheme = "no-local-version"
[tool.pytest]
junit_family = "xunit2"
testpaths = ["tests"]

[tool.pytest.ini_options]
cache_dir = ".cache/pytest"
markers = [
"wip: Used to run a specific test by hand.",
"flaky: Use to retry flaky tests",
]
addopts = "--maxfail=1"
addopts = ["--maxfail=1"]

[tool.coverage.run]
source = ["cmethods"]
Expand Down