Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move all package files to a pylint package. | Ionel Cristian Maries | 2015-02-14 | 1 | -697/+0 |
| | |||||
* | Cleanup lint.py. | Claudiu Popa | 2015-01-02 | 1 | -2/+2 |
| | | | | | Import modules, instead of objects from them, used only once. Trim a couple of long lines, remove a couple of unused variables and so on. | ||||
* | tests: fix more tests broken by max-line-length change | Sylvain Th?nault | 2014-11-19 | 1 | -1/+1 |
| | |||||
* | Add support for disabling a checker. | Claudiu Popa | 2014-11-16 | 1 | -0/+8 |
| | | | | | | | | | A checker can be disabled (all of its messages will not be emitted) by specifying an 'enabled' attribute on the checker class. Currently, this is used to disable the Python3 porting checker, which will be enabled by the '--py3k' flag. | ||||
* | Make most tests run unmodified under Python 3.4. | Torsten Marek | 2014-11-09 | 1 | -3/+4 |
| | |||||
* | Allow linting multiple directories at once. | Claudiu Popa | 2014-10-19 | 1 | -44/+117 |
| | | | | Patch by Buck Evan. | ||||
* | Add new '-j' option for running checks in sub-processes. | Claudiu Popa | 2014-10-15 | 1 | -10/+17 |
| | | | | Patch by Michal Nowikowski. | ||||
* | Generate html output for missing files. Closes issue #320. | cpopa | 2014-08-25 | 1 | -1/+10 |
| | |||||
* | Implement confidence levels. | Torsten Marek | 2014-07-24 | 1 | -6/+14 |
| | | | | | | | - 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. | ||||
* | Remove dependency on logilab.testlib in the test suite (also removes Python ↵ | Torsten Marek | 2014-07-26 | 1 | -10/+46 |
| | | | | 2.5 compatibility). | ||||
* | [refactor] move handling of file specific state to its own FileState class ↵ | Sylvain Th?nault | 2014-07-24 | 1 | -27/+27 |
| | | | | (mostly message states) | ||||
* | extract a messages store from the MessagesHandlerMixIn class | Sylvain Th?nault | 2014-07-24 | 1 | -73/+83 |
| | |||||
* | fix bad indentation issues | Sylvain Th?nault | 2014-07-24 | 1 | -6/+7 |
| | |||||
* | fix explicit check of python script. Closes #219 | Sylvain Th?nault | 2014-04-29 | 1 | -2/+11 |
| | |||||
* | restore init-hook accidentaly renamed in cset 474324137864. Closes #211 | Sylvain Th?nault | 2014-04-25 | 1 | -2/+2 |
| | |||||
* | Unify and improve function invocation errors: | Torsten Marek | 2014-04-04 | 1 | -2/+2 |
| | | | | | | - always use argument instead of a mix of argument and parameter - simplify messages - add type of callable to each error (function, method etc) | ||||
* | ensure --init-hooks is evaluated before other options. Closes issue #166 | Sylvain Th?nault | 2014-03-21 | 1 | -1/+6 |
| | |||||
* | enhance option preprocessing error detection and related tests | Sylvain Th?nault | 2014-03-21 | 1 | -2/+16 |
| | |||||
* | [test] drop unused class and other minor cleanups | Sylvain Th?nault | 2014-03-21 | 1 | -24/+6 |
| | |||||
* | Updated FSF address. | Arun Persaud | 2014-02-23 | 1 | -1/+1 |
| | |||||
* | Fix various issues with linesep for Windows | cpopa | 2013-12-23 | 1 | -8/+18 |
| | |||||
* | [test] use assertTrue instead of deprecated assert_ | Sylvain Th?nault | 2013-12-20 | 1 | -1/+1 |
| | |||||
* | Add support for registering deprecated names for messages. | Torsten Marek | 2013-11-06 | 1 | -0/+17 |
| | |||||
* | Allow linter subclasses to override should_analyze_file to skip all | Torsten Marek | 2013-11-05 | 1 | -0/+7 |
| | | | | processing of a file. | ||||
* | fix tests broken due to Windows line ending or by output format change ↵ | Sylvain Th?nault | 2013-10-25 | 1 | -5/+5 |
| | | | | introduced in ed904ee30bc5 | ||||
* | [lint]?rename get_astroid into get_ast | Sylvain Th?nault | 2013-10-25 | 1 | -1/+1 |
| | |||||
* | Proper merge.tests | cpopa | 2013-09-25 | 1 | -17/+35 |
| | |||||
* | Fixing various tests for other platforms (Windows). | cpopa | 2013-09-05 | 1 | -9/+14 |
| | |||||
* | test: make errors from test_errors_only more understandable | Julien Cristau | 2013-06-20 | 1 | -4/+4 |
| | | | | "True is not False" considered unhelpful. | ||||
* | Turn reporters into proper plugins rather than classes that are loaded ↵ | Torsten Marek | 2013-06-19 | 1 | -0/+4 |
| | | | | explicitly. | ||||
* | [test] drop broken dead code | Sylvain Th?nault | 2013-06-19 | 1 | -9/+1 |
| | |||||
* | Allow messages to be added by symbolic name as well as by ID. | Torsten Marek | 2013-06-18 | 1 | -1/+11 |
| | |||||
* | Extended the docstring tester to optionally allow skipping the requirement for | Torsten Marek | 2013-06-18 | 1 | -1/+1 |
| | | | | short functions/methods/classes and added a testcase. | ||||
* | astng has been renamed astroid | David Douard | 2013-06-17 | 1 | -3/+3 |
| | |||||
* | Tokenize the input source only once and hand it to all checkers that need ↵ | Torsten Marek | 2013-05-01 | 1 | -2/+2 |
| | | | | | | | | | 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. | ||||
* | Add messages I0020 and I0021 for reporting of suppressed messages and ↵ | tmarek | 2012-11-12 | 1 | -1/+30 |
| | | | | | | | useless suppression pragmas. Closes #110840 Both messages are disabled by default, and only emitted after all other checkers have been processed. | ||||
* | don't want to run a checker only because of a Fatal error | Sylvain Th?nault | 2012-09-20 | 1 | -9/+3 |
| | |||||
* | Added the ability to specify reporter class name as report's 'output-format'. | Kevin Jing Qiu | 2012-09-20 | 1 | -0/+13 |
| | | | | | | This allows a custom reporter to be used to format reports. Backwards-compatibility is maintained, so a user can still specify the named reporters such as 'text' or 'parseable'. | ||||
* | stop using assert_, rather use assertTrue / assertFalse | Sylvain Th?nault | 2012-09-19 | 1 | -55/+63 |
| | |||||
* | Closes #104572: symbolic warning names in output (by Martin Pool) | Martin Pool | 2012-09-19 | 1 | -0/+30 |
| | | | | triggered whatever the format using a command line option | ||||
* | fix R0801 similarities bug. Closes #63424 | Anthony VEREZ | 2012-09-19 | 1 | -3/+2 |
| | |||||
* | Fix tests which failed on tempfile file comparaison due to Mac OS X which ↵ | FELD Boris | 2012-06-07 | 1 | -0/+15 |
| | | | | make /tmp a symlink to /private/tmp | ||||
* | drop unittest2 deprecation warning | Sylvain Th?nault | 2011-10-24 | 1 | -4/+4 |
| | |||||
* | closes #76920: don't crash in preprocess_option if some looked option has no ↵ | Torsten Marek | 2011-09-23 | 1 | -1/+28 |
| | | | | | | value while on is expected. | ||||
* | closes #69993: Additional string format checks for logging module | Sylvain Th?nault | 2011-07-08 | 1 | -2/+2 |
| | |||||
* | py3k: need to handle guess_encoding in astng | Emile Anclin | 2010-11-22 | 1 | -2/+3 |
| | | | | | | | | | | 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? | ||||
* | test: fix tests, test some more message and report disabling | Emile Anclin | 2010-12-13 | 1 | -5/+35 |
| | |||||
* | messages: add "check_messages" decorator to store messages | Emile Anclin | 2010-12-09 | 1 | -1/+1 |
| | | | | | | 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 | -2/+2 |
| | | | | | what was expected to be accomplished needs_checkers will be done easier with a decorator | ||||
* | remove more 2.4 compat | Emile Anclin | 2010-11-15 | 1 | -1/+1 |
| |