File tree Expand file tree Collapse file tree 3 files changed +13
-9
lines changed Expand file tree Collapse file tree 3 files changed +13
-9
lines changed Original file line number Diff line number Diff line change 55:license: BSD, see LICENSE for more details.
66"""
77
8- __version__ = "7.0.5 "
8+ __version__ = "7.0.6 "
99__project__ = "pylama"
1010__author__ = "Kirill Klenov <horneds@gmail.com>"
1111__license__ = "GNU LGPL"
Original file line number Diff line number Diff line change 2626except ImportError :
2727 pass
2828
29- try :
30- from pkg_resources import iter_entry_points
3129
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 :
3435 LINTERS [entry .name ] = entry .load ()()
35- except ImportError :
36- pass
36+ except ImportError :
37+ pass
3738
3839# pylama:ignore=E0611
Original file line number Diff line number Diff line change 77
88
99from pylama .lint .extensions import LINTERS
10- from pylama .lint .pylama_pylint import Linter
1110
12- LINTERS ['pylint' ] = Linter ()
11+ try :
12+ from pylama .lint .pylama_pylint import Linter
13+ LINTERS ['pylint' ] = Linter ()
14+ except Exception : # noqa
15+ pass
1316
1417
1518def code_check ():
You can’t perform that action at this time.
0 commit comments