Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | recent astroid cset trigger a maybe-no-member message that makes some tests fail | Sylvain Th?nault | 2014-04-02 | 1 | -1/+1 | |
| | ||||||
* | ensure --init-hooks is evaluated before other options. Closes issue #166 | Sylvain Th?nault | 2014-03-21 | 1 | -7/+9 | |
| | ||||||
* | enhance option preprocessing error detection and related tests | Sylvain Th?nault | 2014-03-21 | 1 | -7/+12 | |
| | ||||||
* | Updated FSF address. | Arun Persaud | 2014-02-23 | 1 | -1/+1 | |
| | ||||||
* | various pylint fixes | Sylvain Th?nault | 2013-12-22 | 1 | -43/+50 | |
| | ||||||
* | Merged logilab/pylint into default | Daniel Balparda | 2013-12-04 | 1 | -1/+19 | |
|\ | ||||||
| * | Take first steps to use the symbolic name internally instead of the numeric id. | Torsten Marek | 2013-11-06 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | 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. | |||||
| * | Allow linter subclasses to override should_analyze_file to skip all | Torsten Marek | 2013-11-05 | 1 | -0/+18 | |
| | | | | | | | | processing of a file. | |||||
* | | Adding a new message for pylint (I0022, deprecated-pragma) that warns on the ↵ | Daniel Balparda | 2013-12-04 | 1 | -4/+7 | |
|/ | | | | deprecated pragma disable-msg and enable-msg suppressions. | |||||
* | Always call the reporter's on_close method, even if no file could be ↵ | Daniel Balparda | 2013-11-21 | 1 | -0/+2 | |
| | | | | analyzed. Some reporters still need to flush their state. | |||||
* | [lint]?rename get_astroid into get_ast | Sylvain Th?nault | 2013-10-25 | 1 | -3/+3 | |
| | ||||||
* | fix typo in --msg-template description. Closes issue #67 | Sylvain Th?nault | 2013-09-04 | 1 | -1/+1 | |
| | ||||||
* | some pylint and style fixes | Sylvain Th?nault | 2013-07-31 | 1 | -2/+2 | |
| | ||||||
* | Templating mecanism for text reporters. | Anthony Truchet | 2013-07-30 | 1 | -14/+10 | |
| | | | | | | | | | | | | This changeset introduces a reporters.Message class to represent messages with their attached data. Those messages object can then be formatted accordingto some template. A template can be specified on the command line through the msg-template option. This deprecates parseable and msvc output format, and kill --symbols and --include-ids option. | |||||
* | update method renamed in astroid | Sylvain Th?nault | 2013-07-24 | 1 | -1/+1 | |
| | ||||||
* | Turn reporters into proper plugins rather than classes that are loaded ↵ | Torsten Marek | 2013-06-19 | 1 | -25/+34 | |
| | | | | explicitly. | |||||
* | move EmptyReport exception to pylint.utils and refactor imports so ↵ | Sylvain Th?nault | 2013-06-19 | 1 | -4/+6 | |
| | | | | pylint.utils stop importing checkers/reporters | |||||
* | Extend the line length check. | Torsten Marek | 2013-06-17 | 1 | -3/+1 | |
| | ||||||
* | The tokenize module rejects certain source files that are accepted as | Torsten Marek | 2013-06-17 | 1 | -1/+5 | |
| | | | | | valid by the Python interpreter, e.g. modules that end with a line continuation. Catch the exception and skip the files. | |||||
* | astng has been renamed astroid | David Douard | 2013-06-17 | 1 | -33/+33 | |
| | ||||||
* | old-style classes are deprecated: refactor to new style | Nicolas Chauvat | 2013-05-20 | 1 | -1/+1 | |
| | ||||||
* | since PyLinter._dynamic_plugins is used as a set, make it a set | Nicolas Chauvat | 2013-05-20 | 1 | -2/+2 | |
| | ||||||
* | add delta to comparison with note from previous execution | Sylvain Th?nault | 2013-05-07 | 1 | -2/+3 | |
| | | | | as suggested by S?bastien Celles | |||||
* | Minor updates for the token checker interface, triggered by the review. | Torsten Marek | 2013-05-03 | 1 | -7/+6 | |
| | ||||||
* | Tokenize the input source only once and hand it to all checkers that need ↵ | Torsten Marek | 2013-05-01 | 1 | -11/+17 | |
| | | | | | | | | | 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. | |||||
* | closes #1 (bitbucket): fix "dictionary changed size during iteration" crash | Sylvain Th?nault | 2013-04-16 | 1 | -2/+2 | |
| | ||||||
* | a few pylint fixes and copyright cleanups | Sylvain Th?nault | 2013-03-29 | 1 | -5/+3 | |
| | ||||||
* | Make sure that pragmas that apply to whole lines are interpreted literally, ↵ | Torsten Marek | 2013-03-29 | 1 | -6/+12 | |
| | | | | | | | | | so that their scope is not extended to the whole scope if they occur at the beginning of a scope. Closes #123285 | |||||
* | Two small fixes for suppression warnings I00{2,1}: | tmarek | 2013-02-20 | 1 | -3/+5 | |
| | | | | | - 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 | |||||
* | backport stable | Sylvain Th?nault | 2012-11-12 | 1 | -10/+70 | |
|\ | ||||||
| * | Add hooks for import path setup and move pylint's sys.path | tmarek | 2012-11-07 | 1 | -5/+13 | |
| | | | | | | | | modifications into them. These hooks can be overridden by other implementations. | |||||
| * | Add messages I0020 and I0021 for reporting of suppressed messages and ↵ | tmarek | 2012-11-12 | 1 | -0/+32 | |
| | | | | | | | | | | | | | | useless suppression pragmas. Closes #110840 Both messages are disabled by default, and only emitted after all other checkers have been processed. | |||||
| * | Change the regular expression for inline options so that a preceeding # is ↵ | tmarek | 2012-11-07 | 1 | -1/+1 | |
| | | | | | | | | not optional. | |||||
| * | add support for --disable=all option (closes: #105327) | Alexandre Fayolle | 2012-10-03 | 1 | -4/+24 | |
| | | | | | | | | | | updated the documentation accordingly deprecate 'disable-all' as an inline directive in favor of 'skip-file' | |||||
* | | Fix some typos and grammatical errors in the help text | David Pursehouse | 2012-10-25 | 1 | -4/+4 | |
|/ | ||||||
* | explicit trailing whitespace, avoid temptation to drop those (thx Martin) | Sylvain Th?nault | 2012-10-05 | 1 | -26/+26 | |
| | ||||||
* | don't want to run a checker only because of a Fatal error | Sylvain Th?nault | 2012-09-20 | 1 | -1/+2 | |
| | ||||||
* | minor tweaks to previous changeset (custom reporter). Closes #105337 | Sylvain Th?nault | 2012-09-20 | 1 | -4/+5 | |
| | ||||||
* | Added the ability to specify reporter class name as report's 'output-format'. | Kevin Jing Qiu | 2012-09-20 | 1 | -3/+10 | |
| | | | | | | 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'. | |||||
* | lint fixes | Sylvain Th?nault | 2012-09-19 | 1 | -7/+7 | |
| | ||||||
* | Closes #104572: symbolic warning names in output (by Martin Pool) | Martin Pool | 2012-09-19 | 1 | -1/+20 | |
| | | | | 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 | |
| | ||||||
* | Call reporter.set_output before reporter.on_set_current_module in order to ↵ | FELD Boris | 2012-07-17 | 1 | -3/+3 | |
| | | | | ease reporter work | |||||
* | use lgc.compat to access builtins for cross-interpreters compat | Sylvain Th?nault | 2012-07-24 | 1 | -4/+3 | |
| | ||||||
* | fix indentation | Sylvain Th?nault | 2012-07-13 | 1 | -4/+4 | |
| | ||||||
* | Make pythonpath behaviour closer to python's (closes #88218) | JT Olds | 2012-05-15 | 1 | -1/+16 | |
| | | | | | | When pylint is called with a single filename as argument, walk its path backwards to find the first directory that doesn't have a __init__.py, and add that to sys.path instead of the cwd. | |||||
* | Add 'on_close' event trigerring and event callback for reporters. | FELD Boris | 2012-05-03 | 1 | -0/+1 | |
| | ||||||
* | Refactoring reporting. | Sylvain Th?nault | 2012-05-03 | 1 | -12/+18 | |
| | ||||||
* | Add 'on_set_current_module' event trigerring and event callback for reporters. | FELD Boris | 2012-03-09 | 1 | -0/+1 | |
| | ||||||
* | This patch is an attempt to completely remove the need for all ↵ | Sylvain Th?nault | 2011-10-26 | 1 | -62/+67 | |
| | | | | | | | | | | | | | | | | | | | | | | Google-internal patches done to pylint. Currently, we have to modify pylint in two places: * Default plugin loading: Due to the way Python applications are deployed, the import magic in checkers.package_load does not work and needs to be replaced. Placing the calls in an overridable methods allows us to modify the behavior in our own linter class * Special reporter: We use a custom reporter. It can be passed to Run using the reporter argument, but creating in the initializer allows for other reporters to be added to REPORTER_OPT_MAP, which is a more general solution and might also benefit others. These changes do not add any value to upstream pylint per se, but are not intrusive and would help us minimize the maintenance burden when upgrading to a new pylint upstream version, freeing up resources for more important work on pylint. |