Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
190 commits
Select commit Hold shift + click to select a range
0004bde
first commit
tlmquintino May 24, 2023
84211ef
WIP
tlmquintino May 24, 2023
d39af83
Updating all earthkit READMEs to use the same disclaimer text
JamesVarndell May 25, 2023
754f46c
Add code from grid2grid
sandorkertesz Oct 3, 2023
9a2b692
Merge pull request #1 from ecmwf/feature/add-grid2grid-code
sandorkertesz Oct 4, 2023
1a860fe
Use remote index and matrices
sandorkertesz Oct 12, 2023
3c79ba7
Use remote index and matrices
sandorkertesz Oct 12, 2023
6e1bc7d
Use remote index and matrices
sandorkertesz Oct 12, 2023
d251116
Use remote index and matrices
sandorkertesz Oct 12, 2023
d77dee3
Use remote index and matrices
sandorkertesz Nov 29, 2023
1e38b9b
Use remote index and matrices
sandorkertesz Nov 29, 2023
c125371
Use remote index and matrices
sandorkertesz Nov 29, 2023
6dce4dc
Use remote index and matrices
sandorkertesz Nov 29, 2023
09e713b
Merge pull request #3 from ecmwf/feature/remote-matrices
sandorkertesz Nov 29, 2023
d290c8c
Merge develop to main (#4)
sandorkertesz Feb 5, 2024
5ead210
Add first user guide (#5)
sandorkertesz Feb 8, 2024
5747c26
Fix merge main to develop
sandorkertesz Feb 8, 2024
28a50b7
Merge pull request #7 from ecmwf/feature/merge-from-main
sandorkertesz Feb 8, 2024
ddd374e
Add matrix inventory and gridspecs to docs (#8)
sandorkertesz Feb 10, 2024
d9e3e1d
Merge pull request #9 from ecmwf/develop
sandorkertesz Feb 10, 2024
892f008
Add healpix to latlon interpolation
sandorkertesz Mar 1, 2024
dae3e3f
Merge pull request #10 from ecmwf/feature/healpix
sandorkertesz Mar 1, 2024
8cc3c0c
Merge pull request #11 from ecmwf/develop
sandorkertesz Mar 1, 2024
1cf3f0c
Allow using user defined local matrix source (#12)
sandorkertesz Mar 14, 2024
24b9740
New matrix inventory (#13)
sandorkertesz Mar 26, 2024
1a408a3
Use lru_cache instead of cache for Python 3.8 (#14)
sandorkertesz Mar 27, 2024
5ac893a
Add fieldlist support (#15)
sandorkertesz Mar 27, 2024
55a045f
Update docs (#16)
sandorkertesz Mar 27, 2024
13dbbd2
Fix typo in release notes (#17)
sandorkertesz Mar 27, 2024
db52ca2
Update notebooks (#18)
sandorkertesz Mar 27, 2024
228213f
Merge pull request #19 from ecmwf/develop
sandorkertesz Mar 27, 2024
63bde1d
Fix rgg matrix inventory contents in the docs (#21)
sandorkertesz Apr 18, 2024
f8097cf
Merge pull request #22 from ecmwf/main
sandorkertesz Apr 18, 2024
2a3ac36
Add to downstream ci (#24)
sandorkertesz May 2, 2024
fb915be
Fix legacy ci name (#25)
sandorkertesz May 2, 2024
18d9d60
Use pyproject.toml and src root dir (#26)
sandorkertesz May 8, 2024
8b26dd5
Add version file to gitignore (#27)
sandorkertesz May 8, 2024
dab8774
Fix interpolation with gaussian fieldlist input (#28)
sandorkertesz May 14, 2024
c392aa4
Merge branch 'main' into feature/merge-from-main
sandorkertesz May 14, 2024
167df45
Merge pull request #29 from ecmwf/feature/merge-from-main
sandorkertesz May 14, 2024
2386fe9
Disable remote matrix file checking when lookup in cache
sandorkertesz Jul 2, 2024
f2a2e6e
Merge pull request #30 from ecmwf/hotfix/disable-remote-file-checking…
sandorkertesz Jul 2, 2024
5a07a4b
Update db building tools
sandorkertesz Aug 8, 2024
ae2762a
Merge pull request #31 from ecmwf/feature/update-tools
sandorkertesz Aug 8, 2024
0d3d0b7
Fix interpolating fieldlists with regular latlon grid (#32)
sandorkertesz Sep 10, 2024
2607782
Merge branch 'main' into feature/merge-main-0.3.3-into-develop
sandorkertesz Sep 10, 2024
3aa638b
Merge pull request #33 from ecmwf/feature/merge-main-0.3.3-into-develop
sandorkertesz Sep 10, 2024
959fccf
Allow using tuples for grid values in a gridspec (#34)
sandorkertesz Sep 12, 2024
9bbe37b
Fix typos in documentation
sandorkertesz Sep 12, 2024
d1e9c28
Merge pull request #35 from ecmwf/feature/fix-documentation-typos
sandorkertesz Sep 12, 2024
bc7b50f
Command-line .mat to .npz
pmaciel Sep 16, 2024
d4610bf
Add grid-box-average method (#39)
sandorkertesz Oct 22, 2024
bb2f205
Fix read the docs build (#40)
sandorkertesz Oct 22, 2024
a786930
Update healpix gridspec documentation (#41)
sandorkertesz Nov 13, 2024
ec251d0
Use earthkit-plots in examples (#42)
sandorkertesz Nov 18, 2024
4071c5e
Merge branch 'main' into feature/merge-main-into-develop
sandorkertesz Nov 18, 2024
8cb012a
Merge pull request #43 from ecmwf/feature/merge-main-into-develop
sandorkertesz Nov 18, 2024
da1bee1
Merge pull request #44 from ecmwf/develop
sandorkertesz Nov 18, 2024
1ac174c
Add nnz and marix memory size to index (#45)
sandorkertesz Nov 23, 2024
1b91b2f
Cannot free chache space due to sqlite row assignment error (#46)
sandorkertesz Nov 24, 2024
b4e3825
Add in-memory cache for interpolation matrices (#23)
sandorkertesz Nov 27, 2024
cacf289
Add support for ORCA source grids (#47)
sandorkertesz Dec 8, 2024
66800d6
Merge from main
sandorkertesz Dec 9, 2024
e3c3ca1
Merge pull request #48 from ecmwf/feature/merge-from-main
sandorkertesz Dec 9, 2024
271c989
Simplify startup when using remote inventory (#49)
sandorkertesz Dec 19, 2024
b3da4eb
Change cache dir location to /Users/cgr/.cache (#50)
sandorkertesz Dec 20, 2024
f452d3e
Improve orca gridspec checks (#51)
sandorkertesz Dec 20, 2024
6b717ff
Merge branch 'main' into feature/main-into-develop
sandorkertesz Jan 16, 2025
badfab0
Merge pull request #53 from ecmwf/feature/main-into-develop
sandorkertesz Jan 16, 2025
c38affa
Update ci (#54)
sandorkertesz Jan 20, 2025
e7ef7db
earthkit.regrid.utils.Stream write functionality (for most data types…
pmaciel Jan 20, 2025
2c51ef0
Disabale experimental in-memory matrix cache for upcoming release (#55)
sandorkertesz Jan 20, 2025
8b43074
Merge pull request #56 from ecmwf/develop
sandorkertesz Jan 20, 2025
e29c28c
Fix rdt build
sandorkertesz Jan 20, 2025
389301b
Merge pull request #57 from ecmwf/hotfix/fix-rdt-build
sandorkertesz Jan 20, 2025
a73def2
Merge pull request #58 from ecmwf/develop
sandorkertesz Jan 20, 2025
75ed215
Feature/config (#59)
sandorkertesz Jan 30, 2025
00a09fb
Add interpolator backends and MIR interface (#60)
sandorkertesz Feb 6, 2025
10c0c91
feature/gridspec: test_make_matrix_from_latlon
pmaciel Feb 3, 2025
7adb9df
feature/gridspec: test_make_matrix
pmaciel Feb 3, 2025
d4845e1
feature/gridspec: test_make_matrix
pmaciel Feb 5, 2025
053f48e
feature/gridspec: mir-python integration
pmaciel Feb 6, 2025
2e4268e
pytest.ini update
pmaciel Feb 6, 2025
cd1514c
Update logo (#62)
sandorkertesz Feb 18, 2025
4d3d254
Merge branch 'main' into feature/merge-main-into-develop
sandorkertesz Feb 18, 2025
56b855f
Merge pull request #63 from ecmwf/feature/merge-main-into-develop
sandorkertesz Feb 18, 2025
cf0941d
mir backend
pmaciel Mar 4, 2025
2086b9f
mir backend
pmaciel Mar 5, 2025
28fb34e
mir backend
pmaciel Mar 5, 2025
9d5de9a
Change tests
sandorkertesz Mar 6, 2025
fd6dd79
Update interpolate docs
sandorkertesz Mar 12, 2025
ba9cadd
Merge pull request #67 from ecmwf/feature/update-docs
sandorkertesz Mar 12, 2025
72d2aaf
Merge branch 'main' into feature/merge-main-into-develop
sandorkertesz Mar 12, 2025
f4542ce
Merge pull request #68 from ecmwf/feature/merge-main-into-develop
sandorkertesz Mar 12, 2025
2df890a
Switch actions org from ecmwf-actions to ecmwf (#69)
recmanj Mar 21, 2025
f9bcbfc
Update README.md (#70)
Oisin-M Apr 4, 2025
ded2eca
WIP: add regrid method (#71)
sandorkertesz Apr 9, 2025
07a2126
mir backend, python>=3.11
pmaciel Apr 4, 2025
5395dd5
mir backend
pmaciel Apr 4, 2025
4b414d7
mir backend
pmaciel Apr 4, 2025
2107a49
mir backend
pmaciel Apr 9, 2025
1eecc66
regrid_grib
pmaciel May 21, 2025
587169d
regrid_grib
pmaciel May 21, 2025
0b0be6d
Revert "mir backend, python>=3.11"
pmaciel May 21, 2025
7f90487
Revert adding regrid_grib from top-level
pmaciel May 21, 2025
0dbc7b1
regrid_grib
pmaciel May 21, 2025
277fe44
mir backend: fix regrid output default
pmaciel May 22, 2025
8eaaaaf
Adjust backends, docs and tests (#75)
sandorkertesz Jul 15, 2025
88832ce
Use order key instead of ordering in healpix gridspec (#80)
sandorkertesz Jul 16, 2025
0507ada
Add orca tests (#81)
sandorkertesz Jul 16, 2025
07870fd
Update mir docs (#82)
sandorkertesz Jul 16, 2025
280ec05
Review output kwarg in regrid (#83)
sandorkertesz Jul 16, 2025
2d1887f
Allow lowercase Gaussian and HEALPix grid names (#84)
sandorkertesz Jul 16, 2025
32c4215
Add more MIR tests (#86)
sandorkertesz Jul 21, 2025
12c6f96
Re-enable in memory matrix cache (#88)
sandorkertesz Jul 21, 2025
1a094d2
Update mir docs (#89)
sandorkertesz Jul 22, 2025
e04d63c
Add mir-python dependency (#85)
sandorkertesz Jul 22, 2025
266f70a
Prepare release 0.5 (#90)
sandorkertesz Jul 22, 2025
3f35bef
Update mir docs (#92)
sandorkertesz Jul 23, 2025
bf0f118
Fix tetstll_to_ll_2 (#93)
sandorkertesz Jul 24, 2025
614b9f3
Update mir notebooks (#94)
sandorkertesz Jul 24, 2025
6475243
Remove mir dependency to make develop ci work (#95)
sandorkertesz Jul 24, 2025
68a1f06
Add xarray interface to regrid (#96)
sandorkertesz Jul 31, 2025
d753f36
Use new ecmwf remote data site (#100)
sandorkertesz Aug 11, 2025
8e12845
Subarea support (#97)
sandorkertesz Sep 4, 2025
498eae5
Add high and array level regrid interface (#102)
sandorkertesz Sep 10, 2025
6aa13db
Support HEALPix nested to 0.05 latlon interpolation (#104)
sandorkertesz Sep 17, 2025
1eb76ce
Release notes 0.4.2 (#105)
sandorkertesz Sep 17, 2025
adec132
Merge branch 'main' into feature/merge-0.4.2-into-develop
sandorkertesz Sep 17, 2025
226c86a
Merge pull request #106 from ecmwf/feature/merge-0.4.2-into-develop
sandorkertesz Sep 17, 2025
4a854eb
Update interpolate docs (#108)
sandorkertesz Sep 24, 2025
0a3cd78
Use new remote matrix host (#110)
sandorkertesz Oct 6, 2025
f0ca141
0.5.0 (#111)
sandorkertesz Oct 6, 2025
117eef9
Feature/update sw maturity in docs 2main (#112)
iainrussell Oct 15, 2025
f5687a6
Xarray gridspec
sandorkertesz Oct 28, 2025
15fd97e
Sort inventory docs items (#114)
sandorkertesz Nov 6, 2025
205e1b0
Merge from main
sandorkertesz Nov 6, 2025
6ed5d1a
Merge pull request #115 from ecmwf/feature/merge-main-into-develop-in…
sandorkertesz Nov 6, 2025
7ad85b1
Merge branch 'develop' into feature/iconch
sandorkertesz Nov 17, 2025
0c44990
User order key in healpix gridspec (#116)
sandorkertesz Dec 11, 2025
788a18e
Merge from 0.5.1 into develop
sandorkertesz Dec 11, 2025
72c0160
Merge pull request #117 from ecmwf/feature/merge-from-0-5-1-into-develop
sandorkertesz Dec 11, 2025
3b07491
Merge branch 'develop' into feature/iconch
sandorkertesz Jan 13, 2026
1a367a2
mir + eckit::geo testing
pmaciel Jan 13, 2026
ae699a3
mir + eckit::geo testing
pmaciel Jan 14, 2026
1960d7f
mir + eckit::geo testing
pmaciel Jan 14, 2026
2b2c73c
mir + eckit::geo testing
pmaciel Jan 26, 2026
fcc9f93
mir + eckit::geo testing
pmaciel Feb 4, 2026
0da1b05
Merge branch 'feature/iconch' into develop
pmaciel Feb 5, 2026
a5ef576
Fix fieldlist and xarray tests
sandorkertesz Feb 5, 2026
f094dda
Disable mir orca tests
sandorkertesz Feb 5, 2026
8fa9d29
Enable mir dependency
sandorkertesz Feb 5, 2026
76281ec
Enable mir dependency
sandorkertesz Feb 5, 2026
def5efc
Add binary dependencies to CI configuration
iainrussell Feb 5, 2026
05fbd73
Add CI configuration for binary dependencies
iainrussell Feb 5, 2026
c78101d
Add ecmwf/atlas to CI configuration
iainrussell Feb 5, 2026
be21676
Add ecmwf/atlas dependency to CI configuration
iainrussell Feb 5, 2026
2c50de3
Allow ek-regrid to use binaries built by ci
iainrussell Feb 5, 2026
0a75134
Update CI workflows to include eckit and mir
iainrussell Feb 5, 2026
7b4fba9
Skip ci on most hpc compilers
iainrussell Feb 5, 2026
6421cbb
Increase parallelism from 1 to 64 in CI config
iainrussell Feb 9, 2026
9058003
Add Python dependencies to CI configuration
iainrussell Feb 9, 2026
5652080
Update CI workflow to use specific branch for downstream CI
iainrussell Feb 9, 2026
8bd9833
Update CI config
iainrussell Feb 10, 2026
fb3de11
Update CI config
iainrussell Feb 10, 2026
45a9513
Moved files to regrid_merge subdir
sandorkertesz Feb 19, 2026
40cc101
Merge branch 'branch-from-regrid' into feature/merge-regrid
sandorkertesz Feb 19, 2026
8217584
Merge earthkit-regrid into earthkit-geo
sandorkertesz Feb 20, 2026
7f7ea22
Add QA
sandorkertesz Feb 20, 2026
2c7ab33
Merge pull request #32 from ecmwf/feature/merge-regrid
sandorkertesz Feb 20, 2026
382d2cd
Adapt regrid code to new earthkit-data fieldlist structure (#33)
sandorkertesz Mar 1, 2026
0461c01
Update mir and eckit dependencies (#34)
sandorkertesz Mar 2, 2026
7f7173e
Adapt xarray regridding to earthkit-data new field (#35)
sandorkertesz Mar 2, 2026
c92716c
Fix docs build
sandorkertesz Mar 11, 2026
2b9cb56
Fix docs build
sandorkertesz Mar 11, 2026
4c9480c
Fix docs build
sandorkertesz Mar 11, 2026
f136bba
Fix docs build
sandorkertesz Mar 12, 2026
b4b55ce
Adapt regrid to high level earthkit-data object (#36)
sandorkertesz Mar 12, 2026
954b1bd
fix: add static files needed for docs to earthkit-geo
Oisin-M Mar 13, 2026
c1f109a
fix: update docs with custom style
Oisin-M Mar 13, 2026
52d0ae6
Merge from develop and update pre-commit
sandorkertesz Mar 16, 2026
ddc6f09
Merge branch 'develop' into release/1.0.0rc0
sandorkertesz Mar 16, 2026
d956b23
Readd interpolation matrix memcache
sandorkertesz Mar 24, 2026
d3641a9
Fix cache not deleting files when exceeding limit
sandorkertesz Mar 24, 2026
b05541c
Update linting tools
sandorkertesz Mar 24, 2026
27cfdfa
Improve docs
sandorkertesz Mar 24, 2026
301690f
Fix typo
sandorkertesz Mar 24, 2026
aa18172
Remove legacy gridspec
sandorkertesz Mar 24, 2026
d2a5a28
Remove legacy gridspec
sandorkertesz Mar 25, 2026
e119ec3
earthkit.geo.Grid
pmaciel Mar 6, 2025
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
10 changes: 10 additions & 0 deletions .github/ci-config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
dependencies: |
ecmwf/ecbuild
MathisRosenhauer/libaec@refs/tags/v1.1.3
ecmwf/eccodes
ecmwf/eckit
ecmwf/atlas
ecmwf/mir
dependency_branch: develop
parallelism_factor: 8
self_build: false # Only for python packages
15 changes: 14 additions & 1 deletion .github/ci-hpc-config.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
build:
python: 3.10
parallel: 1
dependencies:
- ecmwf/ecbuild@develop
- MathisRosenhauer/libaec@refs/tags/v1.1.3
- ecmwf/eccodes@develop
- ecmwf/eckit@feature/eckit-geo
- ecmwf/atlas@develop
- ecmwf/mir@feature/eckit-geo
python_dependencies:
- ecmwf/eccodes-python@develop
- ecmwf/earthkit-data@develop
parallel: 64
pytest_cmd: |
pytest --cov=./ --cov-report=xml
python -m coverage report
2 changes: 1 addition & 1 deletion .github/workflows/cd-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: cd
on:
push:
tags:
- '**'
- '**'
jobs:
pypi:
uses: ecmwf/reusable-workflows/.github/workflows/cd-pypi.yml@v2
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,26 @@ on:
# Trigger the workflow on push to master or develop, except tag creation
push:
branches:
- 'main'
- 'develop'
- 'main'
- 'develop'
tags-ignore:
- '**'
- '**'
paths-ignore:
- "docs/**"
- "README.md"
- "docs/**"
- "README.md"
# Trigger the workflow on pull request
pull_request:
paths-ignore:
- "docs/**"
- "README.md"
- "docs/**"
- "README.md"
# Trigger the workflow manually
workflow_dispatch:
# Trigger after public PR approved for CI
pull_request_target:
types: [labeled]
paths-ignore:
- "docs/**"
- "README.md"
- "docs/**"
- "README.md"
jobs:
# Run CI including downstream packages on self-hosted runners
downstream-ci:
Expand Down
59 changes: 0 additions & 59 deletions .github/workflows/legacy-ci.yml

This file was deleted.

10 changes: 5 additions & 5 deletions .github/workflows/notify-new-issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ name: Notify new issue
on:
issues:
types:
- "opened"
- "opened"
jobs:
notify:
runs-on: ubuntu-latest
steps:
- name: Notify new issue
uses: ecmwf/notify-teams-issue@v1
with:
incoming_webhook: ${{ secrets.MS_TEAMS_INCOMING_WEBHOOK }}
- name: Notify new issue
uses: ecmwf/notify-teams-issue@v1
with:
incoming_webhook: ${{ secrets.MS_TEAMS_INCOMING_WEBHOOK }}
10 changes: 5 additions & 5 deletions .github/workflows/notify-new-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ name: Notify new PR
on:
pull_request_target:
types:
- "opened"
- "opened"
jobs:
notify:
runs-on: ubuntu-latest
steps:
- name: Notify new PR
uses: ecmwf/notify-teams-pr@v1
with:
incoming_webhook: ${{ secrets.MS_TEAMS_INCOMING_WEBHOOK }}
- name: Notify new PR
uses: ecmwf/notify-teams-pr@v1
with:
incoming_webhook: ${{ secrets.MS_TEAMS_INCOMING_WEBHOOK }}
10 changes: 10 additions & 0 deletions .github/workflows/python-pull-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: Code Quality checks for PRs
on:
push:
pull_request:
types: [opened, synchronize, reopened]
jobs:
quality:
uses: ecmwf/reusable-workflows/.github/workflows/qa-precommit-run.yml@v2
with:
skip-hooks: "no-commit-to-branch"
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -360,3 +360,11 @@ tags

# local code
_dev


# data and precomputed weights
*.grib
*.grib1
*.grib2
*.json
*.npz
93 changes: 40 additions & 53 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,54 +1,41 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: trailing-whitespace # Trailing whitespace checker
- id: end-of-file-fixer # Ensure files end in a newline
- id: check-json
- id: check-yaml # Check YAML files for syntax errors only
args: [--unsafe, --allow-multiple-documents]
- id: check-toml
# - id: check-added-large-files
- id: debug-statements # Check for debugger imports and py37+ breakpoint()
- id: mixed-line-ending
- id: no-commit-to-branch # Prevent committing to main / master
- id: check-merge-conflict # Check for files that contain merge conflict
exclude: /README\.rst$|^docs/.*\.rst$
- repo: https://github.com/psf/black
rev: 24.8.0
hooks:
- id: black
args: [--line-length=120]
- repo: https://github.com/keewis/blackdoc
rev: v0.3.8
hooks:
- id: blackdoc
additional_dependencies: [black==23.3.0]
exclude: xr_engine_profile_rst\.py
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.6.9
hooks:
- id: ruff
exclude: '(dev/.*|.*_)\.py$'
args:
- --line-length=120
- --fix
- --exit-non-zero-on-fix
- --preview
- repo: https://github.com/executablebooks/mdformat
rev: 0.7.14
hooks:
- id: mdformat
exclude: cruft-update-template.md
- repo: https://github.com/google/yamlfmt
rev: v0.13.0
hooks:
- id: yamlfmt
- repo: https://github.com/sphinx-contrib/sphinx-lint
rev: v1.0.0
hooks:
- id: sphinx-lint
- repo: https://github.com/tox-dev/pyproject-fmt
rev: "v2.5.0"
hooks:
- id: pyproject-fmt
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: trailing-whitespace # Trailing whitespace checker
- id: end-of-file-fixer # Ensure files end in a newline
- id: check-json
- id: check-yaml # Check YAML files for syntax errors only
args: [--unsafe, --allow-multiple-documents]
- id: check-toml
# - id: check-added-large-files
- id: debug-statements # Check for debugger imports and py37+ breakpoint()
- id: mixed-line-ending
- id: no-commit-to-branch # Prevent committing to main / master
- id: check-merge-conflict # Check for files that contain merge conflict
exclude: /README\.rst$|^docs/.*\.rst$
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.15.4
hooks:
- id: ruff-check
exclude: '(docs/conf|dev/.*|.*_)\.py$|docs/experimental/.*\.ipynb$'
args:
- --fix
- --exit-non-zero-on-fix
- id: ruff-format
- repo: https://github.com/executablebooks/mdformat
rev: 0.7.14
hooks:
- id: mdformat
exclude: cruft-update-template.md
- repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks
rev: v2.16.0
hooks:
- id: pretty-format-yaml
args: [--autofix, --preserve-quotes]
- id: pretty-format-toml
args: [--autofix]
- repo: https://github.com/sphinx-contrib/sphinx-lint
rev: v1.0.0
hooks:
- id: sphinx-lint
6 changes: 4 additions & 2 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@ formats: []
build:
os: "ubuntu-22.04"
tools:
python: "3.9"
python: "3.10"
python:
install:
- requirements: docs/requirements.txt
- requirements: docs/requirements.txt
- method: pip
path: .
sphinx:
configuration: docs/conf.py
Loading
Loading