Skip to content

Commit 7eff73c

Browse files
chore: synced file(s) with ecmwf/reusable-workflows (#371)
synced local file(s) with [ecmwf/reusable-workflows](https://github.com/ecmwf/reusable-workflows). <details> <summary>Changed files</summary> <ul> <li>synced local directory <code>./</code> with remote directory <code>sync-files/anemoi/all/</code></li> </ul> </details> --- This PR was created automatically by the [repo-file-sync-action](https://github.com/BetaHuhn/repo-file-sync-action) workflow run [#19170178108](https://github.com/ecmwf/reusable-workflows/actions/runs/19170178108) --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 1e49ba3 commit 7eff73c

File tree

4 files changed

+39
-24
lines changed

4 files changed

+39
-24
lines changed

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,3 +141,8 @@ _version.py
141141
*.to_upload
142142
tempCodeRunnerFile.python
143143
Untitled-*.py
144+
trace.txt
145+
?/
146+
*.prof
147+
prof/
148+
*.gz

.pre-commit-config.yaml

Lines changed: 22 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -20,19 +20,19 @@ repos:
2020
- id: no-commit-to-branch # Prevent committing to main / master
2121
- id: check-added-large-files # Check for large files added to git
2222
- id: check-merge-conflict # Check for files that contain merge conflict
23-
- repo: https://github.com/pre-commit/pygrep-hooks
24-
rev: v1.10.0 # Use the ref you want to point at
25-
hooks:
26-
- id: python-use-type-annotations # Check for missing type annotations
27-
- id: python-check-blanket-noqa # Check for # noqa: all
28-
- id: python-no-log-warn # Check for log.warn
23+
- repo: https://github.com/pre-commit/pygrep-hooks
24+
rev: v1.10.0 # Use the ref you want to point at
25+
hooks:
26+
- id: python-use-type-annotations # Check for missing type annotations
27+
- id: python-check-blanket-noqa # Check for # noqa: all
28+
- id: python-no-log-warn # Check for log.warn
2929
- repo: https://github.com/psf/black-pre-commit-mirror
3030
rev: 25.9.0
3131
hooks:
3232
- id: black
3333
args: [--line-length=120]
3434
- repo: https://github.com/pycqa/isort
35-
rev: 6.1.0
35+
rev: 7.0.0
3636
hooks:
3737
- id: isort
3838
args:
@@ -41,7 +41,7 @@ repos:
4141
- --profile black
4242
- --project anemoi
4343
- repo: https://github.com/astral-sh/ruff-pre-commit
44-
rev: v0.13.3
44+
rev: v0.14.3
4545
hooks:
4646
- id: ruff
4747
args:
@@ -50,7 +50,7 @@ repos:
5050
- --exit-non-zero-on-fix
5151
- --exclude=docs/**/*_.py
5252
- repo: https://github.com/sphinx-contrib/sphinx-lint
53-
rev: v1.0.0
53+
rev: v1.0.1
5454
hooks:
5555
- id: sphinx-lint
5656
# For now, we use it. But it does not support a lot of sphinx features
@@ -65,20 +65,21 @@ repos:
6565
- id: docconvert
6666
args: ["numpy"]
6767
- repo: https://github.com/tox-dev/pyproject-fmt
68-
rev: "v2.7.0"
68+
rev: "v2.11.0"
6969
hooks:
7070
- id: pyproject-fmt
71-
- repo: https://github.com/jshwi/docsig # Check docstrings against function sig
72-
rev: v0.71.0
73-
hooks:
74-
- id: docsig
75-
args:
76-
- --ignore-no-params # Allow docstrings without parameters
77-
- --check-dunders # Check dunder methods
78-
- --check-overridden # Check overridden methods
79-
- --check-protected # Check protected methods
80-
- --check-class # Check class docstrings
81-
- --disable=SIG101,SIG102 # Disable empty docstrings
71+
args: ["--max-supported-python", "3.12"]
72+
- repo: https://github.com/jshwi/docsig # Check docstrings against function sig
73+
rev: v0.71.0
74+
hooks:
75+
- id: docsig
76+
args:
77+
- --ignore-no-params # Allow docstrings without parameters
78+
- --check-dunders # Check dunder methods
79+
- --check-overridden # Check overridden methods
80+
- --check-protected # Check protected methods
81+
- --check-class # Check class docstrings
82+
- --disable=SIG101,SIG102 # Disable empty docstrings
8283
ci:
8384
autoupdate_schedule: monthly
8485
autoupdate_commit_msg: "chore(deps): pre-commit.ci autoupdate"

README.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,22 @@
11
# anemoi-inference
22

3-
[![Static Badge](https://github.com/ecmwf/codex/raw/refs/heads/main/Project%20Maturity/incubating_badge.svg)](https://github.com/ecmwf/codex/raw/refs/heads/main/Project%20Maturity#incubating)
4-
3+
<p align="center">
4+
<a href="https://github.com/ecmwf/codex/raw/refs/heads/main/Project Maturity">
5+
<img src="https://github.com/ecmwf/codex/raw/refs/heads/main/Project Maturity/incubating_badge.svg" alt="Maturity Level">
6+
</a>
7+
<a href="https://opensource.org/licenses/apache-2-0">
8+
<img src="https://img.shields.io/badge/Licence-Apache 2.0-blue.svg" alt="Licence">
9+
</a>
10+
<a href="https://github.com/ecmwf/anemoi-inference/releases">
11+
<img src="https://img.shields.io/github/v/release/ecmwf/anemoi-inference?color=purple&label=Release" alt="Latest Release">
12+
</a>
13+
</p>
514

615
> \[!IMPORTANT\]
716
> This software is **Incubating** and subject to ECMWF's guidelines on [Software Maturity](https://github.com/ecmwf/codex/raw/refs/heads/main/Project%20Maturity).
817
918

19+
1020
## Documentation
1121

1222
The documentation can be found at https://anemoi-inference.readthedocs.io/.

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ classifiers = [
3636
"Programming Language :: Python :: 3.10",
3737
"Programming Language :: Python :: 3.11",
3838
"Programming Language :: Python :: 3.12",
39-
"Programming Language :: Python :: 3.13",
4039
"Programming Language :: Python :: Implementation :: CPython",
4140
"Programming Language :: Python :: Implementation :: PyPy",
4241
]

0 commit comments

Comments
 (0)