Skip to content

Commit

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

* Fix code
  • Loading branch information
hagenw authored Dec 16, 2024
1 parent 4fd2ae1 commit a24114d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
- name: Publish Python package to PyPI
uses: pypa/gh-action-pypi-publish@release/v1

# Docuemntation
# Documentation
- name: Prepare Ubuntu
run: |
sudo apt-get update
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
6 changes: 5 additions & 1 deletion audformat/core/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,11 @@ def get(
>>> import audb
>>> db = audb.load(
... "emodb", version="1.4.1", only_metadata=True, full_path=False, verbose=False
... "emodb",
... version="1.4.1",
... only_metadata=True,
... full_path=False,
... verbose=False,
... )
>>> db.get("emotion").head()
emotion
Expand Down

0 comments on commit a24114d

Please sign in to comment.