Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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 | |
| | ||||||
* | old-style classes are deprecated: refactor to new style | Nicolas Chauvat | 2013-05-20 | 1 | -2/+2 | |
| | ||||||
* | Minor updates for the token checker interface, triggered by the review. | Torsten Marek | 2013-05-03 | 1 | -1/+1 | |
| | ||||||
* | Tokenize the input source only once and hand it to all checkers that need ↵ | Torsten Marek | 2013-05-01 | 1 | -2/+14 | |
| | | | | | | | | | the token stream. A lot of checkers need access to the token stream, but they all tokenize the source code again in BaseRawChecker.process_module. This change introduces a new checker type ITokenChecker, for which the token stream is created exactly once in PyLinter, and then injected into all registered checkers. | |||||
* | a few pylint fixes and copyright cleanups | Sylvain Th?nault | 2013-03-29 | 1 | -3/+3 | |
| | ||||||
* | Make sure that pragmas that apply to whole lines are interpreted literally, ↵ | Torsten Marek | 2013-03-29 | 1 | -5/+35 | |
| | | | | | | | | | so that their scope is not extended to the whole scope if they occur at the beginning of a scope. Closes #123285 | |||||
* | fix name error causing crash when symbols are included in output messages. ↵ | Aurelien Campeas | 2013-03-13 | 1 | -1/+1 | |
| | | | | Closes #124662 | |||||
* | Two small fixes for suppression warnings I00{2,1}: | tmarek | 2013-02-20 | 1 | -0/+11 | |
| | | | | | - make sure to include the full message name (with symbol, if requested) in the output - flush I002{0,1} warnings after each module, not after complete run | |||||
* | Add messages I0020 and I0021 for reporting of suppressed messages and ↵ | tmarek | 2012-11-12 | 1 | -0/+28 | |
| | | | | | | | useless suppression pragmas. Closes #110840 Both messages are disabled by default, and only emitted after all other checkers have been processed. | |||||
* | add support for --disable=all option (closes: #105327) | Alexandre Fayolle | 2012-10-03 | 1 | -0/+5 | |
| | | | | | updated the documentation accordingly deprecate 'disable-all' as an inline directive in favor of 'skip-file' | |||||
* | lint fixes | Sylvain Th?nault | 2012-09-19 | 1 | -5/+4 | |
| | ||||||
* | Closes #104572: symbolic warning names in output (by Martin Pool) | Martin Pool | 2012-09-19 | 1 | -9/+40 | |
| | | | | triggered whatever the format using a command line option | |||||
* | use .iter* version of dict methods when possible | Sylvain Th?nault | 2012-09-19 | 1 | -7/+7 | |
| | ||||||
* | Refactoring reporting. | Sylvain Th?nault | 2012-05-03 | 1 | -5/+2 | |
| | ||||||
* | cleanups | Sylvain Th?nault | 2011-06-16 | 1 | -4/+3 | |
| | ||||||
* | closes #69220: add column offset to the astng node | Sylvain Th?nault | 2011-06-16 | 1 | -1/+6 | |
| | ||||||
* | cleanup / test: rename a method and move some stuff around for easier testing | Emile Anclin | 2010-12-13 | 1 | -2/+2 | |
| | ||||||
* | py3k: catch SyntaxError while searching for a file | Emile Anclin | 2010-11-22 | 1 | -1/+3 | |
| | | | | | | | | | | | When loading a module without the file name, Pylint uses lgc.find_module which uses imp.find_module at lgc.modutils l. 606. When doing this with "func_unknown_encoding" in Python 3.x, a syntax error arises, where as in python 2.x, it friendly returns "pylint/test/input/func_unknown_encoding.py". This is a Python bug : http://bugs.python.org/issue10588 and capturing SyntaxError should be removed as soon as possible | |||||
* | messages: add "check_messages" decorator to store messages | Emile Anclin | 2010-12-09 | 1 | -4/+19 | |
| | | | | | | refactor PyLintASTWalker.add_checker to check the stored method's messages; in PyLintASTWalker.add_checker, we only disable methods that has been decorated and have no activated message. | |||||
* | cleanup: remove unused needs_checkers attribut and sort_checkers method | Emile Anclin | 2010-12-09 | 1 | -5/+3 | |
| | | | | | what was expected to be accomplished needs_checkers will be done easier with a decorator | |||||
* | cleanup: simplify add_checker | Emile Anclin | 2010-12-06 | 1 | -26/+16 | |
| | ||||||
* | 223 : run python2.x compatible fixers | Emile Anclin | 2010-11-15 | 1 | -2/+2 | |
| | ||||||
* | remove more 2.4 compat | Emile Anclin | 2010-11-15 | 1 | -1/+0 | |
| | ||||||
* | py3k: fix sort_msgs: cmp keyword does not exist anymore | Emile Anclin | 2010-11-10 | 1 | -9/+10 | |
| | ||||||
* | doc: little full-documentation improvement (closes #47885) | Emile Anclin | 2010-10-26 | 1 | -0/+3 | |
| | ||||||
* | python2.3 compat fixes | Emile Anclin | 2010-09-22 | 1 | -0/+1 | |
| | ||||||
* | fix statement count | Sylvain Th?nault | 2010-05-11 | 1 | -0/+3 | |
| | ||||||
* | fix full documentation generation | Sylvain Th?nault | 2010-04-19 | 1 | -23/+25 | |
| | ||||||
* | also unify [en|dis]able-report with generic [en|dis]able. | Sylvain Th?nault | 2010-04-19 | 1 | -1/+12 | |
| | | | | Provide bw compat from -msg because it may be heavilu used in python files. | |||||
* | cleanup, d-t-w, fix remaining [en|dis] method call | Sylvain Th?nault | 2010-04-19 | 1 | -39/+77 | |
| | ||||||
* | use generic disable / enable methods and inline option | Sylvain Th?nault | 2010-04-19 | 1 | -21/+11 | |
| | ||||||
* | refactor messages and checker handling | Sylvain Th?nault | 2010-04-16 | 1 | -74/+84 | |
| | | | | | | | | | | | | | | | | * new ast walker, built at registration time * properly handle dependencies between checkers instead of priority based order * only run checker necessary according to activated message * much more simple command line: [en|dis]able-msg, [en|dis]able-msg-cat and [en|dis]able-report superseeded by [en|dis]able options -> we should split current checkers into simpler checker with the same name, and proper dependencies when needed | |||||
* | copyright update : date up 2010 | Emile Anclin | 2010-03-23 | 1 | -2/+2 | |
| | ||||||
* | fix #9791 | Vincent | 2009-11-25 | 1 | -3/+25 | |
| | | | | | | | | | | | | | | | | https://www.logilab.net/elo/ticket/9791 In lint.py: * rename "--list-msgs" option into "--full-documentation", * add a specific "--list-msgs" option ant its callback, and in MessagesHandlerMixIn in utils.py: * rename list_messages() method into print_full_documentation(), * add list_checkers_messages() method, * add list_messages() method, *add list_sorted_messages(). | |||||
* | d-t-w, cleanup | Sylvain Th?nault | 2009-08-26 | 1 | -22/+22 | |
| | ||||||
* | use .fromlineno, not .linenoastng2 | sylvain thenault | 2009-03-19 | 1 | -3/+1 | |
| | ||||||
* | fix output status computing | Sylvain | 2009-03-17 | 1 | -1/+1 | |
| | ||||||
* | remove zero-status-cat option, use message filtering + different status ↵ | sylvain thenault | 2009-01-28 | 1 | -3/+10 | |
| | | | | code instead | |||||
* | enhance m.kiilerich patch so exit status code may be somewhat controlled (eg ↵ | sylvain thenault | 2009-01-28 | 1 | -4/+4 | |
| | | | | which message categories will trigger non zero status code) | |||||
* | change [en|dis]able-msg-cat options: only accept message categories | sylvain thenault | 2009-01-28 | 1 | -16/+23 | |
| | | | | | identified by their first letter (eg IRCWEF) without the need for comma as separator | |||||
* | Let pylint exit code indicate result of checks | Mads Kiilerich | 2009-01-28 | 1 | -0/+1 | |
| | | | | | | | | | | | | | | | If _any_ messages are shown the exitcode will be set to 2. (Exitcode 1 already indicates that no files were specified.) This implements what is requested on https://www.logilab.net/elo/ticket/4691 . The approach taken in this patch is however that any message is an error. If a message shouldn't count as an error it should be disabled. There is a risk that some tool tools which call pylint could interprete the exit code as if _pylint_ failed, and not that pylint completed its job and concluded that the checked _files_ failed. Some smoketests fails with this change - how do I change them to accept exitcode 2? | |||||
* | cleanup / lint fixes | Sylvain Thenault | 2008-12-03 | 1 | -3/+3 | |
| | ||||||
* | factorize import utils | Emile Anclin | 2008-09-22 | 1 | -1/+47 | |
| | ||||||
* | cleanup | Emile Anclin | 2008-09-10 | 1 | -3/+2 | |
| | ||||||
* | little simplifying | Emile Anclin | 2008-09-09 | 1 | -7/+4 | |
| | ||||||
* | cleanup | Sylvain | 2008-03-27 | 1 | -2/+2 | |
| | ||||||
* | pylint pylint | Sylvain | 2007-07-14 | 1 | -2/+2 | |
| | ||||||
* | #3259 | Sylvain | 2007-02-19 | 1 | -37/+40 | |
| |