Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use a simpler/faster private/special method regexpfunction_regexp | Cosmin Poieana | 2015-05-08 | 1 | -1/+1 |
| | |||||
* | Merge | Cosmin Poieana | 2015-05-08 | 7 | -162/+112 |
|\ | |||||
| * | Fix unidiomatic-typecheck. | Claudiu Popa | 2015-05-07 | 1 | -1/+1 |
| | | |||||
| * | Remove unused imports. | Claudiu Popa | 2015-05-07 | 2 | -2/+1 |
| | | |||||
| * | Make ignore-iface-methods a noop option, mark it as deprecated. | Claudiu Popa | 2015-05-05 | 1 | -15/+5 |
| | | |||||
| * | Remove the rest of interface checks. | Claudiu Popa | 2015-05-05 | 1 | -74/+4 |
| | | | | | | | | | | | | | | 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 | 2 | -29/+2 |
| | | |||||
| * | Remove obsolete function, it was never used. | Claudiu Popa | 2015-05-03 | 1 | -7/+0 |
| | | |||||
| * | Add two new warnings, duplicate-bases and inconsistent-mro. | Claudiu Popa | 2015-05-03 | 1 | -1/+21 |
| | | | | | | | | | | | | duplicate-bases is emitted when a class has the same bases listed more than once in its bases definition, while inconsistent-mro is emitted when no sane mro hierarchy can be determined. Closes issue #526. | ||||
| * | Fix some typos, rename _module_hierarchy to _qualified_names. | Claudiu Popa | 2015-05-02 | 1 | -5/+5 |
| | | |||||
| * | Make fix for #223 more readable; add a test and a ChangeLog line. | James Morgensen | 2015-05-01 | 1 | -3/+18 |
| | | |||||
| * | Fix issue #223 (ignored_modules should apply to import errors too). The fix ↵ | James Morgensen | 2015-04-30 | 1 | -2/+5 |
| | | | | | | | | will ignore import errors caused by attempting to import any name which is or is a subpackage of a module listed in ignored_modules. | ||||
| * | Remove trailing whitespace. | Claudiu Popa | 2015-04-25 | 1 | -1/+1 |
| | | |||||
| * | Lookup in the implicit metaclass when checking for no-member. | Claudiu Popa | 2015-04-25 | 1 | -1/+1 |
| | | | | | | | | | | | | 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 | 1 | -3/+4 |
| | | | | | | | | | | Since we don't know what those bases might add, we simply ignore the error in this case. | ||||
| * | Document why _emit_no_member can't be used before the actual .getattr call. | Claudiu Popa | 2015-04-24 | 1 | -0/+7 |
| | | |||||
| * | Move more no-member filters inside _emit_no_member. Add more tests. | Claudiu Popa | 2015-04-24 | 1 | -13/+16 |
| | | |||||
| * | Move the mixin check inside _emit_no_member. | Claudiu Popa | 2015-04-24 | 1 | -9/+8 |
| | | |||||
| * | Refactor common code for ignoring no-member for a owner in a particular ↵ | Claudiu Popa | 2015-04-24 | 1 | -22/+39 |
| | | | | | | | | function. | ||||
* | | Improve method regexp for those that require docstrings | Cosmin Poieana | 2015-04-20 | 1 | -1/+1 |
|/ | |||||
* | Use no-docstring-rgx option to not emit missing-docstring for private funcs. | Florian Bruhin | 2015-04-20 | 1 | -4/+2 |
| | |||||
* | Add temporary fix for the builtins check in _determine_callable_obj. | Claudiu Popa | 2015-04-19 | 1 | -1/+8 |
| | |||||
* | Remove trailing whitespace. | Claudiu Popa | 2015-04-19 | 1 | -1/+1 |
| | |||||
* | Look for __init__ instead of __new__ in _determine_callable_obj if __new__ ↵ | Claudiu Popa | 2015-04-19 | 1 | -3/+7 |
| | | | | | | | | | 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. | ||||
* | Remove trailing whitespace. | Claudiu Popa | 2015-04-18 | 1 | -1/+1 |
| | |||||
* | Update the list of known special methods. | Claudiu Popa | 2015-04-18 | 1 | -4/+13 |
| | |||||
* | Remove an unused function. | Claudiu Popa | 2015-04-18 | 1 | -7/+0 |
| | |||||
* | Do a lookup in the locals when looking for __reversed__. | Claudiu Popa | 2015-04-18 | 1 | -2/+2 |
| | | | | | | This patch uses a .locals lookup instead of a .getattr lookup, because we are interested only in the __reversed__ special methods defined in dict subclasses, without looking in ancestors. | ||||
* | Provide some hints for the bad-builtin message. Closes issue #522. | Claudiu Popa | 2015-04-18 | 1 | -2/+13 |
| | |||||
* | Simplify the not-context-manager check, by doing a simple parent lookup on a ↵ | Claudiu Popa | 2015-04-16 | 1 | -9/+3 |
| | | | | Generator. | ||||
* | Remove trailing whitespace. | Claudiu Popa | 2015-04-16 | 1 | -1/+1 |
| | |||||
* | Replace some strings with a global variable, for clarity. | Claudiu Popa | 2015-04-16 | 1 | -2/+2 |
| | |||||
* | Don't emit redefined-outer-name for __future__ directives. | Claudiu Popa | 2015-04-16 | 1 | -4/+11 |
| | | | | Closes issue #520. | ||||
* | Provide a context file for get_module_part. This prevents a crash with ↵ | Claudiu Popa | 2015-04-13 | 1 | -1/+2 |
| | | | | various packages. | ||||
* | Don't emit missing-docstring for private functions. | Claudiu Popa | 2015-04-08 | 1 | -0/+2 |
| | |||||
* | Fix a bad-reversed-sequence false positive. | Claudiu Popa | 2015-04-07 | 1 | -4/+10 |
| | | | | | 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/+2 |
| | |||||
* | Merged in raduciorba/pylint/unused-import (pull request #244) | Claudiu Popa | 2015-04-02 | 7 | -21/+18 |
|\ | | | | | | | #475 fix unused-import false positive when the import is used in a class assignment | ||||
| * | Handle the case for not-context-manager when the context node is a Name. | Claudiu Popa | 2015-04-01 | 1 | -3/+12 |
| | | | | | | | | 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/+3 |
| | | | | | | | | 3 with a .format method called. | ||||
| * | Add Changelog entry and cleanup after changeset 2307df9 | Claudiu Popa | 2015-03-31 | 2 | -6/+0 |
| | | |||||
| * | Remove "pointless-except" checker | Steven Myint | 2015-03-30 | 1 | -10/+1 |
| | | | | | | | | This fixes #506. | ||||
| * | issue-422 solved some pylint warnings when running pylint on pylint code base | Simu Toni | 2015-03-28 | 2 | -3/+3 |
| | | |||||
* | | fix indentation, add changelog entryunused-import | Radu Ciorba | 2015-03-31 | 1 | -2/+2 |
| | | |||||
* | | fix comment | Radu Ciorba | 2015-03-30 | 1 | -1/+1 |
| | | |||||
* | | add another test case + fixed an import error | Radu Ciorba | 2015-03-30 | 1 | -1/+1 |
| | | |||||
* | | fix unused-import false positive when the import is used in a class assignment | Radu Ciorba | 2015-03-30 | 1 | -5/+11 |
|/ | | | | don't consume from current scope if it's defined in the same statement | ||||
* | Expand tilde in spelling-private-dict-file | Pavel Roskin | 2015-03-27 | 1 | -0/+6 |
| | | | | This closes issue #503 | ||||
* | Don't emit an unused-wildcard-import for imported __future__ names from ↵ | Claudiu Popa | 2015-03-26 | 1 | -1/+23 |
| | | | | other modules. | ||||
* | Remove decorated_with_abc in the favour of decorated_with, which supports ↵ | Claudiu Popa | 2015-03-23 | 2 | -17/+8 |
| | | | | multiple decorator names to query. |