Skip to content

Commit 4592c91

Browse files
authored
TST: update ruff and codespell versions (#165)
* TST: update ruff and codespell versions * Fix typos
1 parent b438c9e commit 4592c91

File tree

4 files changed

+9
-7
lines changed

4 files changed

+9
-7
lines changed

.github/workflows/publish.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
run: python -m build
3333
- name: Publish Python package to PyPI
3434
uses: pypa/gh-action-pypi-publish@release/v1
35-
# Docuemntation
35+
# Documentation
3636
- name: Install doc dependencies
3737
run: |
3838
pip install -r requirements.txt

.pre-commit-config.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ default_language_version:
1313

1414
repos:
1515
- repo: https://github.com/astral-sh/ruff-pre-commit
16-
rev: v0.1.8
16+
rev: v0.7.0
1717
hooks:
1818
- id: ruff
1919
args: [ --fix ]
2020
- id: ruff-format
2121
- repo: https://github.com/codespell-project/codespell
22-
rev: v2.2.4
22+
rev: v2.3.0
2323
hooks:
2424
- id: codespell
2525
additional_dependencies:

audeer/core/io.py

+5-3
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ def extract_archive(
293293
verbose: if ``True`` a progress bar is shown
294294
295295
Returns:
296-
paths of extracted files relative to ``destintation``
296+
paths of extracted files relative to ``destination``
297297
in order they were added to the archive
298298
299299
Raises:
@@ -421,7 +421,7 @@ def extract_archives(
421421
verbose: if ``True`` a progress bar is shown
422422
423423
Returns:
424-
paths of extracted files relative to ``destintation``
424+
paths of extracted files relative to ``destination``
425425
in order they were added to the archives
426426
427427
Raises:
@@ -596,7 +596,9 @@ def list_file_names(
596596
['album.wav', 'file.wav', 'sub/file.ogg']
597597
>>> audeer.list_file_names(dir_path, basenames=True, recursive=True, hidden=True)
598598
['.lock', 'album.wav', 'file.wav', 'sub/.lock', 'sub/file.ogg']
599-
>>> audeer.list_file_names(os.path.join(dir_path, "f*"), basenames=True, recursive=True)
599+
>>> audeer.list_file_names(
600+
... os.path.join(dir_path, "f*"), basenames=True, recursive=True
601+
... )
600602
['file.wav', 'sub/file.ogg']
601603
>>> audeer.list_file_names(
602604
... os.path.join(dir_path, "[fa]*"), basenames=True, recursive=True

audeer/core/tqdm.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def progress_bar(
5454
r"""Progress bar with optional text on the right.
5555
5656
If you want to show a constant description text
57-
during presenting the prgress bar,
57+
during presenting the progress bar,
5858
you can use it similar to:
5959
6060
.. code-block:: python

0 commit comments

Comments
 (0)