summaryrefslogtreecommitdiff
path: root/lint.py
Commit message (Collapse)AuthorAgeFilesLines
* Move all package files to a pylint package.Ionel Cristian Maries2015-02-141-1332/+0
|
* Fix a crash which occurred when using multiple jobs and the filesClaudiu Popa2015-01-161-2/+2
| | | | given as argument didn't exist at all.
* one more improvement for passing configuration to sublintersMichal Nowikowski2015-01-141-18/+10
|
* improved filtering out opts for ignoring in sublintersMichal Nowikowski2015-01-141-8/+13
|
* Fixed passing configuration from master linter to sublinters. Closes issue #374.Michal Nowikowski2015-01-071-20/+18
|
* Use the new Module.stream, since Module.file_stream is deprecated.Claudiu Popa2015-01-031-10/+0
|
* Cleanup lint.py.Claudiu Popa2015-01-021-107/+113
| | | | | Import modules, instead of objects from them, used only once. Trim a couple of long lines, remove a couple of unused variables and so on.
* Use the new Module.close to close the file streams.Claudiu Popa2014-11-251-8/+2
|
* Simplify the passing of config to sublinters.Claudiu Popa2014-11-231-19/+17
| | | | | This implementation is still suboptimal for most of the cases, but at least it passes the configuration obtain through pylintrc correctly. Thus, enabled and disabled messages in pylintrc should reach sublinters as well.
* Add options to control extension loading in astroid.Torsten Marek2014-11-221-1/+17
|
* Close the file_stream of the ast node after analysing it.Claudiu Popa2014-11-221-0/+14
| | | | | This ensures that we don't leak open fds and that we are well-behavioured for PyPy (previously, the file were closed due to gc).
* pylint pylintSylvain Th?nault2014-11-191-22/+22
|
* Remove get_init_args from the Message class and move it as private function ↵Claudiu Popa2014-11-171-1/+17
| | | | in lint.py.
* Add a new CLI option, '--py3k'.Claudiu Popa2014-11-171-0/+12
| | | | | | | | | This option will enable the Python 3 porting mode. This mode will emit warnings and errors for constructs invalid or removed in Python 3, helping the users of Pylint to port their projects.
* Add support for disabling a checker.Claudiu Popa2014-11-161-0/+5
| | | | | | | | | A checker can be disabled (all of its messages will not be emitted) by specifying an 'enabled' attribute on the checker class. Currently, this is used to disable the Python3 porting checker, which will be enabled by the '--py3k' flag.
* Add support for using both --jobs and -m switch on Windows and Python 2.Claudiu Popa2014-11-161-1/+13
|
* Simplify the chaining of stats in _parallel_check.Claudiu Popa2014-11-161-3/+2
|
* Simplify a little the code for parallel checking.Claudiu Popa2014-11-161-31/+33
|
* may_be_disabled is not used anymore.Claudiu Popa2014-11-151-1/+0
|
* Refactor a couple of things in lint.py.Claudiu Popa2014-11-151-24/+16
|
* Documentation improvementsdocs-improvements-2Michal Nowikowski2014-11-041-1/+1
| | | | | | | | - added intros to features page, - fixed PyLint to Pylint in text, - improved ide-integration doc page, - updated pylintrc in examples and - regenerated pylint manual
* Use a defaultdict where it makes sense.Claudiu Popa2014-10-251-4/+5
|
* 'too-many-lines' disable pragma can be located on any line, not only the first.Claudiu Popa2014-10-231-0/+6
| | | | Closes issue #321.
* Don't report clean modules when showing the message percentage by module.Claudiu Popa2014-10-211-0/+3
|
* Report the percentage of all messages, not just for errors and warnings.Claudiu Popa2014-10-201-2/+0
| | | | Closes issue #319.
* Allow linting multiple directories at once.Claudiu Popa2014-10-191-26/+41
| | | | Patch by Buck Evan.
* Add new '-j' option for running checks in sub-processes.Claudiu Popa2014-10-151-7/+181
| | | | Patch by Michal Nowikowski.
* Modernize to the point of working for Python 2.7 stillBrett Cannon2014-08-291-9/+10
|
* Generate html output for missing files. Closes issue #320.cpopa2014-08-251-0/+5
|
* Cleanup the API, by providing a new report_order method to ↵cpopa2014-08-191-0/+12
| | | | ReportsHandlerMixIn, which is overriden by PyLinter for consistent output.
* Fix print statement.Torsten Marek2014-08-181-1/+1
|
* Some work on making pylint work on Python 3 without 2to3.Torsten Marek2014-08-161-12/+13
|
* Implement confidence levels.Torsten Marek2014-07-241-1/+21
| | | | | | | - attach confidence levels to a number of messages - include confidence levels in the message object - if the confidence of a message is not HIGH or UNDEFINED, include it in the test output.
* linting pylintSylvain Th?nault2014-07-251-59/+61
|
* [refactor] move handling of file specific state to its own FileState class ↵Sylvain Th?nault2014-07-241-89/+16
| | | | (mostly message states)
* extract a messages store from the MessagesHandlerMixIn classSylvain Th?nault2014-07-241-9/+16
|
* import modutils from astroid, it has been backported thereSylvain Th?nault2014-07-231-1/+1
|
* Remove extra spaces.Alexandru Coman2014-07-111-1/+0
|
* Checkers respect priority now. Close issue #229.Alexandru Coman2014-07-111-1/+6
|
* fix explicit check of python script. Closes #219Sylvain Th?nault2014-04-291-1/+1
|
* Fix running init-hook provided by configuration file.Daniel Harding2014-04-291-2/+6
|
* restore init-hook accidentaly renamed in cset 474324137864. Closes #211Sylvain Th?nault2014-04-251-1/+1
|
* Use one symbol for warning about deprecated pragmas.Torsten Marek2014-04-171-13/+9
|
* Remove F0004[unexpected-inferred-value], it's not used anywhere.Torsten Marek2014-04-171-4/+0
|
* Only use and emit symbolic warnings in the main linter moduleTorsten Marek2014-04-171-20/+20
|
* Stop setting active_msgs on checkers, as they can just rely on ↵Torsten Marek2014-04-161-1/+0
| | | | is_message_enabled on the linter.
* Do not attempt to analyze non python file, eg .so file. Closes #122Sylvain Th?nault2014-04-161-3/+3
|
* Improve pragma handling to not detect pylint:* strings in non-comments.Torsten Marek2014-04-101-5/+3
| | | | Closes #79
* Add back the -i and -s options for backwards compat, but have them be ignored.Torsten Marek2014-04-101-1/+11
| | | | Closes #180
* Do not crash when disable or enable in the RC file contain invalid message ↵Torsten Marek2014-04-091-1/+2
| | | | | | IDs or names. Closes #170