summaryrefslogtreecommitdiff
path: root/utils.py
Commit message (Collapse)AuthorAgeFilesLines
* python2.3 compat fixesEmile Anclin2010-09-221-0/+1
|
* fix statement countSylvain Thénault2010-05-111-0/+3
|
* fix full documentation generationSylvain Thénault2010-04-191-23/+25
|
* also unify [en|dis]able-report with generic [en|dis]able.Sylvain Thénault2010-04-191-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 callSylvain Thénault2010-04-191-39/+77
|
* use generic disable / enable methods and inline optionSylvain Thénault2010-04-191-21/+11
|
* refactor messages and checker handlingSylvain Thénault2010-04-161-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 2010Emile Anclin2010-03-231-2/+2
|
* fix #9791Vincent2009-11-251-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, cleanupSylvain Thénault2009-08-261-22/+22
|
* use .fromlineno, not .linenoSylvain Thénault2009-03-191-3/+1
| | | | | --HG-- branch : astng2
* fix output status computingSylvain Thénault2009-03-171-1/+1
| | | | | --HG-- branch : astng2
* remove zero-status-cat option, use message filtering + different status ↵Sylvain Thénault2009-01-281-3/+10
| | | | code instead
* enhance m.kiilerich patch so exit status code may be somewhat controlled (eg ↵Sylvain Thénault2009-01-281-4/+4
| | | | which message categories will trigger non zero status code)
* change [en|dis]able-msg-cat options: only accept message categoriesSylvain Thénault2009-01-281-16/+23
| | | | | identified by their first letter (eg IRCWEF) without the need for comma as separator
* Let pylint exit code indicate result of checksMads Kiilerich2009-01-281-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 fixesSylvain Thénault2008-12-031-3/+3
|
* factorize import utilsEmile Anclin2008-09-221-1/+47
|
* cleanupEmile Anclin2008-09-101-3/+2
|
* little simplifyingEmile Anclin2008-09-091-7/+4
|
* cleanupSylvain Thénault2008-03-271-2/+2
|
* pylint pylintSylvain Thénault2007-07-141-2/+2
|
* #3259Sylvain Thénault2007-02-191-37/+40
|
* rpython tests okSylvain Thénault2007-02-151-2/+2
|
* fix some format checker false positivesSylvain Thénault2006-10-031-1/+1
|
* fixed python \>= 2.4 format false positive with multiple lines statementSylvain Thénault2006-09-251-1/+1
|
* remove buggy cut and paste, remove some __revision__Sylvain Thénault2006-09-201-2/+0
|
* module_msgs_state needs to be initialized as an empty dict (not None)Adrien Di Mascio2006-08-101-2/+2
|
* check ChangeLogSylvain Thénault2006-05-091-28/+62
|
* * new W0212 message for access to protected member from client codeSylvain Thénault2006-05-051-4/+3
| | | | | | * new W0212 message for access to protected member from client code * new W0105 message extracted from W0104 (statement seems to have no effect) with string
* forget the past.root2006-04-261-0/+353
forget the past.