Skip to content

Commit f69cd49

Browse files
ESadek-MOdependabot[bot]trexfeatherspre-commit-ci[bot]stephenworsley
authored
Update subplots (#224)
* Bump scitools/workflows from 2024.09.1 to 2024.11.3 (#169) Bumps [scitools/workflows](https://github.com/scitools/workflows) from 2024.09.1 to 2024.11.3. - [Release notes](https://github.com/scitools/workflows/releases) - [Commits](SciTools/workflows@2024.09.1...2024.11.3) --- updated-dependencies: - dependency-name: scitools/workflows dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * move docs/tephi to docs (#165) * move docs/tephi to docs * fixed doc build dir * fixed doc build dir * corrected path in conf.py * Add repo revew to tephi (#164) * added repo review * added some ignores * added some ignores * noted which checks fail, and which skip * added in show errskip Co-authored-by: Martin Yeo <40734014+trexfeathers@users.noreply.github.com> * Added links to pyproj.toml * fixed links --------- Co-authored-by: Martin Yeo <40734014+trexfeathers@users.noreply.github.com> * code quality (#172) * code quality * removed redundant ignores, added explanations to ruff ignores * added link to wiki * fixed a number of repo-review/ruff errors * fiddling with testpath * fiddling with files * still fiddling with files (added lib). Also, added back D212 * faulty square bracket * the glasses were on my head the whole time. FIxed tephi import * fixed parent[2] call * added a noqa * changed test path * removed pytest.ini for now * removed pytest.ini, removed todo * added file specific ignores * tephi isn't regridding * Bump scitools/workflows from 2024.11.3 to 2024.11.6 (#176) Bumps [scitools/workflows](https://github.com/scitools/workflows) from 2024.11.3 to 2024.11.6. - [Release notes](https://github.com/scitools/workflows/releases) - [Commits](SciTools/workflows@2024.11.3...2024.11.6) --- updated-dependencies: - dependency-name: scitools/workflows dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore: update pre-commit hooks (#118) updates: - [github.com/astral-sh/ruff-pre-commit: v0.7.4 → v0.8.0](astral-sh/ruff-pre-commit@v0.7.4...v0.8.0) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * remove the dependancy on setup.cfg and setup.py (#177) * removed flake8 * removed metadata * added dynamics * removed options * moved pytest options * removed coverage mentions * removed coverage mentions * simplified tephi pytest * muted error handling * readded cov mentions * added review review ignore * removed package options section * added scm (stackoverflow suggestion) * deleted setup.cfg * deleted manifest * deleted setup.py (manifest is fine, typo) * isolated build again... * removed iso-build, readded setup.py * rejigged order of pyproject.toml * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * added @bjlittle suggestions from prev pr * up to date with #173 * added testing matrix * corrected tox call * added space to pyproj.toml --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * chore: update pre-commit hooks (#180) updates: - [github.com/astral-sh/ruff-pre-commit: v0.8.0 → v0.8.1](astral-sh/ruff-pre-commit@v0.8.0...v0.8.1) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * Bump scitools/workflows from 2024.11.6 to 2024.12.0 (#181) Bumps [scitools/workflows](https://github.com/scitools/workflows) from 2024.11.6 to 2024.12.0. - [Release notes](https://github.com/scitools/workflows/releases) - [Commits](SciTools/workflows@2024.11.6...2024.12.0) --- updated-dependencies: - dependency-name: scitools/workflows dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump scitools/workflows from 2024.12.0 to 2024.12.1 (#183) Bumps [scitools/workflows](https://github.com/scitools/workflows) from 2024.12.0 to 2024.12.1. - [Release notes](https://github.com/scitools/workflows/releases) - [Commits](SciTools/workflows@2024.12.0...2024.12.1) --- updated-dependencies: - dependency-name: scitools/workflows dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump min version of Python (#192) * bumped min py ver * specified conf.py * corrected ymls * test mpl ver * reset mpl ver * fixed image tests (#193) * chore: update pre-commit hooks (#182) updates: - [github.com/codespell-project/codespell: v2.3.0 → v2.4.1](codespell-project/codespell@v2.3.0...v2.4.1) - [github.com/pre-commit/mirrors-mypy: v1.13.0 → v1.15.0](pre-commit/mirrors-mypy@v1.13.0...v1.15.0) - [github.com/astral-sh/ruff-pre-commit: v0.8.1 → v0.9.6](astral-sh/ruff-pre-commit@v0.8.1...v0.9.6) - [github.com/scientific-python/cookie: 2024.08.19 → 2025.01.22](scientific-python/cookie@2024.08.19...2025.01.22) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * Bump scitools/workflows from 2024.12.1 to 2025.02.1 (#191) Bumps [scitools/workflows](https://github.com/scitools/workflows) from 2024.12.1 to 2025.02.1. - [Release notes](https://github.com/scitools/workflows/releases) - [Commits](SciTools/workflows@2024.12.1...2025.02.1) --- updated-dependencies: - dependency-name: scitools/workflows dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump scitools/workflows from 2025.02.1 to 2025.02.3 (#196) Bumps [scitools/workflows](https://github.com/scitools/workflows) from 2025.02.1 to 2025.02.3. - [Release notes](https://github.com/scitools/workflows/releases) - [Commits](SciTools/workflows@2025.02.1...2025.02.3) --- updated-dependencies: - dependency-name: scitools/workflows dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore: update pre-commit hooks (#195) updates: - [github.com/astral-sh/ruff-pre-commit: v0.9.6 → v0.9.7](astral-sh/ruff-pre-commit@v0.9.6...v0.9.7) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * chore: update pre-commit hooks (#197) updates: - [github.com/astral-sh/ruff-pre-commit: v0.9.7 → v0.9.9](astral-sh/ruff-pre-commit@v0.9.7...v0.9.9) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * Bump scitools/workflows from 2025.02.3 to 2025.03.1 (#198) Bumps [scitools/workflows](https://github.com/scitools/workflows) from 2025.02.3 to 2025.03.1. - [Release notes](https://github.com/scitools/workflows/releases) - [Commits](SciTools/workflows@2025.02.3...2025.03.1) --- updated-dependencies: - dependency-name: scitools/workflows dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump scitools/workflows from 2025.03.1 to 2025.03.3 (#200) Bumps [scitools/workflows](https://github.com/scitools/workflows) from 2025.03.1 to 2025.03.3. - [Release notes](https://github.com/scitools/workflows/releases) - [Commits](SciTools/workflows@2025.03.1...2025.03.3) --- updated-dependencies: - dependency-name: scitools/workflows dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Add `ci-template-check.yml` (#206) * Add ci-template-check.yml. * Bump workflows release number. * Bump scitools/workflows from 2025.03.3 to 2025.03.6 (#205) Bumps [scitools/workflows](https://github.com/scitools/workflows) from 2025.03.3 to 2025.03.4. - [Release notes](https://github.com/scitools/workflows/releases) - [Commits](SciTools/workflows@2025.03.3...2025.03.4) --- updated-dependencies: - dependency-name: scitools/workflows dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Completes the remainder of the code quality work (#179) * added pygrephooks * applied pygrephooks corrections * added github groups * added individual ignores in regards to INP001 * delete setup.py * removed redundant ignores * chore: update pre-commit hooks (#199) updates: - [github.com/astral-sh/ruff-pre-commit: v0.9.9 → v0.11.0](astral-sh/ruff-pre-commit@v0.9.9...v0.11.0) - [github.com/abravalheri/validate-pyproject: v0.23 → v0.24](abravalheri/validate-pyproject@v0.23...v0.24) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * Bump the actions group with 4 updates (#209) Bumps the actions group with 4 updates: [actions/checkout](https://github.com/actions/checkout), [actions/cache](https://github.com/actions/cache), [scitools/workflows](https://github.com/scitools/workflows) and [actions/stale](https://github.com/actions/stale). Updates `actions/checkout` from 3 to 4 - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@v3...v4) Updates `actions/cache` from 3 to 4 - [Release notes](https://github.com/actions/cache/releases) - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md) - [Commits](actions/cache@v3...v4) Updates `scitools/workflows` from 2025.03.6 to 2025.03.8 - [Release notes](https://github.com/scitools/workflows/releases) - [Commits](SciTools/workflows@2025.03.6...2025.03.8) Updates `actions/stale` from 8 to 9 - [Release notes](https://github.com/actions/stale/releases) - [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md) - [Commits](actions/stale@v8...v9) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions - dependency-name: actions/cache dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions - dependency-name: scitools/workflows dependency-type: direct:production dependency-group: actions - dependency-name: actions/stale dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump scitools/workflows from 2025.03.8 to 2025.04.1 in the actions group (#211) Bumps the actions group with 1 update: [scitools/workflows](https://github.com/scitools/workflows). Updates `scitools/workflows` from 2025.03.8 to 2025.04.1 - [Release notes](https://github.com/scitools/workflows/releases) - [Commits](SciTools/workflows@2025.03.8...2025.04.1) --- updated-dependencies: - dependency-name: scitools/workflows dependency-version: 2025.04.1 dependency-type: direct:production dependency-group: actions ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore: update pre-commit hooks (#210) updates: - [github.com/astral-sh/ruff-pre-commit: v0.11.4 → v0.11.6](astral-sh/ruff-pre-commit@v0.11.4...v0.11.6) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * Filter warnings (#213) * filter warnings, "error" initially * filter warnings "default" * pe639: setuptools license and license-files fields (#215) * Update CITATION.cff (#216) * fixed the deprecation (#219) * chore: update pre-commit hooks (#214) updates: - [github.com/pre-commit/mirrors-mypy: v1.15.0 → v1.17.0](pre-commit/mirrors-mypy@v1.15.0...v1.17.0) - [github.com/numpy/numpydoc: v1.8.0 → v1.9.0](numpy/numpydoc@v1.8.0...v1.9.0) - [github.com/astral-sh/ruff-pre-commit: v0.11.6 → v0.12.5](astral-sh/ruff-pre-commit@v0.11.6...v0.12.5) - [github.com/scientific-python/cookie: 2025.01.22 → 2025.05.02](scientific-python/cookie@2025.01.22...2025.05.02) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * Bump scitools/workflows from 2025.04.1 to 2025.04.3 in the actions group (#212) Bumps the actions group with 1 update: [scitools/workflows](https://github.com/scitools/workflows). Updates `scitools/workflows` from 2025.04.1 to 2025.04.3 - [Release notes](https://github.com/scitools/workflows/releases) - [Commits](SciTools/workflows@2025.04.1...2025.04.3) --- updated-dependencies: - dependency-name: scitools/workflows dependency-version: 2025.04.3 dependency-type: direct:production dependency-group: actions ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump scitools/workflows from 2025.07.2 to 2025.07.3 in the actions group (#221) Bumps the actions group with 1 update: [scitools/workflows](https://github.com/scitools/workflows). Updates `scitools/workflows` from 2025.07.2 to 2025.07.3 - [Release notes](https://github.com/scitools/workflows/releases) - [Commits](SciTools/workflows@2025.07.2...2025.07.3) --- updated-dependencies: - dependency-name: scitools/workflows dependency-version: 2025.07.3 dependency-type: direct:production dependency-group: actions ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Martin Yeo <40734014+trexfeathers@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: stephenworsley <49274989+stephenworsley@users.noreply.github.com> Co-authored-by: Bill Little <bill.james.little@gmail.com>
1 parent e02fa3e commit f69cd49

Some content is hidden

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

41 files changed

+399
-199
lines changed

.flake8

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

.github/dependabot.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,7 @@ updates:
1717
timezone: "Europe/London"
1818
labels:
1919
- "🤖 Bot"
20+
groups:
21+
actions:
22+
patterns:
23+
- "*"

.github/workflows/ci-citation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
name: "validate"
2121
runs-on: ubuntu-latest
2222
steps:
23-
- uses: actions/checkout@v3
23+
- uses: actions/checkout@v4
2424
with:
2525
fetch-depth: 0
2626

.github/workflows/ci-docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ jobs:
1818
runs-on: ubuntu-latest
1919

2020
steps:
21-
- uses: actions/checkout@v3
21+
- uses: actions/checkout@v4
2222

23-
- uses: actions/cache@v3
23+
- uses: actions/cache@v4
2424
with:
2525
key: tox-${{ hashFiles('requirements/dev.yml') }}-${{ hashFiles('tox.ini') }}
2626
path: |

.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@2024.09.1
26+
uses: scitools/workflows/.github/workflows/ci-manifest.yml@2025.07.3
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Checks if a PR makes any changes that ought to be shared via templating.
2+
# See the called workflow in the scitools/workflows repo for more details.
3+
4+
name: ci-template-check
5+
6+
on:
7+
pull_request_target:
8+
branches:
9+
- main
10+
11+
jobs:
12+
prompt-share:
13+
uses: scitools/workflows/.github/workflows/ci-template-check.yml@2025.07.3
14+
secrets: inherit
15+
with:
16+
pr_number: ${{ github.event.pull_request.number }}

.github/workflows/ci-tests.yml

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,31 @@ concurrency:
1313
cancel-in-progress: true
1414

1515
jobs:
16-
build:
16+
tests:
17+
name: "${{ matrix.session }} (${{ matrix.version }})"
1718

18-
runs-on: ubuntu-latest
19+
runs-on: ${{ matrix.os }}
20+
21+
strategy:
22+
fail-fast: false
23+
matrix:
24+
os: [ "ubuntu-latest" ]
25+
version: ["py310", "py311"]
26+
session: [ "test" ]
27+
include:
28+
- version: "py311"
29+
coverage: "--cov-report= --cov=tephi"
1930

2031
steps:
21-
- uses: actions/checkout@v3
32+
- uses: actions/checkout@v4
2233

23-
- uses: actions/cache@v3
34+
- uses: actions/cache@v4
2435
with:
2536
key: tox-${{ hashFiles('requirements/dev.yml') }}-${{ hashFiles('tox.ini') }}
2637
path: |
2738
.tox
2839
2940
- name: Run tox
30-
run: pipx run 'tox<4'
41+
run: |
42+
pip install 'tox<4'
43+
tox -e ${{ matrix.version }}-${{ matrix.session }}

.github/workflows/stale.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
runs-on: ubuntu-latest
1818

1919
steps:
20-
- uses: actions/stale@v8
20+
- uses: actions/stale@v9
2121
with:
2222
repo-token: ${{ secrets.GITHUB_TOKEN }}
2323

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ coverage.xml
5959
# Sphinx documentation
6060
docs/_build/
6161
# ignore autogen apidoc files
62-
docs/tephi/source/api
62+
docs/source/api
6363
# misc
6464
*.lock
6565

.pre-commit-config.yaml

Lines changed: 97 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,114 @@
11
# See https://pre-commit.com for more information
22
# See https://pre-commit.com/hooks.html for more hooks
3+
# See https://pre-commit.ci/#configuration
4+
# See https://github.com/scientific-python/cookie#sp-repo-review
5+
6+
ci:
7+
autofix_prs: false
8+
autoupdate_commit_msg: "chore: update pre-commit hooks"
9+
10+
11+
# Alphabetised, for lack of a better order.
12+
files: |
13+
(?x)(
14+
docs\/.+\.py|
15+
docs\/.+\.rst|
16+
pyproject\.toml|
17+
setup\.py|
18+
src\/.+\.py
19+
)
20+
minimum_pre_commit_version: 1.21.0
21+
322
repos:
23+
24+
# Hook for pre-commit's built-in checks
425
- repo: https://github.com/pre-commit/pre-commit-hooks
5-
rev: 'v4.4.0'
26+
rev: v5.0.0
627
hooks:
728
# Prevent giant files from being committed.
829
- id: check-added-large-files
30+
# Check whether files parse as valid Python.
31+
- id: check-ast
32+
# Check for file name conflicts on case-insensitive filesystems.
33+
- id: check-case-conflict
934
# Check for files that contain merge conflict strings.
1035
- id: check-merge-conflict
11-
# Check for debugger imports and py37+ `breakpoint()` calls in python source.
36+
# Check for debugger imports and py37+ `breakpoint()` calls in Python source.
1237
- id: debug-statements
13-
# Don't commit to master branch.
38+
# Check TOML file syntax.
39+
- id: check-toml
40+
# Check YAML file syntax.
41+
- id: check-yaml
42+
# Makes sure files end in a newline and only a newline.
43+
# Duplicates Ruff W292 but also works on non-Python files.
44+
- id: end-of-file-fixer
45+
# Replaces or checks mixed line ending.
46+
- id: mixed-line-ending
47+
# Don't commit to main branch.
1448
- id: no-commit-to-branch
49+
# Trims trailing whitespace.
50+
# Duplicates Ruff W291 but also works on non-Python files.
51+
- id: trailing-whitespace
52+
53+
# Hooks from all other repos
54+
# NOTE : keep these in hook-name (aka 'id') order
1555

16-
- repo: https://github.com/psf/black
17-
rev: 23.7.0
56+
- repo: https://github.com/adamchainz/blacken-docs
57+
rev: 1.19.1
1858
hooks:
19-
- id: black
59+
- id: blacken-docs
60+
types: [file, rst]
61+
62+
- repo: https://github.com/codespell-project/codespell
63+
rev: "v2.4.1"
64+
hooks:
65+
- id: codespell
66+
types_or: [asciidoc, python, markdown, rst]
67+
additional_dependencies: [tomli]
68+
69+
- repo: https://github.com/pre-commit/mirrors-mypy
70+
rev: 'v1.17.0'
71+
hooks:
72+
- id: mypy
73+
exclude: 'noxfile\.py|docs/conf\.py'
74+
75+
- repo: https://github.com/numpy/numpydoc
76+
rev: v1.9.0
77+
hooks:
78+
- id: numpydoc-validation
79+
types: [file, python]
80+
81+
- repo: https://github.com/astral-sh/ruff-pre-commit
82+
rev: "v0.12.5"
83+
hooks:
84+
- id: ruff
85+
types: [file, python]
86+
args: [--fix, --show-fixes]
87+
- id: ruff-format
2088
types: [file, python]
21-
args: [--config=./pyproject.toml]
2289

23-
- repo: https://github.com/PyCQA/flake8
24-
rev: 6.0.0
90+
- repo: https://github.com/aio-libs/sort-all
91+
rev: v1.3.0
2592
hooks:
26-
- id: flake8
93+
- id: sort-all
2794
types: [file, python]
28-
args: [--config=./.flake8]
95+
96+
- repo: https://github.com/scientific-python/cookie
97+
rev: 2025.05.02
98+
hooks:
99+
- id: sp-repo-review
100+
additional_dependencies: ["repo-review[cli]"]
101+
args: ["--show=errskip"]
102+
103+
- repo: https://github.com/abravalheri/validate-pyproject
104+
# More exhaustive than Ruff RUF200.
105+
rev: "v0.24.1"
106+
hooks:
107+
- id: validate-pyproject
108+
109+
- repo: https://github.com/pre-commit/pygrep-hooks
110+
rev: "v1.10.0"
111+
hooks:
112+
- id: rst-backticks
113+
- id: rst-directive-colons
114+
- id: rst-inline-touching-normal

0 commit comments

Comments
 (0)