Skip to content

Commit b7e73ab

Browse files
authored
Merge branch 'main' into cla_v5
2 parents 9cac3c9 + 9397c1d commit b7e73ab

File tree

330 files changed

+10050
-7719
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

330 files changed

+10050
-7719
lines changed

.github/labeler.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Make sure any dependency changes are benchmarked (only changes to the locks
2+
# make a material difference - changes to the Conda YAML files are not
3+
# benchmarked).
4+
benchmark_this:
5+
- changed-files:
6+
- any-glob-to-any-file: 'requirements/locks/*.lock'

.github/workflows/benchmarks_run.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,11 @@ jobs:
4242

4343
- name: Install ASV & Nox
4444
run: |
45-
pip install asv nox
45+
pip install "asv!=0.6.2" nox
4646
4747
- name: Cache environment directories
4848
id: cache-env-dir
49-
uses: actions/cache@v3
49+
uses: actions/cache@v4
5050
with:
5151
path: |
5252
.nox
@@ -56,7 +56,7 @@ jobs:
5656

5757
- name: Cache test data directory
5858
id: cache-test-data
59-
uses: actions/cache@v3
59+
uses: actions/cache@v4
6060
with:
6161
path: |
6262
${{ env.IRIS_TEST_DATA_PATH }}

.github/workflows/ci-citation.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: ci-citation
2+
3+
on:
4+
pull_request:
5+
paths:
6+
- "CITATION.cff"
7+
8+
push:
9+
paths:
10+
- "CITATION.cff"
11+
12+
workflow_dispatch:
13+
14+
concurrency:
15+
group: ${{ github.workflow }}-${{ github.ref }}
16+
cancel-in-progress: true
17+
18+
jobs:
19+
validate:
20+
name: "validate"
21+
runs-on: ubuntu-latest
22+
steps:
23+
- uses: actions/checkout@v4
24+
with:
25+
fetch-depth: 0
26+
27+
- name: "check CITATION.cff"
28+
uses: citation-file-format/cffconvert-github-action@4cf11baa70a673bfdf9dad0acc7ee33b3f4b6084
29+
with:
30+
args: "--validate"

.github/workflows/ci-manifest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ concurrency:
2323
jobs:
2424
manifest:
2525
name: "check-manifest"
26-
uses: scitools/workflows/.github/workflows/ci-manifest.yml@2023.12.1
26+
uses: scitools/workflows/.github/workflows/ci-manifest.yml@2024.02.0

.github/workflows/ci-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,5 +140,5 @@ jobs:
140140
nox --session ${{ matrix.session }} -- --verbose ${{ matrix.coverage }}
141141
142142
- name: Upload coverage report
143-
uses: codecov/codecov-action@v3
143+
uses: codecov/codecov-action@v4
144144
if: ${{ matrix.coverage }}

.github/workflows/labeler.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Reference
2+
# - https://github.com/actions/labeler
3+
4+
name: "Pull Request Labeler"
5+
on:
6+
- pull_request_target
7+
8+
jobs:
9+
labeler:
10+
permissions:
11+
contents: read
12+
pull-requests: write
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/labeler@v5

.github/workflows/refresh-lockfiles.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ on:
1414

1515
jobs:
1616
refresh_lockfiles:
17-
uses: scitools/workflows/.github/workflows/refresh-lockfiles.yml@2023.12.1
17+
uses: scitools/workflows/.github/workflows/refresh-lockfiles.yml@2024.02.0
1818
secrets: inherit

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ repos:
2929
- id: no-commit-to-branch
3030

3131
- repo: https://github.com/astral-sh/ruff-pre-commit
32-
rev: "v0.1.8"
32+
rev: "v0.2.1"
3333
hooks:
3434
- id: ruff
3535
types: [file, python]
@@ -45,7 +45,7 @@ repos:
4545
additional_dependencies: [tomli]
4646

4747
- repo: https://github.com/PyCQA/flake8
48-
rev: 6.1.0
48+
rev: 7.0.0
4949
hooks:
5050
- id: flake8
5151
types: [file, python]

.readthedocs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
version: 2
22

33
build:
4-
os: ubuntu-20.04
4+
os: "ubuntu-22.04"
55
tools:
6-
python: mambaforge-4.10
6+
python: "mambaforge-22.9"
77
jobs:
88
post_checkout:
99
# The SciTools/iris repository is shallow i.e., has a .git/shallow,

.ruff.toml

Lines changed: 1 addition & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ lint.ignore = [
1111
# pycodestyle (E, W)
1212
# https://docs.astral.sh/ruff/rules/#pycodestyle-e-w
1313
"E",
14-
"W",
1514

1615
# mccabe (C90)
1716
# https://docs.astral.sh/ruff/rules/#mccabe-c90
@@ -26,22 +25,10 @@ lint.ignore = [
2625
# (D-1) Permanent
2726
"D105", # Missing docstring in magic method
2827
# (D-2) Temporary, to be removed when we are more compliant. Rare cases mmove to (1).
29-
"D417", # Missing argument descriptions in the docstring
3028
"D101", # Missing docstring in public class
3129
"D102", # Missing docstring in public method
32-
"D104", # Missing docstring in public package
33-
"D106", # Missing docstring in public nested class
34-
# (D-3) Temporary, before an initial review, either fix ocurrenvces or move to (2).
35-
"D100", # Missing docstring in public module
30+
# (D-3) Temporary, before an initial review, either fix ocurrences or move to (2).
3631
"D103", # Missing docstring in public function
37-
"D200", # One-line docstring should fit on one line
38-
"D202", # No blank lines allowed after function docstring
39-
"D205", # 1 blank line required between summary line and description
40-
"D401", # First line of docstring should be in imperative mood: ...
41-
"D404", # First word of the docstring should not be "This"
42-
"D405", # Section name should be properly capitalized
43-
"D406", # Section name should end with a newline
44-
"D407", # Missing dashed underline after section
4532

4633
# pyupgrade (UP)
4734
# https://docs.astral.sh/ruff/rules/#pyupgrade-up
@@ -71,10 +58,6 @@ lint.ignore = [
7158
# https://docs.astral.sh/ruff/rules/#flake8-builtins-a
7259
"A",
7360

74-
# flake8-copyright (CPY)
75-
# https://docs.astral.sh/ruff/rules/#flake8-copyright-cpy
76-
"CPY",
77-
7861
# flake8-comprehensions (C4)
7962
# https://docs.astral.sh/ruff/rules/#flake8-comprehensions-c4
8063
"C4",
@@ -91,10 +74,6 @@ lint.ignore = [
9174
# https://docs.astral.sh/ruff/rules/#flake8-future-annotations-fa
9275
"FA",
9376

94-
# flake8-implicit-str-concat (ISC)
95-
# https://docs.astral.sh/ruff/rules/#flake8-implicit-str-concat-isc
96-
"ISC",
97-
9877
# flake8-logging-format (G)
9978
# https://docs.astral.sh/ruff/rules/#flake8-logging-format-g
10079
"G",
@@ -187,10 +166,6 @@ lint.ignore = [
187166
# https://docs.astral.sh/ruff/rules/#flynt-fly
188167
"FLY",
189168

190-
# Airflow (AIR)
191-
# https://docs.astral.sh/ruff/rules/#airflow-air
192-
"AIR",
193-
194169
# Perflint (PERF)
195170
# https://docs.astral.sh/ruff/rules/#perflint-perf
196171
"PERF",

0 commit comments

Comments
 (0)