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 | 35 | -393/+359 |
|\ | |||||
| * | Fix other pylint warnings over pylint's codebase. | Claudiu Popa | 2015-05-08 | 2 | -3/+3 |
| | | |||||
| * | Get rid of abstract-method warnings emitted over pylint's codebase. | Claudiu Popa | 2015-05-07 | 3 | -1/+5 |
| | | |||||
| * | Don't emit warnings in the deprecated method. | Claudiu Popa | 2015-05-07 | 1 | -0/+1 |
| | | |||||
| * | Emit a proper deprecation warning for reporters.BaseReporter.add_message. | Claudiu Popa | 2015-05-07 | 3 | -2/+28 |
| | | | | | | | | | | The alternative way is to use handle_message. add_message will be removed in Pylint 1.6. | ||||
| * | Disable in pylintrc only the actual problems from the codebase. | Claudiu Popa | 2015-05-07 | 1 | -1/+10 |
| | | |||||
| * | Fix a couple of other pylint warnings over pylint codebase. | Claudiu Popa | 2015-05-07 | 1 | -13/+13 |
| | | |||||
| * | Fix unidiomatic-typecheck. | Claudiu Popa | 2015-05-07 | 2 | -2/+2 |
| | | |||||
| * | Remove unused variables. | Claudiu Popa | 2015-05-07 | 2 | -2/+2 |
| | | |||||
| * | Remove unused imports. | Claudiu Popa | 2015-05-07 | 3 | -3/+2 |
| | | |||||
| * | Remove trailing whitespace. | Claudiu Popa | 2015-05-07 | 1 | -1/+1 |
| | | |||||
| * | Remove entries regarding interfaces from the documentation. | Claudiu Popa | 2015-05-06 | 1 | -15/+2 |
| | | |||||
| * | Fix the wrong hanging indentation. | Claudiu Popa | 2015-05-05 | 1 | -2/+1 |
| | | |||||
| * | Make ignore-iface-methods a noop option, mark it as deprecated. | Claudiu Popa | 2015-05-05 | 4 | -26/+26 |
| | | |||||
| * | Remove the rest of interface checks. | Claudiu Popa | 2015-05-05 | 6 | -215/+9 |
| | | | | | | | | | | | | | | 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 | 8 | -67/+7 |
| | | |||||
| * | Forgot to add tests for the new warnings. | Claudiu Popa | 2015-05-03 | 4 | -0/+26 |
| | | |||||
| * | 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 | 2 | -1/+27 |
| | | | | | | | | | | | | 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 |
| | | |||||
| * | 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 | 3 | -3/+82 |
| | | |||||
| * | 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 | 6 | -3/+25 |
| | | | | | | | | | | | | 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 | 4 | -8/+26 |
| | | | | | | | | | | 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 | 3 | -15/+44 |
| | | |||||
| * | 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 | 2 | -1/+10 |
|/ | |||||
* | 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 | 4 | -3/+24 |
| | | | | | | | | | 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. | ||||
* | 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 | 5 | -5/+20 |
| | |||||
* | Simplify the not-context-manager check, by doing a simple parent lookup on a ↵ | Claudiu Popa | 2015-04-16 | 3 | -9/+36 |
| | | | | 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 | 3 | -6/+23 |
| | | | | Closes issue #520. | ||||
* | Provide a context file for get_module_part. This prevents a crash with ↵ | Claudiu Popa | 2015-04-13 | 4 | -1/+17 |
| | | | | various packages. | ||||
* | Don't emit missing-docstring for private functions. | Claudiu Popa | 2015-04-08 | 4 | -0/+33 |
| | |||||
* | Fix a bad-reversed-sequence false positive. | Claudiu Popa | 2015-04-07 | 3 | -5/+25 |
| | | | | | 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 | 3 | -2/+17 |
| |