summaryrefslogtreecommitdiff
path: root/pylint/checkers/spelling.py
diff options
context:
space:
mode:
Diffstat (limited to 'pylint/checkers/spelling.py')
-rw-r--r--pylint/checkers/spelling.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/pylint/checkers/spelling.py b/pylint/checkers/spelling.py
index df99f6b3e..f1952e89f 100644
--- a/pylint/checkers/spelling.py
+++ b/pylint/checkers/spelling.py
@@ -19,8 +19,12 @@
"""
import os
-import tokenize
import re
+import tokenize
+
+from pylint.checkers import BaseTokenChecker
+from pylint.checkers.utils import check_messages
+from pylint.interfaces import IAstroidChecker, ITokenChecker
try:
import enchant
@@ -43,9 +47,6 @@ except ImportError:
pass
-from pylint.interfaces import ITokenChecker, IAstroidChecker
-from pylint.checkers import BaseTokenChecker
-from pylint.checkers.utils import check_messages
if enchant is not None:
br = enchant.Broker()