summaryrefslogtreecommitdiff
path: root/lint.py
Commit message (Collapse)AuthorAgeFilesLines
* 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
* recent astroid cset trigger a maybe-no-member message that makes some tests failSylvain Th?nault2014-04-021-1/+1
|
* ensure --init-hooks is evaluated before other options. Closes issue #166Sylvain Th?nault2014-03-211-7/+9
|
* enhance option preprocessing error detection and related testsSylvain Th?nault2014-03-211-7/+12
|
* Updated FSF address.Arun Persaud2014-02-231-1/+1
|
* various pylint fixesSylvain Th?nault2013-12-221-43/+50
|
* Merged logilab/pylint into defaultDaniel Balparda2013-12-041-1/+19
|\
| * Take first steps to use the symbolic name internally instead of the numeric id.Torsten Marek2013-11-061-1/+1
| | | | | | | | | | | | | | This changeset changes utils.py to use the symbolic name as the primary key in _messages, and the numeric ID as an alternative name in a new dictionary. Also prepares the codebase for supporting renamed messages.
| * Allow linter subclasses to override should_analyze_file to skip allTorsten Marek2013-11-051-0/+18
| | | | | | | | processing of a file.
* | Adding a new message for pylint (I0022, deprecated-pragma) that warns on the ↵Daniel Balparda2013-12-041-4/+7
|/ | | | deprecated pragma disable-msg and enable-msg suppressions.
* Always call the reporter's on_close method, even if no file could be ↵Daniel Balparda2013-11-211-0/+2
| | | | analyzed. Some reporters still need to flush their state.
* [lint]?rename get_astroid into get_astSylvain Th?nault2013-10-251-3/+3
|
* fix typo in --msg-template description. Closes issue #67Sylvain Th?nault2013-09-041-1/+1
|
* some pylint and style fixesSylvain Th?nault2013-07-311-2/+2
|
* Templating mecanism for text reporters.Anthony Truchet2013-07-301-14/+10
| | | | | | | | | | | | This changeset introduces a reporters.Message class to represent messages with their attached data. Those messages object can then be formatted accordingto some template. A template can be specified on the command line through the msg-template option. This deprecates parseable and msvc output format, and kill --symbols and --include-ids option.
* update method renamed in astroidSylvain Th?nault2013-07-241-1/+1
|
* Turn reporters into proper plugins rather than classes that are loaded ↵Torsten Marek2013-06-191-25/+34
| | | | explicitly.
* move EmptyReport exception to pylint.utils and refactor imports so ↵Sylvain Th?nault2013-06-191-4/+6
| | | | pylint.utils stop importing checkers/reporters
* Extend the line length check.Torsten Marek2013-06-171-3/+1
|
* The tokenize module rejects certain source files that are accepted asTorsten Marek2013-06-171-1/+5
| | | | | valid by the Python interpreter, e.g. modules that end with a line continuation. Catch the exception and skip the files.
* astng has been renamed astroidDavid Douard2013-06-171-33/+33
|