File tree Expand file tree Collapse file tree 4 files changed +9
-19
lines changed
Expand file tree Collapse file tree 4 files changed +9
-19
lines changed Original file line number Diff line number Diff line change 11"""
22"""
33
4- # pylint: disable=relative-import,wrong-import-position, unused-argument,abstract-method
4+ # pylint: disable=unused-argument,abstract-method
55
6- from gevent .monkey import patch_all
7- from gevent .subprocess import Popen , PIPE
6+ import os .path
7+ import re
8+ from subprocess import Popen , PIPE
89
910from .adapter import Adapter
1011
11- import os .path
12- import re
1312
1413def _get_abspath (path ):
1514 """Find absolute path of the specified `path`
Original file line number Diff line number Diff line change 44 path.internal.bin.upstream
55"""
66
7- # pylint: disable=relative-import,wrong-import-position,wrong-import-order
7+ # pylint: disable=relative-import
88
99from __future__ import print_function
1010
11- from gevent .monkey import patch_all
12- from gevent .subprocess import Popen , PIPE
13-
1411import os
1512import re
13+ from subprocess import Popen , PIPE
1614
1715from polyglot .detect import Detector
1816from polyglot .detect .base import UnknownLanguage
Original file line number Diff line number Diff line change 1818Configuration parameters:
1919"""
2020
21- # pylint: disable=wrong-import-position,wrong-import-order
22-
2321from __future__ import print_function
2422
25- from gevent .monkey import patch_all
26- from gevent .subprocess import Popen
27-
2823import sys
2924import os
3025import textwrap
3126import hashlib
3227import re
3328from itertools import groupby , chain
29+ from subprocess import Popen
3430from tempfile import NamedTemporaryFile
3531
3632from config import CONFIG
Original file line number Diff line number Diff line change 55 path.internal.ansi2html
66"""
77
8- from gevent .monkey import patch_all
9- from gevent .subprocess import Popen , PIPE
10-
11- # pylint: disable=wrong-import-position,wrong-import-order
128import sys
139import os
1410import re
11+ from subprocess import Popen , PIPE
1512
1613MYDIR = os .path .abspath (os .path .join (__file__ , '..' , '..' ))
1714sys .path .append ("%s/lib/" % MYDIR )
1815
16+ # pylint: disable=wrong-import-position
1917from config import CONFIG
2018from globals import error
2119from buttons import TWITTER_BUTTON , GITHUB_BUTTON , GITHUB_BUTTON_FOOTER
2220import frontend .ansi
23- # pylint: disable=wrong-import-position,wrong-import-order
2421
2522# temporary having it here, but actually we have the same data
2623# in the adapter module
You can’t perform that action at this time.
0 commit comments