summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorPierre Sassoulas <pierre.sassoulas@gmail.com>2019-03-09 11:22:36 +0100
committerClaudiu Popa <pcmanticore@gmail.com>2019-03-20 09:07:35 +0100
commit5ab140ac3b3dda6f32e0f73aeec09abf015ea30f (patch)
treee0f633c7e63f7e0183c676c4d9e94d7986309b88 /examples
parenta422e9750843f3b41a6919b9a5fa2c7d54593394 (diff)
downloadpylint-git-5ab140ac3b3dda6f32e0f73aeec09abf015ea30f.tar.gz
Style - Apply isort on all apllicable files
Diffstat (limited to 'examples')
-rw-r--r--examples/custom.py2
-rw-r--r--examples/custom_raw.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/examples/custom.py b/examples/custom.py
index 54c2937b1..039b018b8 100644
--- a/examples/custom.py
+++ b/examples/custom.py
@@ -1,7 +1,7 @@
import astroid
-from pylint.interfaces import IAstroidChecker
from pylint.checkers import BaseChecker
+from pylint.interfaces import IAstroidChecker
# This is our checker class.
diff --git a/examples/custom_raw.py b/examples/custom_raw.py
index a86666724..fb28d4931 100644
--- a/examples/custom_raw.py
+++ b/examples/custom_raw.py
@@ -1,5 +1,6 @@
-from pylint.interfaces import IRawChecker
from pylint.checkers import BaseChecker
+from pylint.interfaces import IRawChecker
+
class MyRawChecker(BaseChecker):
"""check for line continuations with '\' instead of using triple
@@ -31,4 +32,3 @@ class MyRawChecker(BaseChecker):
def register(linter):
"""required method to auto register this checker"""
linter.register_checker(MyRawChecker(linter))
-