Skip to content

Commit b58fb2f

Browse files
DeployDuckgmertes
andauthored
chore: synced file(s) with ecmwf/reusable-workflows (#232)
Co-authored-by: Gert Mertes <gert.mertes@ecmwf.int>
1 parent be00edf commit b58fb2f

12 files changed

+23
-75
lines changed

.github/CODEOWNERS

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
# Workflows
32
/.github/ @ecmwf/AnemoiSecurity
43

.github/pull_request_template.md

Lines changed: 8 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,13 @@
11
## Description
2+
<!-- What issue or task does this change relate to? -->
23

3-
<!-- Provide a brief summary of the changes introduced in this pull request. -->
4+
## What problem does this change solve?
5+
<!-- Describe if it's a bugfix, new feature, doc update, or breaking change -->
46

5-
## Type of Change
6-
7-
- [ ] Bug fix (non-breaking change which fixes an issue)
8-
- [ ] New feature (non-breaking change which adds functionality)
9-
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
10-
- [ ] Documentation update
11-
12-
## Issue Number
13-
14-
<!-- Link the Issue number this change addresses, ideally in one of the "magic format" such as Closes #XYZ -->
15-
16-
<!-- Alternatively, explain the motivation behind the changes and the context in which they are being made. -->
17-
18-
## Code Compatibility
19-
20-
- [ ] I have performed a self-review of my code
21-
22-
### Code Performance and Testing
23-
24-
- [ ] I have added tests that prove my fix is effective or that my feature works
25-
- [ ] I ran the [complete Pytest test](https://anemoi.readthedocs.io/projects/training/en/latest/dev/testing.html) suite locally, and they pass
26-
27-
<!-- In case this affects the model sharding or other specific components please describe these here. -->
28-
29-
### Dependencies
30-
31-
- [ ] I have ensured that the code is still pip-installable after the changes and runs
32-
- [ ] I have tested that new dependencies themselves are pip-installable.
33-
34-
<!-- List any new dependencies that are required for this change and the justification to add them. -->
35-
36-
### Documentation
37-
38-
- [ ] My code follows the style guidelines of this project
39-
- [ ] I have updated the documentation and docstrings to reflect the changes
40-
- [ ] I have added comments to my code, particularly in hard-to-understand areas
41-
42-
<!-- Describe any major updates to the documentation -->
43-
44-
## Additional Notes
7+
## What issue or task does this change relate to?
8+
<!-- link to Issue Number -->
459

10+
## Additional notes ##
4611
<!-- Include any additional information, caveats, or considerations that the reviewer should be aware of. -->
12+
13+
***As a contributor to the Anemoi framework, please ensure that your changes include unit tests, updates to any affected dependencies and documentation, and have been tested in a parallel setting (i.e., with multiple GPUs). As a reviewer, you are also responsible for verifying these aspects and requesting changes if they are not adequately addressed. For guidelines about those please refer to https://anemoi.readthedocs.io/en/latest/***

.github/release.yml

Lines changed: 0 additions & 23 deletions
This file was deleted.

.github/workflows/downstream-ci-hpc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This workflow triggers tests on dependent packages.
22
# The dependency tree itself is defined in ecmwf/downstream-ci/
3-
name: Test downstream dependent packages on HPC
3+
name: Test downstream dependent packages
44

55
on:
66
# Trigger the workflow on push to main or develop, except tag creation

.github/workflows/pr-conventional-commit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# This workflow ensures that the PR title follows the Conventional Commit format.
2-
name: "[Pull Request] Ensure Conventional Commit in PR title"
2+
name: "[PR] Ensure Conventional Commit Title"
33

44
on:
55
pull_request_target:

.github/workflows/pr-label-conventional-commits.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This workflow assigns labels to a pull request based on the Conventional Commits format.
22
# This is necessary for release-please to work properly.
3-
name: "[Pull Request] Label Conventional Commits"
3+
name: "[PR] Label Conventional Commits"
44

55
on:
66
pull_request:

.github/workflows/pr-label-file-based.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This workflow assigns labels to a pull request based on the files changed in the PR.
22
# The labels are defined in the `.github/labels.yml` file.
3-
name: "[Pull Request] Label File-based"
3+
name: "[PR] Label File-based"
44
on:
55
pull_request_target:
66
types: [opened, synchronize]

.github/workflows/pr-label-public.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Manage labels of pull requests that originate from forks
2-
name: "[Pull Request] Label PRs from public forks"
2+
name: "[PR] Label Forks"
33

44
on:
55
pull_request_target:

.github/workflows/python-pull-request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# This workflow runs pre-commit checks and pytest tests against multiple platforms and Python versions.
2-
name: Code Quality checks and Testing
2+
name: Code Quality and Testing
33

44
on:
55
pull_request:

.github/workflows/readthedocs-pr-update.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This workflow adds a link to the experimental documentation build to the PR.
22
# This does NOT trigger a build of the documentation, this is handled through webhooks.
3-
name: Read the Docs PR Preview
3+
name: "[PR] Read the Docs Preview"
44
on:
55
pull_request_target:
66
types:

.gitignore

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,11 @@ dmypy.json
9494
*.csv
9595
*.xlsx
9696
*.xls
97+
*.json
98+
*.txt
99+
*.zip
100+
*.db
101+
*.tgz
97102

98103
# ML artifacts
99104
wandb/
@@ -120,6 +125,7 @@ tmp/
120125
temp/
121126
logs/
122127
_dev/
128+
_api/
123129
./outputs
124130
*tmp_data/
125131

@@ -135,5 +141,3 @@ _version.py
135141
*.to_upload
136142
tempCodeRunnerFile.python
137143
Untitled-*.py
138-
*.json
139-
*.txt

.pre-commit-config.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,9 @@ repos:
3939
- -l 120
4040
- --force-single-line-imports
4141
- --profile black
42+
- --project anemoi
4243
- repo: https://github.com/astral-sh/ruff-pre-commit
43-
rev: v0.11.8
44+
rev: v0.11.4
4445
hooks:
4546
- id: ruff
4647
args:

0 commit comments

Comments
 (0)