Skip to content

Commit

Permalink
Fix pre-commit regex (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
b8raoult authored Oct 22, 2024
1 parent f14a564 commit 081108b
Show file tree
Hide file tree
Showing 3 changed files with 6 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
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ Keep it human-readable, your future self will thank you!

## [Unreleased](https://github.com/ecmwf/anemoi-utils/compare/0.4.0...HEAD)

### Changed

- Fix pre-commit regex

## [0.4.0](https://github.com/ecmwf/anemoi-utils/compare/0.3.18...0.4.0) - 2024-10-11

### Added
Expand Down
2 changes: 1 addition & 1 deletion src/anemoi/utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# nor does it submit to any jurisdiction.


from ._version import __version__
from ._version import __version__ as __version__

0 comments on commit 081108b

Please sign in to comment.