Skip to content

Commit

Permalink
Fix flake8 errors/warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
h3llrais3r committed Aug 13, 2020
1 parent 5102e7e commit 02c298d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions pytest.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ norecursedirs = .cache .eggs .git .github .idea .pytest_cache .tox *.egg-info bu
addopts = --flake8 --verbose
flake8-max-line-length = 120
flake8-ignore =
W504
W605
autosubliminal/core/scheduler.py E722
autosubliminal/providers/addic7ed_custom.py F401 E741
Expand Down
2 changes: 1 addition & 1 deletion tests/util/test_filesystem.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def test_check_missing_subtitle_languages(monkeypatch, mocker):
dirname = os.path.abspath(os.path.join(os.path.dirname(__file__), '..', 'resources'))
missing_languages = ['de', 'fr']
assert missing_languages == sorted(
l for l in check_missing_subtitle_languages(dirname, filename, scan_embedded=True, scan_hardcoded=True))
lang for lang in check_missing_subtitle_languages(dirname, filename, scan_embedded=True, scan_hardcoded=True))


def test_check_missing_subtitle_languages_with_langdetect(monkeypatch, mocker):
Expand Down

0 comments on commit 02c298d

Please sign in to comment.