Commit Graph

11 Commits

Author SHA1 Message Date
Claudiu Popa
ec09cc7578 Even more granular copyrights (thanks to copyrite) 2016-07-23 00:22:28 +03:00
Claudiu Popa
211d81f84f Keep a consistent copyright notice across the board.
This was changed automatically in #894, but apparently
we need to have the copyright notice somewhere.
2016-07-19 17:42:07 +03:00
Claudiu Popa
bcd687e13d Use the current interpreter's epylint.lint
epylint.py_run was calling *epylint* script in order to
do the computation. But this was prone to failures,
in the case where we have multiple installations of Pylint,
for different Python versions, which actually led to crashes
when a Python 2's py_run call was calling epylint's belonging
to Python 3. Instead of calling epylint script directly,
we are calling Python with our known epylint code.
In order to do this, we also had to switch the shell argument
to False.

Closes #441
2016-07-19 16:28:52 +03:00
Claudiu Popa
9aa5aa543b Run pylint from epylint using -c.
This gets rid of a potential issue which can occur if epylint was calling pylint
with lint.py instead. When this was happening, the first entry of sys.path would
have been the directory of pylint which contains lint.py. At the same time, if
someone analyzes, with epylint, a file that contains an import of a module,
and that module has the same name as one of the modules that are coming along
with pylint's lint.py, then instead of importing the module from site-packages,
the pylint's module would have been imported instead.

Close #920
2016-06-23 16:25:44 +01:00
Claudiu Popa
8322781baa Add the new shorter license header, including to missing files. Close #894. 2016-06-01 16:25:07 +01:00
Claudiu Popa
1cdb8bc0b7 epylint.py_run does not crash on big files, using .communicate() instead of .wait()
Close #599
2016-03-28 18:46:48 +01:00
Claudiu Popa
e87abe90f2 Fix new import related errors in pylint's codebase. 2015-11-25 15:12:59 +02:00
Claudiu Popa
28bd68d906 Fix multiple-imports error in epylint.py 2015-10-02 18:09:09 +03:00
Claudiu Popa
f67d43227e Fix some pylint warnings over pylint's codebase. 2015-05-16 18:25:57 +03:00
Mihai Balint
e0f2c50566 start removing checks from disabled list, fix code to make sure these pass: C0102,C0112,C0121,C0202,C0203,C0204,C0301 2015-02-28 17:13:21 +02:00
Ionel Cristian Maries
26eb7f9a2e Move all package files to a pylint package. 2015-02-14 18:13:20 +02:00