Skip to content

Commit e5af8e9

Browse files
committed
Update pylama
1 parent c65773c commit e5af8e9

6 files changed

Lines changed: 11 additions & 430 deletions

File tree

pymode/libs/pylama/lint/pylama_pylint/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# ==================
55

66

7-
__version__ = '0.1.3'
7+
__version__ = '0.1.5'
88
__project__ = 'pylama_pylint'
99
__author__ = "horneds <horneds@gmail.com>"
1010
__license__ = "BSD"

pymode/libs/pylama/lint/pylama_pylint/astroid/__init__.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -106,13 +106,13 @@ def transform(node, infer_function=infer_function):
106106
return transform
107107

108108
# load brain plugins
109-
from os import listdir
110-
from os.path import join, dirname
111-
BRAIN_MODULES_DIR = join(dirname(__file__), 'brain')
112-
if BRAIN_MODULES_DIR not in sys.path:
113-
# add it to the end of the list so user path take precedence
114-
sys.path.append(BRAIN_MODULES_DIR)
115-
# load modules in this directory
116-
for module in listdir(BRAIN_MODULES_DIR):
117-
if module.endswith('.py'):
118-
__import__(module[:-3])
109+
# from os import listdir
110+
# from os.path import join, dirname
111+
# BRAIN_MODULES_DIR = join(dirname(__file__), 'brain')
112+
# if BRAIN_MODULES_DIR not in sys.path:
113+
# # add it to the end of the list so user path take precedence
114+
# sys.path.append(BRAIN_MODULES_DIR)
115+
# # load modules in this directory
116+
# for module in listdir(BRAIN_MODULES_DIR):
117+
# if module.endswith('.py'):
118+
# __import__(module[:-3])

pymode/libs/pylama/lint/pylama_pylint/astroid/brain/py2gi.py

Lines changed: 0 additions & 147 deletions
This file was deleted.

pymode/libs/pylama/lint/pylama_pylint/astroid/brain/py2mechanize.py

Lines changed: 0 additions & 20 deletions
This file was deleted.

pymode/libs/pylama/lint/pylama_pylint/astroid/brain/py2qt4.py

Lines changed: 0 additions & 25 deletions
This file was deleted.

0 commit comments

Comments
 (0)