File tree 3 files changed +13
-9
lines changed
3 files changed +13
-9
lines changed Original file line number Diff line number Diff line change 5
5
:license: BSD, see LICENSE for more details.
6
6
"""
7
7
8
- __version__ = "7.0.5 "
8
+ __version__ = "7.0.6 "
9
9
__project__ = "pylama"
10
10
__author__ = "Kirill Klenov <horneds@gmail.com>"
11
11
__license__ = "GNU LGPL"
Original file line number Diff line number Diff line change 26
26
except ImportError :
27
27
pass
28
28
29
- try :
30
- from pkg_resources import iter_entry_points
31
29
32
- for entry in iter_entry_points ('pylama.linter' ):
33
- if entry .name not in LINTERS :
30
+ from pkg_resources import iter_entry_points
31
+
32
+ for entry in iter_entry_points ('pylama.linter' ):
33
+ if entry .name not in LINTERS :
34
+ try :
34
35
LINTERS [entry .name ] = entry .load ()()
35
- except ImportError :
36
- pass
36
+ except ImportError :
37
+ pass
37
38
38
39
# pylama:ignore=E0611
Original file line number Diff line number Diff line change 7
7
8
8
9
9
from pylama .lint .extensions import LINTERS
10
- from pylama .lint .pylama_pylint import Linter
11
10
12
- LINTERS ['pylint' ] = Linter ()
11
+ try :
12
+ from pylama .lint .pylama_pylint import Linter
13
+ LINTERS ['pylint' ] = Linter ()
14
+ except Exception : # noqa
15
+ pass
13
16
14
17
15
18
def code_check ():
You can’t perform that action at this time.
0 commit comments