Skip to content

Commit bff387b

Browse files
committed
Silence the linter
1 parent 49e27cc commit bff387b

File tree

4 files changed

+10
-5
lines changed

4 files changed

+10
-5
lines changed

wordcount/tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
from fixtures import *
1+
from fixtures import * # noqa
22

33
pytest_plugins = ["realpython"]

wordcount/tests/realpython/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# flake8: noqa
2+
13
from .assertions import *
24
from .constants import *
35
from .hooks import *

wordcount/tests/realpython/hooks.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,12 @@
1111
from pytest import Config, Item, Parser, Session, TestReport
1212

1313
from . import RealPythonAssertionError
14-
from .constants import (COMMAND_TASK, MIN_FAILURES_BEFORE_HINT,
15-
STASH_REPORT_KEY, TEST_TIMEOUT_SECONDS)
14+
from .constants import (
15+
COMMAND_TASK,
16+
MIN_FAILURES_BEFORE_HINT,
17+
STASH_REPORT_KEY,
18+
TEST_TIMEOUT_SECONDS,
19+
)
1620
from .models import ExerciseProgress, TestRun, TestStatus
1721
from .resources import Resource
1822
from .view import Display

wordcount/tests/realpython/view.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@
44
from rich.console import Console, Group
55
from rich.markdown import Markdown
66
from rich.panel import Panel
7-
from rich.progress import BarColumn
7+
from rich.progress import BarColumn, TextColumn
88
from rich.progress import Progress as ProgressBar
9-
from rich.progress import TextColumn
109
from rich.table import Table
1110
from rich.tree import Tree
1211

0 commit comments

Comments
 (0)