diff --git a/.flake8 b/.flake8 index 0f9f34f..dfadb20 100644 --- a/.flake8 +++ b/.flake8 @@ -1,2 +1,3 @@ [flake8] max-line-length = 111 +per-file-ignores = tests/bridge/*:E501 diff --git a/tests/bridge/test_animeultime.py b/tests/bridge/test_animeultime.py index 2a179d1..e5943e6 100644 --- a/tests/bridge/test_animeultime.py +++ b/tests/bridge/test_animeultime.py @@ -1,4 +1,3 @@ -# flake8: noqa: E501 from datetime import datetime, timedelta from pynyaata2.bridge.animeultime import AnimeUltime diff --git a/tests/bridge/test_nyaa.py b/tests/bridge/test_nyaa.py index 0f28f2f..89d4b40 100644 --- a/tests/bridge/test_nyaa.py +++ b/tests/bridge/test_nyaa.py @@ -1,7 +1,6 @@ -# flake8: noqa: E501 from typing import List -from pynyaata2.bridge.nyaa import Nyaa, EraiRaws +from pynyaata2.bridge.nyaa import EraiRaws, Nyaa from pynyaata2.types import Color, RemoteFile from pytest import mark diff --git a/tests/filters_test.py b/tests/filters_test.py index 38c1456..f07d087 100644 --- a/tests/filters_test.py +++ b/tests/filters_test.py @@ -53,3 +53,4 @@ def test_trusted(monkeypatch: MonkeyPatch): assert alter_remotes[0].color == Color.PRIMARY assert alter_remotes[1].color == Color.PRIMARY + assert alter_remotes[2].color == Color.DEFAULT diff --git a/tests/translations_test.py b/tests/translations_test.py new file mode 100644 index 0000000..e69de29