summaryrefslogtreecommitdiff
path: root/lint.py
Commit message (Collapse)AuthorAgeFilesLines
...
* closes #76920: don't crash in preprocess_option if some looked option has no ↵Torsten Marek2011-09-231-5/+16
| | | | | | value while on is expected.
* Fix --ignore option documentation to match reality (closes #22273)Julien Cristau2011-07-081-4/+3
| | | | The option can only be passed once, but it takes a list of file names.
* add note for IDE developpersSylvain Thénault2011-07-081-0/+4
|
* print exceptions not handled by astngEmile Anclin2010-12-151-2/+2
|
* py3k: need to handle guess_encoding in astngEmile Anclin2010-11-221-5/+9
| | | | | | | | | | Astng will try to find the right encoding and provide the right "stream" interface for the Pylint checkers. Reading a stream with the wrong encoding in py3k will generate a UnicodeError. The introduced a 'F0010' failure should maybe be replaced by E0501, E0502 and F0002? However, can we call 'unexpected errors' the ASTNGBuildingExceptions that we raise in logilab.astng.builder?
* performance: use 'active_msgs' attribute to disable function calls or the likeEmile Anclin2010-12-131-1/+4
|
* cleanup / test: rename a method and move some stuff around for easier testingEmile Anclin2010-12-131-14/+21
|
* fix checker disabling: use is_report_enabled to check for enabled reportsEmile Anclin2010-12-091-6/+6
|
* messages: add "check_messages" decorator to store messagesEmile Anclin2010-12-091-4/+4
| | | | | | 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.
* performance: make sure checkers are not called because of reportersEmile Anclin2010-12-091-4/+7
| | | | | | - disable all reporters with the "--reports=n" option - fix bug in checking if the reporter is activated - hence also desactivating similar with '-E' (which was not before)
* cleanup: remove unused needs_checkers attribut and sort_checkers methodEmile Anclin2010-12-091-31/+15
| | | | | what was expected to be accomplished needs_checkers will be done easier with a decorator
* cleanup: remove KeyboardInterrupt capture: it goes through Exception in py ↵Emile Anclin2010-11-231-2/+0
| | | | | | >= 2.5 KeyboardInterrupt is no more a subclass of Exception anymore
* precize line number in deprecation warningSylvain Thénault2010-11-221-2/+2
|
* 223 : run python2.x compatible fixersEmile Anclin2010-11-151-5/+4
|
* remove more 2.4 compatEmile Anclin2010-11-151-1/+0
|
* cleanup: norm_open can be done directlyEmile Anclin2010-11-101-2/+1
|
* py3k: update profile optionEmile Anclin2010-11-081-5/+3
|
* doc : more update on optionsEmile Anclin2010-10-251-2/+2
|
* fix exit code on bad optionsEmile Anclin2010-10-251-1/+6
|
* force source to true when explicitly asked to analyze a fileSylvain Thénault2010-10-111-4/+3
|
* python2.3 compat fixesEmile Anclin2010-09-221-0/+1
|
* typoEmile Anclin2010-09-011-1/+1
|
* clarify that you should put 'disable' option only one in the configuration fileSylvain Thénault2010-08-161-3/+5
|
* new pylint gui, contributed by Scott Pilkey and friends from the Tahiti teamSylvain Thénault2010-05-111-2/+3
|
* fix statement countSylvain Thénault2010-05-111-1/+1
|
* remove deprecation warning with lgc > 0.50Sylvain Thénault2010-05-111-1/+1
|
* --errors-only short name is now -E, -e is for --enable and -d for --disableSylvain Thénault2010-05-111-1/+3
|
* cleanupSylvain Thénault2010-04-191-1/+0
|
* --help output configurationSylvain Thénault2010-04-191-4/+4
|
* also unify [en|dis]able-report with generic [en|dis]able.Sylvain Thénault2010-04-191-20/+10
| | | | 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-89/+68
|
* use generic disable / enable methods and inline optionSylvain Thénault2010-04-191-4/+4
|
* record ordered checkers for later call to closeSylvain Thénault2010-04-161-1/+2
|
* fix support for checker.[visit|leavve]_default methodsSylvain Thénault2010-04-161-6/+31
|
* refactor messages and checker handlingSylvain Thénault2010-04-161-103/+75
| | | | | | | | | | | | | | | | * 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
* set option level to configure --help / --long[-long]-help with lgc 0.50Sylvain Thénault2010-04-161-8/+10
|
* apply patch from Nicola Kramaric closing #21591: html reporter produces no ↵Sylvain Thénault2010-04-021-1/+3
| | | | output if reports is set to 'no'
* copyright update : date up 2010Emile Anclin2010-03-231-2/+2
|
* remove cache_size option: it was desactivated anywayEmile Anclin2010-03-221-6/+0
|
* fix #17958 (pylint -e must not silence Fatal messages)Pierre-Yves David2009-11-251-1/+1
|
* fix #9791Vincent2009-11-251-2/+13
| | | | | | | | | | | | | | | | 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().
* mergeSylvain Thénault2009-11-231-6/+7
|\
| * fix warningSylvain Thénault2009-10-211-1/+2
| |
| * Bugfix: correct grammar/spelling of messagesNicolas Chauvat2009-09-081-5/+5
| |
* | include Dotan Barak spell fixes patchSylvain Thénault2009-11-231-13/+13
|/
* fix necessary eol spacesSylvain Thénault2009-08-271-17/+19
|
* d-t-w, cleanupSylvain Thénault2009-08-261-99/+100
|
* don't show information messages by defaultSylvain Thénault2009-03-241-1/+1
|
* argh, was actuallly necessarySylvain Thénault2009-03-181-0/+3
| | | | | --HG-- branch : astng2
* no more necesarySylvain Thénault2009-03-181-3/+0
| | | | | --HG-- branch : astng2