summaryrefslogtreecommitdiff
path: root/pylint/checkers/spelling.py
diff options
context:
space:
mode:
authorDamien Baty <damien.baty@polyconseil.fr>2020-07-06 00:01:50 +0200
committerPierre Sassoulas <pierre.sassoulas@gmail.com>2020-08-18 09:12:33 +0200
commit89f1a6fa3a73297da5c9e7c53a395fad3de85e3f (patch)
tree6eb04f498073a2e24916581813d25e92298b1b0c /pylint/checkers/spelling.py
parent9bc9bdf533213ba967b5199aa9f3246f08f8999c (diff)
downloadpylint-git-89f1a6fa3a73297da5c9e7c53a395fad3de85e3f.tar.gz
Switch to isort 5 for pylint's own code
Diffstat (limited to 'pylint/checkers/spelling.py')
-rw-r--r--pylint/checkers/spelling.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/pylint/checkers/spelling.py b/pylint/checkers/spelling.py
index ad5ac9c21..dea75bef8 100644
--- a/pylint/checkers/spelling.py
+++ b/pylint/checkers/spelling.py
@@ -21,7 +21,6 @@
"""Checker for spelling errors in comments and docstrings.
"""
-
import os
import re
import tokenize
@@ -33,12 +32,12 @@ from pylint.interfaces import IAstroidChecker, ITokenChecker
try:
import enchant
from enchant.tokenize import ( # type: ignore
- get_tokenizer,
Chunker,
- Filter,
EmailFilter,
+ Filter,
URLFilter,
WikiWordFilter,
+ get_tokenizer,
)
except ImportError:
enchant = None