Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge | Cosmin Poieana | 2015-05-08 | 12 | -38/+88 |
|\ | |||||
| * | Remove interface-not-implemented warning. Closes issue #532. | Claudiu Popa | 2015-05-05 | 2 | -32/+0 |
| | | |||||
| * | Forgot to add tests for the new warnings. | Claudiu Popa | 2015-05-03 | 4 | -0/+26 |
| | | |||||
| * | Lookup in the implicit metaclass when checking for no-member. | Claudiu Popa | 2015-04-25 | 4 | -2/+20 |
| | | | | | | | | | | | | If the class in question has an implicit metaclass, which is True for new style classes, then we can look into in when we are doing a dot access on it. Closes issue #438. | ||||
| * | Don't emit no-member for classes with unknown bases. | Claudiu Popa | 2015-04-24 | 2 | -4/+16 |
| | | | | | | | | | | Since we don't know what those bases might add, we simply ignore the error in this case. | ||||
| * | Move more no-member filters inside _emit_no_member. Add more tests. | Claudiu Popa | 2015-04-24 | 2 | -2/+28 |
| | | |||||
* | | Improve method regexp for those that require docstrings | Cosmin Poieana | 2015-04-20 | 1 | -0/+9 |
|/ | |||||
* | Look for __init__ instead of __new__ in _determine_callable_obj if __new__ ↵ | Claudiu Popa | 2015-04-19 | 2 | -0/+9 |
| | | | | | | | | | comes from builtins. Since the __new__ comes from builtins, it will not have attached any information regarding what parameters it expects, so the check will be useless. Retrieving __init__ in that case will at least detect a couple of false negatives. Closes issue #429. | ||||
* | Provide some hints for the bad-builtin message. Closes issue #522. | Claudiu Popa | 2015-04-18 | 2 | -1/+3 |
| | |||||
* | Simplify the not-context-manager check, by doing a simple parent lookup on a ↵ | Claudiu Popa | 2015-04-16 | 2 | -0/+33 |
| | | | | Generator. | ||||
* | Don't emit redefined-outer-name for __future__ directives. | Claudiu Popa | 2015-04-16 | 1 | -2/+9 |
| | | | | Closes issue #520. | ||||
* | Don't emit missing-docstring for private functions. | Claudiu Popa | 2015-04-08 | 2 | -0/+29 |
| | |||||
* | Fix a bad-reversed-sequence false positive. | Claudiu Popa | 2015-04-07 | 1 | -1/+12 |
| | | | | | This patch looks for a __reversed__ method for subclasses of dict (this is especially present in OrderedDict implementations). | ||||
* | Don't warn about no-self-use for builtin properties. | Claudiu Popa | 2015-04-06 | 1 | -1/+13 |
| | |||||
* | Merged in raduciorba/pylint/unused-import (pull request #244) | Claudiu Popa | 2015-04-02 | 55 | -0/+1069 |
|\ | | | | | | | #475 fix unused-import false positive when the import is used in a class assignment | ||||
| * | Update test for not-context-manager when context node is a Name | Radu Ciorba | 2015-04-02 | 1 | -1/+3 |
| | | | | | | | | | | Adds the case that caused the crash, a contextlib.contextmanager referenced by name. | ||||
| * | Handle the case for not-context-manager when the context node is a Name. | Claudiu Popa | 2015-04-01 | 2 | -0/+13 |
| | | | | | | | | This fixes a crash. | ||||
| * | Port more tests from the old test style to the new test style. | Claudiu Popa | 2015-03-28 | 53 | -0/+1054 |
| | | |||||
* | | add another test case + fixed an import error | Radu Ciorba | 2015-03-30 | 2 | -1/+4 |
| | | |||||
* | | update the test | Radu Ciorba | 2015-03-30 | 1 | -2/+3 |
| | | |||||
* | | add functional tests for unsed import false positive #475 | Radu Ciorba | 2015-03-28 | 1 | -2/+5 |
|/ | |||||
* | boolean-datetime is disabled for Python 3.5+ | Claudiu Popa | 2015-03-26 | 1 | -0/+2 |
| | |||||
* | Finish converting tests to work both on Python 2 and 3. Also, drop 2to3 for ↵ | Claudiu Popa | 2015-03-26 | 6 | -0/+26 |
| | | | | tests. | ||||
* | Try to make the tests compatible with both Python 2 and Python 3. | Claudiu Popa | 2015-03-26 | 28 | -149/+170 |
| | |||||
* | merged default from logilab/pylint and resolve conflictnot-context-manager | Radu Ciorba | 2015-03-23 | 2 | -0/+28 |
|\ | |||||
| * | add warning for confusing usage of with statementconfusing-with-statement | Radu Ciorba | 2015-03-22 | 2 | -0/+28 |
| | | | | | | | | | | | | Emitted when an ambiguous looking with statement is used. For example `with open() as first, second` which looks like a tuple assignment but is actually 2 context managers. | ||||
* | | add 'not-context-manager' error | Radu Ciorba | 2015-03-22 | 2 | -0/+47 |
|/ | | | | | Checks that whatever you use in a with statement implements __enter__ and __exit__ or is decorated with contextlib.contextmanager. | ||||
* | Merged in myint/pylint (pull request #237) | Claudiu Popa | 2015-03-18 | 1 | -11/+11 |
|\ | | | | | | | Add "duplicate-except" checker. Patch by Steven Myint. | ||||
| * | Add an extra hint (ex: "add 3 spaces") to bad-continuation message. | Daniel Balparda | 2015-03-17 | 1 | -11/+11 |
| | | |||||
* | | Move to functional per Claudiu's note | Steven Myint | 2015-03-14 | 2 | -0/+13 |
| | | |||||
* | | Add "duplicate-except" checker | Steven Myint | 2015-03-13 | 1 | -1/+1 |
|/ | | | | | It checks if an exception type was already caught previously in the same try/except. This fixes #485. | ||||
* | Remove abstract-class-not-used, for the same reasons as star-args and ↵ | Claudiu Popa | 2015-03-11 | 8 | -42/+39 |
| | | | | abstract-class-little-referenced. | ||||
* | Remove abstract-class-little-used warning, since it doesn't add any real value. | Claudiu Popa | 2015-03-11 | 5 | -5/+5 |
| | |||||
* | Remove the star-args error. | Claudiu Popa | 2015-03-11 | 3 | -3/+3 |
| | | | | | This warning is removed because it doesn't add any real value and it's not a problem if someone uses unpacking in their code. | ||||
* | Remove excessive quotes in docstrings | Pavel Roskin | 2015-02-26 | 1 | -1/+1 |
| | |||||
* | Fix #299: Warn about `type(x) is/== Y`impl-299 | Chris Rebert | 2015-02-21 | 2 | -0/+94 |
| | |||||
* | Move all package files to a pylint package. | Ionel Cristian Maries | 2015-02-14 | 197 | -0/+5252 |