Skip to content

Commit

Permalink
TST: update ruff and codespell versions (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
hagenw authored Dec 16, 2024
1 parent b26e916 commit 27b2672
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ default_language_version:

repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.8
rev: v0.7.0
hooks:
- id: ruff
args: [ --fix ]
- id: ruff-format
- repo: https://github.com/codespell-project/codespell
rev: v2.2.4
rev: v2.3.0
hooks:
- id: codespell
additional_dependencies:
Expand Down
2 changes: 1 addition & 1 deletion auglib/core/transform.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ def __call__(
is not support
by chosen transform parameters
ValueError: if ``sampling_rate`` is ``None``,
but the transform requires a samling rate
but the transform requires a sampling rate
RuntimeError: if the given sampling rate is incompatible
with the transform
Expand Down
1 change: 1 addition & 0 deletions auglib/observe/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ def __call__(self) -> int:
"""

from auglib.core.observe import Base
from auglib.core.observe import Bool
from auglib.core.observe import FloatNorm
Expand Down

0 comments on commit 27b2672

Please sign in to comment.