Skip to content

Commit

Permalink
Merge pull request #64 from ecmwf/bugfix/pre-commit-regex
Browse files Browse the repository at this point in the history
Fix pre-commit regex
  • Loading branch information
HCookie authored Oct 25, 2024
2 parents 7427324 + 569cbc3 commit d48ac7b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,12 @@ repos:
rev: v0.6.9
hooks:
- id: ruff
# Next line if for documenation cod snippets
exclude: '.*/[^_].*_\.py$'
args:
- --line-length=120
- --fix
- --exit-non-zero-on-fix
- --preview
- --exclude=docs/**/*_.py
- repo: https://github.com/sphinx-contrib/sphinx-lint
rev: v1.0.0
hooks:
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ Keep it human-readable, your future self will thank you!
### Changed
- ci: small fixes and updates pre-commit, downsteam-ci (#49)
- Update CODEOWNERS
- Fix pre-commit regex
- ci: extened python versions to include 3.11 and 3.12
- Update copyright notice
- Fix `__version__` import in init
Expand Down
1 change: 0 additions & 1 deletion src/anemoi/graphs/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
# granted to it by virtue of its status as an intergovernmental organisation
# nor does it submit to any jurisdiction.


EARTH_RADIUS = 6371.0 # km
try:
# NOTE: the `_version.py` file must not be present in the git repository
Expand Down

0 comments on commit d48ac7b

Please sign in to comment.