Skip to content

Commit b02909d

Browse files
committed
Use consolekit to provide terminal_colours.Fore
1 parent 14dc950 commit b02909d

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

tests/test_flake8_dunder_all.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,12 @@
66

77
# 3rd party
88
import pytest
9+
from consolekit.terminal_colours import Fore
910
from domdf_python_tools.paths import PathPlus
10-
from domdf_python_tools.terminal_colours import Fore
1111

1212
# this package
13-
from flake8_dunder_all import Visitor, check_and_add_all, mark_text_ranges
13+
from flake8_dunder_all import Visitor, check_and_add_all
14+
from flake8_dunder_all.utils import mark_text_ranges
1415
from tests.common import (
1516
mangled_source,
1617
results,

tests/test_main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
# 3rd party
66
import pytest
7+
from consolekit.terminal_colours import Fore
78
from domdf_python_tools.paths import PathPlus
8-
from domdf_python_tools.terminal_colours import Fore
99

1010
# this package
1111
from flake8_dunder_all.__main__ import main

0 commit comments

Comments
 (0)