Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | `input` is not a bad function when using python3. Close #110 | Sylvain Th?nault | 2013-12-20 | 1 | -1/+5 | |
| | | ||||||
| * | useless-else-on-loop not emited if there is a break in the else clause of ↵ | Sylvain Th?nault | 2013-12-20 | 1 | -0/+4 | |
| | | | | | | | | inner loop. Close #117 | |||||
| * | [py3] various fixes for python3 | Sylvain Th?nault | 2013-12-20 | 1 | -3/+5 | |
| | | ||||||
* | | Handle iter builtin. | cpopa | 2013-10-10 | 1 | -1/+7 | |
| | | ||||||
* | | Ignore deques (can't retrieve special methods). | cpopa | 2013-10-10 | 1 | -1/+6 | |
| | | ||||||
* | | Update message. | cpopa | 2013-10-10 | 1 | -1/+2 | |
| | | ||||||
* | | Mappings aren't accepted by reversed(). | cpopa | 2013-10-10 | 1 | -11/+26 | |
| | | ||||||
* | | Check that the argument passed to reversed() is a proper sequence. | cpopa | 2013-10-08 | 1 | -1/+38 | |
|/ | ||||||
* | merge with Pylint defaultexec | cpopa | 2013-08-02 | 1 | -9/+9 | |
|\ | ||||||
| * | Update changelog and description message. | cpopa | 2013-08-02 | 1 | -1/+1 | |
| | | ||||||
| * | Combine exec-function with exec-statement, rename test files. | cpopa | 2013-08-01 | 1 | -13/+7 | |
| | | ||||||
| * | Check for builtin exec function for Python 3. | cpopa | 2013-07-27 | 1 | -2/+8 | |
| | | ||||||
* | | some pylint and style fixes | Sylvain Th?nault | 2013-07-31 | 1 | -9/+9 | |
|/ | ||||||
* | Do not double-check parameter names with the regex for parameters and inline ↵ | Torsten Marek | 2013-07-24 | 1 | -1/+1 | |
| | | | | variables. | |||||
* | Use maxversion on a few messages | Julien Cristau | 2013-06-19 | 1 | -2/+4 | |
| | | | | | | - duplicate keyword arguments are a syntax error starting with 2.6 - the builtin map and filter functions changed in 3.0 - exec is no longer a statement in 3.0 | |||||
* | utils: allow specifying min and max relevant python versions for a message | Julien Cristau | 2013-07-17 | 1 | -1/+2 | |
| | | | | | Some messages don't make sense for all python versions. Allow that information to be recorded in the message declaration. | |||||
* | Ignore W0121 for python3 | Julien Cristau | 2013-06-19 | 1 | -1/+3 | |
| | | | | The old raise syntax doesn't exist anymore, so we can't warn about it. | |||||
* | Implement property support for method name checking. | Torsten Marek | 2013-06-20 | 1 | -2/+38 | |
| | ||||||
* | Do not emit the invalid-name warning for inherited instance attributes. | Torsten Marek | 2013-06-20 | 1 | -1/+2 | |
| | ||||||
* | Names in global statements are now checked against the regular expression ↵ | Torsten Marek | 2013-06-19 | 1 | -0/+5 | |
| | | | | for constants. | |||||
* | python3 compat for check about dangerous default arguments | Julien Cristau | 2013-06-18 | 1 | -1/+3 | |
| | | | | The __builtin__ module was renamed as builtins. | |||||
* | Change the base checker to use symbolic names rather than IDs. | Torsten Marek | 2013-06-19 | 1 | -65/+66 | |
| | ||||||
* | Move old-raise-syntax warning to correct checker class. | Torsten Marek | 2013-06-19 | 1 | -5/+4 | |
| | ||||||
* | move EmptyReport exception to pylint.utils and refactor imports so ↵ | Sylvain Th?nault | 2013-06-19 | 1 | -2/+4 | |
| | | | | pylint.utils stop importing checkers/reporters | |||||
* | Use the class name regex for toplevel name assignments whose RHS callfunc ↵ | Torsten Marek | 2013-06-19 | 1 | -1/+4 | |
| | | | | result is a class. | |||||
* | [base checker] simplified invalid-name message | Sylvain Th?nault | 2013-06-19 | 1 | -2/+2 | |
| | ||||||
* | Add utility function is_builtin_object. | Torsten Marek | 2013-06-19 | 1 | -2/+2 | |
| | ||||||
* | Fix a breaking typo appeared during the merge. | Anthony Truchet | 2013-06-19 | 1 | -1/+1 | |
| | ||||||
* | Resolve conflict and take feed-back into account for PR #34 | Anthony Truchet | 2013-06-19 | 1 | -12/+18 | |
|\ | ||||||
| * | Minor typo, stylistic improvements and comments. | Anthony Truchet | 2013-06-18 | 1 | -7/+11 | |
| | | ||||||
| * | Add @check_messages(...) annotations to help not to spend time on unneeded ↵ | Anthony Truchet | 2013-06-18 | 1 | -5/+7 | |
| | | | | | | | | | | | | | | | | checks. We only add such annotations is reasonably simple cases. Some visit methods are quite involved and build a checker's state ; such methods are skipped in the first phase. | |||||
* | | Add name checking for variables defined in class scope, with a new | Torsten Marek | 2013-06-18 | 1 | -2/+14 | |
| | | | | | | | | name type class_variable. | |||||
* | | Extended the docstring tester to optionally allow skipping the requirement for | Torsten Marek | 2013-06-18 | 1 | -6/+21 | |
|/ | | | | short functions/methods/classes and added a testcase. | |||||
* | Added a new warning old-raise-syntax to warn about the construct | Torsten Marek | 2013-06-17 | 1 | -2/+8 | |
| | | | | raise ExceptionClass, argument | |||||
* | astng has been renamed astroid | David Douard | 2013-06-17 | 1 | -46/+46 | |
| | ||||||
* | Change C0109 [useless-else-on-loop] to W0120 (W0109 is already taken) and ↵ | Torsten Marek | 2013-04-25 | 1 | -8/+8 | |
| | | | | change it to only accept breaks for else: branches on loops. | |||||
* | a few pylint fixes and copyright cleanups | Sylvain Th?nault | 2013-03-29 | 1 | -1/+1 | |
| | ||||||
* | Emit a warning for loops that have an else clause but no break or return. | Torsten Marek | 2013-03-29 | 1 | -0/+35 | |
| | | | | | | | | | | Technically, the else: is superfluous with the return statement, but after much internal discussion, I've changed the patch to allow this. The main point is that the indented block is useful as a visual marker to say that the loop may end early and end execution of the whole block, or something else might happen afterwards. That being said, I wouldn't be terribly sad if we took it out again. Closes #81378 | |||||
* | Lambdas can contain yields, do not warn about them. | Torsten Marek | 2013-03-29 | 1 | -1/+1 | |
| | | | | Closes #123259 | |||||
* | Make sure that pragmas that apply to whole lines are interpreted literally, ↵ | Torsten Marek | 2013-03-29 | 1 | -1/+1 | |
| | | | | | | | | | so that their scope is not extended to the whole scope if they occur at the beginning of a scope. Closes #123285 | |||||
* | Warn about duplicate argument names. Python raises a SyntaxError, but it's not | Torsten Marek | 2013-03-29 | 1 | -1/+12 | |
| | | | | | | raised during the actual parsing, but in pass 2 (before bytecode compilation). Closes #123233 | |||||
* | Unify handling for dangerous default values and make sure that set, dict and ↵ | Torsten Marek | 2013-03-29 | 1 | -7/+4 | |
| | | | | | | | | list literals are treated the same way as list(), set() and dict(). Depends on inference fixes found in logilab-astng 0.24.3/0.25 | |||||
* | give [deprecated-lambda] when a map/filter of a lambda could be a ↵ | Martin Pool | 2013-02-26 | 1 | -2/+38 | |
| | | | | comprehension. Closes #120657 | |||||
* | Add name type in C0103 message | Sylvain Th?nault | 2012-09-20 | 1 | -3/+6 | |
| | ||||||
* | lint fixes | Sylvain Th?nault | 2012-09-19 | 1 | -2/+2 | |
| | ||||||
* | Closes #104572: symbolic warning names in output (by Martin Pool) | Martin Pool | 2012-09-19 | 1 | -0/+26 | |
| | | | | triggered whatever the format using a command line option | |||||
* | use .iter* version of dict methods when possible | Sylvain Th?nault | 2012-09-19 | 1 | -2/+2 | |
| | ||||||
* | Emit W0102 (dangerous default value) when sets are used as default arguments ↵ | Torsten Marek | 2012-05-15 | 1 | -0/+6 | |
| | | | | for functions. Closes #92911 | |||||
* | fix crash when decorators are accessed through more than one dot. Closes #87192 | Sylvain Th?nault | 2012-01-19 | 1 | -1/+1 | |
| | ||||||
* | Do not issue warnings when using 2.6's property.setter/deleter ↵ | Sylvain Th?nault | 2011-10-26 | 1 | -1/+18 | |
| | | | | functionality. Closes #50461, #52020 and #51222. |