Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | pylint pylint | Sylvain Th?nault | 2014-11-19 | 1 | -9/+10 |
| | |||||
* | Remove get_init_args from the Message class and move it as private function ↵ | Claudiu Popa | 2014-11-17 | 1 | -10/+0 |
| | | | | in lint.py. | ||||
* | Documentation improvementsdocs-improvements-2 | Michal Nowikowski | 2014-11-04 | 1 | -19/+36 |
| | | | | | | | | - 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 Popa | 2014-10-25 | 1 | -11/+11 |
| | |||||
* | Fix a regression, where '{path}' was no longer accepted in '--msg-template'. | Claudiu Popa | 2014-10-16 | 1 | -5/+12 |
|\ | | | | | | | Patch by LCD47. | ||||
| * | Fix expansion of {path} in --msg-template. | LCD 47 | 2014-10-10 | 1 | -4/+5 |
| | | |||||
* | | Add new '-j' option for running checks in sub-processes. | Claudiu Popa | 2014-10-15 | 1 | -0/+4 |
|/ | | | | Patch by Michal Nowikowski. | ||||
* | Wrap dict.items() et. al. in list() | Brett Cannon | 2014-08-29 | 1 | -2/+2 |
| | |||||
* | Fix a missed print statement | Brett Cannon | 2014-08-29 | 1 | -1/+2 |
| | |||||
* | Modernize to the point of working for Python 2.7 still | Brett Cannon | 2014-08-29 | 1 | -14/+16 |
| | |||||
* | Cleanup the API, by providing a new report_order method to ↵ | cpopa | 2014-08-19 | 1 | -17/+7 |
| | | | | ReportsHandlerMixIn, which is overriden by PyLinter for consistent output. | ||||
* | Some work on making pylint work on Python 3 without 2to3. | Torsten Marek | 2014-08-16 | 1 | -31/+32 |
| | |||||
* | Implement confidence levels. | Torsten Marek | 2014-07-24 | 1 | -21/+29 |
| | | | | | | | - 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. | ||||
* | Extend the reporter interface with a method that takes a message object, for ↵ | Torsten Marek | 2014-08-16 | 1 | -1/+3 |
| | | | | better extendability. | ||||
* | Move definition of Message class out of reporters module, and make it a ↵ | Torsten Marek | 2014-08-16 | 1 | -4/+28 |
| | | | | namedtuple. | ||||
* | Add the current reporter only if it was removed. | cpopa | 2014-08-18 | 1 | -1/+2 |
| | |||||
* | Order of reporting is consistent. | cpopa | 2014-08-18 | 1 | -1/+16 |
| | |||||
* | linting pylint | Sylvain Th?nault | 2014-07-25 | 1 | -3/+3 |
| | |||||
* | [refactor] move handling of file specific state to its own FileState class ↵ | Sylvain Th?nault | 2014-07-24 | 1 | -44/+127 |
| | | | | (mostly message states) | ||||
* | extract a messages store from the MessagesHandlerMixIn class | Sylvain Th?nault | 2014-07-24 | 1 | -91/+97 |
| | |||||
* | import modutils from astroid, it has been backported there | Sylvain Th?nault | 2014-07-23 | 1 | -2/+2 |
| | |||||
* | Don't emit 'no-name-in-module' for ignored modules. Closes issue #223. | cpopa | 2014-07-12 | 1 | -0/+20 |
| | |||||
* | fix explicit check of python script. Closes #219 | Sylvain Th?nault | 2014-04-29 | 1 | -1/+2 |
| | |||||
* | Only use and emit symbolic warnings in the main linter module | Torsten Marek | 2014-04-17 | 1 | -5/+6 |
| | |||||
* | Always register messages even if they may not be emitted. | Sylvain Th?nault | 2014-04-14 | 1 | -2/+2 |
| | | | | | | | | | | | | This avoid several problems: * error reported because the message is used in enable/disable * check_message doesn't work properly because message is erroneously considered as enabled (because check_message_id raise UnknownMessage) So, put them all in linter._messages, filtering out non-emitable message in list_messages. | ||||
* | Merged in dnozay/pylint (pull request #87) | Sylvain Th?nault | 2014-04-11 | 1 | -7/+21 |
|\ | | | | | | | fix error with message reports when custom checker uses old-style messages | ||||
| * | Do not crash when disable or enable in the RC file contain invalid message ↵ | Torsten Marek | 2014-04-09 | 1 | -6/+20 |
| | | | | | | | | | | | | IDs or names. Closes #170 | ||||
| * | Updated FSF address. | Arun Persaud | 2014-02-23 | 1 | -1/+1 |
| | | |||||
* | | fix error with message reports when custom checker uses old-style messages | Damien Nozay | 2014-01-14 | 1 | -2/+4 |
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | when register_messages is called, it allows messages that are in the form of 2-tuples, which means a symbol is not necessary. however, when doing report_message_stats is called, it does not handle the case where there is no symbol. solution: when collecting message, use the message id as the key if the symbol is None. e.g. ``` Messages -------- +------------------+------------+ |message id |occurrences | +==================+============+ |missing-docstring |6 | +------------------+------------+ |W9901 |4 | +------------------+------------+ |invalid-name |1 | +------------------+------------+ ``` | ||||
* | various pylint fixes | Sylvain Th?nault | 2013-12-22 | 1 | -9/+9 |
| | |||||
* | fix indentation in various places. Damned googlers :p | Sylvain Th?nault | 2013-12-04 | 1 | -8/+8 |
| | |||||
* | Add support for registering deprecated names for messages. | Torsten Marek | 2013-11-06 | 1 | -1/+15 |
| | |||||
* | Take first steps to use the symbolic name internally instead of the numeric id. | Torsten Marek | 2013-11-06 | 1 | -24/+37 |
| | | | | | | | 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. | ||||
* | [output] use more symbol instead of msgid: use them in message occurences ↵ | Sylvain Th?nault | 2013-09-25 | 1 | -6/+6 |
| | | | | report and revert order in message help | ||||
* | [message handling] MessageDefinition grew a new format_help method to use | Sylvain Th?nault | 2013-09-25 | 1 | -22/+35 |
| | | | | | | | | instead of linter.get_message_help. Along with previous refactoring, this allows to close bitbucket issue #74. Also, message help now include its min/max python version. | ||||
* | [message handling] kill sort_msgs function, use sorted with key instead | Sylvain Th?nault | 2013-09-25 | 1 | -12/+2 |
| | |||||
* | [message handling]?refactor MessageDefinition instantiation | Sylvain Th?nault | 2013-09-25 | 1 | -42/+47 |
| | |||||
* | some pylint and style fixes | Sylvain Th?nault | 2013-07-31 | 1 | -8/+8 |
| | |||||
* | get_msg_display_string always return symbolic name | Sylvain Th?nault | 2013-07-30 | 1 | -5/+1 |
| | |||||
* | rename Message to MessageDefinition | Sylvain Th?nault | 2013-07-30 | 1 | -4/+4 |
| | |||||
* | utils: allow specifying min and max relevant python versions for a message | Julien Cristau | 2013-07-17 | 1 | -6/+17 |
| | | | | | Some messages don't make sense for all python versions. Allow that information to be recorded in the message declaration. | ||||
* | fix register_plugins isdir usage, and use already imported functions. Closes ↵ | Sylvain Th?nault | 2013-07-08 | 1 | -4/+4 |
| | | | | issue #33 | ||||
* | Turn reporters into proper plugins rather than classes that are loaded ↵ | Torsten Marek | 2013-06-19 | 1 | -1/+30 |
| | | | | explicitly. | ||||
* | python3: deal with astroid's module.file_stream returning bytes | Julien Cristau | 2013-06-19 | 1 | -5/+6 |
| | | | | | Use tokenize.tokenize() which wants a byte stream. Everywhere else, decode as necessary. | ||||
* | move EmptyReport exception to pylint.utils and refactor imports so ↵ | Sylvain Th?nault | 2013-06-19 | 1 | -1/+3 |
| | | | | pylint.utils stop importing checkers/reporters | ||||
* | Also use the proper way of checking for enabled messages for leave_* methods. | Torsten Marek | 2013-06-19 | 1 | -5/+3 |
| | |||||
* | Refactor PyLintASTWalker to allow using symbolic names in check_messages as ↵ | Torsten Marek | 2013-06-19 | 1 | -6/+12 |
| | | | | well. | ||||
* | Allow messages to be added by symbolic name as well as by ID. | Torsten Marek | 2013-06-18 | 1 | -6/+8 |
| | |||||
* | Extend the line length check. | Torsten Marek | 2013-06-17 | 1 | -0/+2 |
| | |||||
* | astng has been renamed astroid | David Douard | 2013-06-17 | 1 | -9/+9 |
| |