Skip to content

Commit

Permalink
Merge pull request #15 from openclimatefix/pre-commit-ci-update-config
Browse files Browse the repository at this point in the history
[pre-commit.ci] pre-commit autoupdate
  • Loading branch information
peterdudfield authored Jul 29, 2024
2 parents 8bced81 + 8084725 commit fea54fe
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ default_language_version:

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v4.6.0
hooks:
# list of supported hooks: https://pre-commit.com/hooks.html
- id: trailing-whitespace
Expand All @@ -12,20 +12,20 @@ repos:
- id: detect-private-key

# python code formatting/linting
- repo: https://github.com/charliermarsh/ruff-pre-commit
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: "v0.0.260"
rev: "v0.5.5"
hooks:
- id: ruff
args: [--fix]
- repo: https://github.com/psf/black
rev: 23.3.0
rev: 24.4.2
hooks:
- id: black
args: [--line-length, "100"]
# yaml formatting
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.0.0-alpha.6
rev: v4.0.0-alpha.8
hooks:
- id: prettier
types: [yaml]
1 change: 1 addition & 0 deletions ocf_blosc2/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
""" Main init file """

from .ocf_blosc2 import Blosc2
1 change: 1 addition & 0 deletions ocf_blosc2/ocf_blosc2.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
""" Main code file """

import blosc2
from numcodecs.abc import Codec
from numcodecs.compat import ensure_contiguous_ndarray
Expand Down

0 comments on commit fea54fe

Please sign in to comment.