Skip to content

Commit

Permalink
TST: update ruff and codespell versions (#156)
Browse files Browse the repository at this point in the history
* TST: update ruff and codespell versions

* Fix linter
  • Loading branch information
hagenw authored Dec 16, 2024
1 parent 550e86a commit f32a612
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
run: python -m build
- name: Publish Python package to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
# Docuemntation
# Documentation
- name: Install doc dependencies
run: |
pip install -r requirements.txt
Expand Down
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
1 change: 1 addition & 0 deletions audiofile/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Read, write, and get information about audio files."""

from audiofile.core.info import bit_depth
from audiofile.core.info import channels
from audiofile.core.info import duration
Expand Down
1 change: 1 addition & 0 deletions audiofile/core/info.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Read, write, and get information about audio files."""

import os
import subprocess
import tempfile
Expand Down

0 comments on commit f32a612

Please sign in to comment.