Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Restore compatibility with Python 2.6. | cpopa | 2014-07-24 | 1 | -6/+12 | |
| | ||||||
* | go back to dependency on astroid 1.1 since it breaks tox tests, even when ↵ | Sylvain Th?nault | 2014-07-24 | 1 | -2/+2 | |
| | | | | configured to grab astroid from hg :( | |||||
* | fix issue #203, we should not let ImportError propagate from the import checker | Sylvain Th?nault | 2014-07-23 | 2 | -1/+8 | |
| | ||||||
* | import modutils from astroid, it has been backported there | Sylvain Th?nault | 2014-07-23 | 5 | -7/+7 | |
| | ||||||
* | Merged in PCManticore/pylint/metaclass_undefined (pull request #111) | Claudiu Popa | 2014-07-23 | 5 | -7/+28 | |
|\ | | | | | | | Emit 'undefined-variable' for undefined names used as metaclasses with Python 3 `metaclass=` syntax. | |||||
| * | Merged logilab/pylint into default | Claudiu Popa | 2014-07-23 | 2 | -7/+5 | |
| |\ | ||||||
| | * | stop having ASTWalker as BaseChecker base class, it's not used anymore (and ↵ | Sylvain Th?nault | 2014-07-23 | 1 | -3/+1 | |
| | | | | | | | | | | | | for a while) | |||||
| | * | Don't use set comprehension. | cpopa | 2014-07-23 | 1 | -4/+4 | |
| | | | ||||||
| * | | Don't emit 'unused-variable' when assigning to a nonlocal. Closes issue #275. | cpopa | 2014-07-23 | 3 | -0/+23 | |
| |/ | ||||||
* | | Remove check_messages, so that leave_module can be called if ↵ | cpopa | 2014-07-23 | 1 | -1/+0 | |
| | | | | | | | | 'undefined-variable' is disabled. | |||||
* | | Merge with default. | cpopa | 2014-07-22 | 49 | -86/+1429 | |
|\ \ | |/ | ||||||
| * | Definition order is considered for classes, function arguments and ↵ | cpopa | 2014-07-21 | 6 | -4/+134 | |
| | | | | | | | | annotations. Closes issue #257. | |||||
| * | Fix an 'unused-variable' false positive, where the variable is assigned ↵ | cpopa | 2014-07-17 | 4 | -4/+67 | |
| | | | | | | | | through an import. Closes issue #196. | |||||
| * | Don't emit 'no-name-in-module' for ignored modules. Closes issue #223. | cpopa | 2014-07-12 | 5 | -2/+47 | |
| | | ||||||
| * | Remove extra spaces. | Alexandru Coman | 2014-07-11 | 2 | -1/+1 | |
| | | ||||||
| * | Checkers respect priority now. Close issue #229. | Alexandru Coman | 2014-07-11 | 2 | -1/+7 | |
| | | ||||||
| * | Fix test for Python 2. | cpopa | 2014-07-10 | 1 | -1/+1 | |
| | | ||||||
| * | Add 'assigning-non-slot' warning, which detects assignments to attributes ↵ | cpopa | 2014-07-10 | 4 | -1/+95 | |
| | | | | | | | | not defined in slots. | |||||
| * | Fix a false positive regarding W0511. Closes issue #149. | Alexandru Coman | 2014-07-09 | 4 | -3/+9 | |
| | | ||||||
| * | Code refactoring. | Alexandru Coman | 2014-07-09 | 1 | -7/+6 | |
| | | ||||||
| * | Fixing Issue #149 (W0511 false positive) | Alexandru Coman | 2014-07-09 | 3 | -17/+23 | |
| | | ||||||
| * | Give credit to recent contributor. Also, fix the news entry from the ChangeLog. | cpopa | 2014-07-08 | 2 | -1/+4 | |
| | | ||||||
| * | Merged in davidshea/pylint/list-index-checker (pull request #119) | Claudiu Popa | 2014-07-08 | 0 | -0/+0 | |
| |\ | | | | | | | | | | Emit an error when a list index is a non-integer type | |||||
| * \ | Merge upstream default into list-index-checker | David Shea | 2014-07-08 | 6 | -0/+425 | |
| |\ \ | | |/ | |/| | ||||||
| | * | Rearrange the sequence and slice index tests for better clarity | David Shea | 2014-07-08 | 4 | -77/+90 | |
| | | | ||||||
| | * | Move the sequence_types set to the global level | David Shea | 2014-07-08 | 1 | -3/+4 | |
| | | | ||||||
| | * | Skip the check for whether node is a Slice in visit_slice. | David Shea | 2014-07-08 | 1 | -3/+0 | |
| | | | | | | | | | | | | It would actually be pretty weird if the node weren't a Slice in this case. | |||||
| | * | Fix a typo in a comment | David Shea | 2014-07-08 | 1 | -1/+1 | |
| | | | ||||||
| | * | Skip sequence index checks on types that do not resolve to an Instance or a | David Shea | 2014-07-08 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | Class. This avoids a crash on types that do not implement getattr, such as UnboundMethod. | |||||
| | * | Correct problems with checking extended slice syntax. | David Shea | 2014-07-07 | 3 | -2/+27 | |
| | | | | | | | | | | | | | | | Fix a crash triggered by visit_index events on ExtSlice objects, and emit an error when extslice syntax is used with builtin sequence types. | |||||
| | * | Correct the sequence index check for set and delete operations. | David Shea | 2014-07-07 | 3 | -11/+97 | |
| | | | | | | | | | | | | Usage of an index does not always imply __getitem__. | |||||
| | * | Correct the use of root() | David Shea | 2014-07-07 | 1 | -1/+1 | |
| | | | ||||||
| | * | Clean up some stylistic issues in the sequence and slice index type checks. | David Shea | 2014-07-07 | 5 | -46/+43 | |
| | | | ||||||
| | * | Expand the description for invalid-sequence-index to match the check. | David Shea | 2014-07-07 | 1 | -1/+2 | |
| | | | ||||||
| | * | Remove the types import since it is no longer used | David Shea | 2014-07-06 | 1 | -1/+0 | |
| | | | ||||||
| | * | Merge upstream default into list-index-checker | David Shea | 2014-07-06 | 6 | -0/+306 | |
| | |\ | ||||||
| | | * | Check for invalid indices used with subclasses of sequence types. | David Shea | 2014-07-06 | 3 | -4/+63 | |
| | | | | ||||||
| | | * | Correct a typo: indicies -> indices | David Shea | 2014-07-06 | 1 | -1/+1 | |
| | | | | ||||||
| | | * | Expand and correct the types used in the index and slice checks. | David Shea | 2014-07-06 | 8 | -61/+155 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Check for invalid index types used with all builtin sequence types. Allow slice objects and instances with __index__ to be used as indices. Check for __index__ implemented in bases of an instance. Remove the astroid types from the error messages and correct the wording. Use .pytype() instead of .name to check types to avoid problems with custom types defining names that conflict with the bulitin types. Use type(None) instead of types.NoneType to avoid python 3 incompatibilities. Handle None returned by safe_infer. | |||||
| | | * | Add a changelog entry for list and slice type checks | David Shea | 2014-07-03 | 1 | -0/+2 | |
| | | | | ||||||
| | | * | Add a check for invalid types used as slice indices. | David Shea | 2014-07-03 | 3 | -0/+84 | |
| | | | | ||||||
| | | * | Add tests for list index type checking and clean up the conditional | David Shea | 2014-07-03 | 3 | -10/+54 | |
| | | | | ||||||
| | | * | Emit an error when a list index is a non-integer type | David Shea | 2014-07-01 | 1 | -0/+23 | |
| | | | | ||||||
| | | * | Created new branch list-index-checker | David Shea | 2014-07-01 | 0 | -0/+0 | |
| | | | | ||||||
| * | | | Fix a false positive with unbalanced iterable unpacking, when encountering ↵ | cpopa | 2014-07-08 | 3 | -4/+22 | |
| |/ / | | | | | | | | | | starred nodes. Closes issue #273. | |||||
| * | | Fix test issues. | cpopa | 2014-07-02 | 1 | -22/+22 | |
| | | | ||||||
| * | | Emit 'not-callable' when calling properties. Closes issue #268. | cpopa | 2014-07-02 | 4 | -3/+112 | |
| |/ | ||||||
| * | Remove trailing whitespace. | cpopa | 2014-07-01 | 1 | -1/+1 | |
| | | ||||||
| * | Emit attribute-defined-outside-init for all cases, not just for the last ↵ | cpopa | 2014-07-01 | 4 | -21/+36 | |
| | | | | | | | | assignment. Closes issue #262. | |||||
| * | Merged in bare_except (pull request #2) | Claudiu Popa | 2014-06-27 | 8 | -8/+22 | |
| |\ | | | | | | | | | | Issue broad-except and bare-except even if the number of except handlers is different than 1. Closes issue #113 |