Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge | Cosmin Poieana | 2015-05-08 | 21 | -186/+157 |
|\ | |||||
| * | Emit a proper deprecation warning for reporters.BaseReporter.add_message. | Claudiu Popa | 2015-05-07 | 1 | -1/+18 |
| | | | | | | | | | | The alternative way is to use handle_message. add_message will be removed in Pylint 1.6. | ||||
| * | Remove trailing whitespace. | Claudiu Popa | 2015-05-07 | 1 | -1/+1 |
| | | |||||
| * | Remove the rest of interface checks. | Claudiu Popa | 2015-05-05 | 4 | -141/+0 |
| | | | | | | | | | | | | | | The removed checks are interface-is-not-class, missing-interface-method, unresolved-interface. The reason is that its better to start recommending ABCs instead of the old Zope era of interfaces. | ||||
| * | Remove interface-not-implemented warning. Closes issue #532. | Claudiu Popa | 2015-05-05 | 5 | -38/+3 |
| | | |||||
| * | Forgot to add tests for the new warnings. | Claudiu Popa | 2015-05-03 | 4 | -0/+26 |
| | | |||||
| * | Remove erroneously included test. | James Morgensen | 2015-05-02 | 1 | -12/+0 |
| | | |||||
| * | Make fix for #223 more readable; add a test and a ChangeLog line. | James Morgensen | 2015-05-01 | 1 | -0/+60 |
| | | |||||
| * | 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. | ||||
* | Add logic for retrieving the HOME for Jython. | Claudiu Popa | 2015-04-18 | 1 | -3/+9 |
| | |||||
* | Provide some hints for the bad-builtin message. Closes issue #522. | Claudiu Popa | 2015-04-18 | 3 | -3/+5 |
| | |||||
* | 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. | ||||
* | Provide a context file for get_module_part. This prevents a crash with ↵ | Claudiu Popa | 2015-04-13 | 3 | -0/+15 |
| | | | | various packages. | ||||
* | 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 | 103 | -401/+438 |
|\ | | | | | | | #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. | ||||
| * | Don't fail in the string checker when encountering a bytes string on Python ↵ | Claudiu Popa | 2015-04-01 | 1 | -0/+41 |
| | | | | | | | | 3 with a .format method called. | ||||
| * | Add Changelog entry and cleanup after changeset 2307df9 | Claudiu Popa | 2015-03-31 | 2 | -17/+0 |
| | | |||||
| * | Remove "pointless-except" checker | Steven Myint | 2015-03-30 | 3 | -6/+1 |
| | | | | | | | | This fixes #506. | ||||
| * | Fix failing test. | Claudiu Popa | 2015-03-28 | 2 | -3/+3 |
| | | |||||
| * | Port more tests from the old test style to the new test style. | Claudiu Popa | 2015-03-28 | 93 | -375/+378 |
| | | |||||
* | | 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 |
| | |||||
* | For Python 3.3 we get a different error, use the default test for it. | Claudiu Popa | 2015-03-26 | 1 | -0/+0 |
| | |||||
* | Fix some tests for the drone.io. | Claudiu Popa | 2015-03-26 | 4 | -8/+3 |
| | |||||
* | Finish converting tests to work both on Python 2 and 3. Also, drop 2to3 for ↵ | Claudiu Popa | 2015-03-26 | 15 | -20/+50 |
| | | | | tests. | ||||
* | Don't emit an unused-wildcard-import for imported __future__ names from ↵ | Claudiu Popa | 2015-03-26 | 1 | -1/+0 |
| | | | | other modules. | ||||
* | Try to make the tests compatible with both Python 2 and Python 3. | Claudiu Popa | 2015-03-26 | 73 | -402/+406 |
| | |||||
* | 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. | ||||
* | Promote a couple of warnings to errors. | Claudiu Popa | 2015-03-20 | 3 | -8/+8 |
| | | | | | | | | These warnings were promoted since they could uncover potential bugs in the code and since most people are using `pylint -E` anyway, it's good to have them as errors. These warnings are: assignment-from-none, unbalanced-tuple-unpacking, unpacking-non-sequence, non-iterator-returned. Closes issue #388. | ||||
* | Merged in myint/pylint (pull request #237) | Claudiu Popa | 2015-03-18 | 3 | -14/+14 |
|\ | | | | | | | Add "duplicate-except" checker. Patch by Steven Myint. | ||||
| * | Handle the case where SyntaxError is reraised as AstroidBuildingException. | Claudiu Popa | 2015-03-18 | 1 | -1/+1 |
| | | |||||
| * | Add an extra hint (ex: "add 3 spaces") to bad-continuation message. | Daniel Balparda | 2015-03-17 | 2 | -13/+13 |
| | | |||||
* | | Move to functional per Claudiu's note | Steven Myint | 2015-03-14 | 3 | -16/+13 |
| | | |||||
* | | Disable irrelevant check | Steven Myint | 2015-03-14 | 1 | -1/+1 |
| | | |||||
* | | Revert | Steven Myint | 2015-03-14 | 1 | -11/+0 |
| | | |||||
* | | Add "duplicate-except" checker | Steven Myint | 2015-03-13 | 3 | -1/+28 |
|/ | | | | | 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 | 11 | -59/+40 |
| | | | | abstract-class-little-referenced. |