Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
zackees committed Jul 11, 2023
1 parent ed1ef2f commit 95facb6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion transcribe_anything/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Api for using transcribe_anything from python. Allows bulk processing.
"""

# pylint: disable=too-many-arguments,broad-except,too-many-locals,unsupported-binary-operation,too-many-branches,too-many-statements,disable=notimplemented-raised,unused-variable
# pylint: disable=too-many-arguments,broad-except,too-many-locals,unsupported-binary-operation,too-many-branches,too-many-statements,disable=notimplemented-raised,unused-variable,line-too-long

# flake8: noqa F401,E303,F821

Expand Down
2 changes: 1 addition & 1 deletion transcribe_anything/audio.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def _convert_to_wav(


def fetch_audio(url_or_file: str, out_wav: str) -> None:
"""Fetches from the internet or from a local file and outputs a wav file."""
"""Fetches from the internet or from a local file and outputs a wav file."""
assert out_wav.endswith(".wav")
static_ffmpeg.add_paths() # pylint: disable=no-member
if url_or_file.startswith("http") or url_or_file.startswith("ftp"):
Expand Down

0 comments on commit 95facb6

Please sign in to comment.