summaryrefslogtreecommitdiff
path: root/pylint
Commit message (Collapse)AuthorAgeFilesLines
* Use a simpler/faster private/special method regexpfunction_regexpCosmin Poieana2015-05-081-1/+1
|
* MergeCosmin Poieana2015-05-0832-376/+314
|\
| * Fix other pylint warnings over pylint's codebase.Claudiu Popa2015-05-082-3/+3
| |
| * Get rid of abstract-method warnings emitted over pylint's codebase.Claudiu Popa2015-05-072-0/+4
| |
| * Don't emit warnings in the deprecated method.Claudiu Popa2015-05-071-0/+1
| |
| * Emit a proper deprecation warning for reporters.BaseReporter.add_message.Claudiu Popa2015-05-072-2/+23
| | | | | | | | | | The alternative way is to use handle_message. add_message will be removed in Pylint 1.6.
| * Fix a couple of other pylint warnings over pylint codebase.Claudiu Popa2015-05-071-13/+13
| |
| * Fix unidiomatic-typecheck.Claudiu Popa2015-05-071-1/+1
| |
| * Remove unused variables.Claudiu Popa2015-05-071-1/+1
| |
| * Remove unused imports.Claudiu Popa2015-05-072-2/+1
| |
| * Remove trailing whitespace.Claudiu Popa2015-05-071-1/+1
| |
| * Fix the wrong hanging indentation.Claudiu Popa2015-05-051-2/+1
| |
| * Make ignore-iface-methods a noop option, mark it as deprecated.Claudiu Popa2015-05-053-25/+24
| |
| * Remove the rest of interface checks.Claudiu Popa2015-05-055-215/+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 Popa2015-05-057-67/+5
| |
| * Forgot to add tests for the new warnings.Claudiu Popa2015-05-034-0/+26
| |
| * Remove obsolete function, it was never used.Claudiu Popa2015-05-031-7/+0
| |
| * Add two new warnings, duplicate-bases and inconsistent-mro.Claudiu Popa2015-05-031-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 Popa2015-05-021-5/+5
| |
| * Remove erroneously included test.James Morgensen2015-05-021-12/+0
| |
| * Make fix for #223 more readable; add a test and a ChangeLog line.James Morgensen2015-05-012-3/+78
| |
| * Fix issue #223 (ignored_modules should apply to import errors too). The fix ↵James Morgensen2015-04-301-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 Popa2015-04-251-1/+1
| |
| * Lookup in the implicit metaclass when checking for no-member.Claudiu Popa2015-04-255-3/+21
| | | | | | | | | | | | 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 Popa2015-04-243-7/+20
| | | | | | | | | | 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 Popa2015-04-241-0/+7
| |
| * Move more no-member filters inside _emit_no_member. Add more tests.Claudiu Popa2015-04-243-15/+44
| |
| * Move the mixin check inside _emit_no_member.Claudiu Popa2015-04-241-9/+8
| |
| * Refactor common code for ignoring no-member for a owner in a particular ↵Claudiu Popa2015-04-241-22/+39
| | | | | | | | function.
* | Improve method regexp for those that require docstringsCosmin Poieana2015-04-202-1/+10
|/
* Use no-docstring-rgx option to not emit missing-docstring for private funcs.Florian Bruhin2015-04-201-4/+2
|
* Add temporary fix for the builtins check in _determine_callable_obj.Claudiu Popa2015-04-191-1/+8
|
* Remove trailing whitespace.Claudiu Popa2015-04-191-1/+1
|
* Look for __init__ instead of __new__ in _determine_callable_obj if __new__ ↵Claudiu Popa2015-04-193-3/+16
| | | | | | | | | 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 Popa2015-04-181-1/+1
|
* Update the list of known special methods.Claudiu Popa2015-04-181-4/+13
|
* Remove an unused function.Claudiu Popa2015-04-181-7/+0
|
* Do a lookup in the locals when looking for __reversed__.Claudiu Popa2015-04-181-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 Popa2015-04-181-3/+9
|
* Provide some hints for the bad-builtin message. Closes issue #522.Claudiu Popa2015-04-184-5/+18
|
* Simplify the not-context-manager check, by doing a simple parent lookup on a ↵Claudiu Popa2015-04-163-9/+36
| | | | Generator.
* Remove trailing whitespace.Claudiu Popa2015-04-161-1/+1
|
* Replace some strings with a global variable, for clarity.Claudiu Popa2015-04-161-2/+2
|
* Don't emit redefined-outer-name for __future__ directives.Claudiu Popa2015-04-162-6/+20
| | | | Closes issue #520.
* Provide a context file for get_module_part. This prevents a crash with ↵Claudiu Popa2015-04-134-1/+17
| | | | various packages.
* Don't emit missing-docstring for private functions.Claudiu Popa2015-04-083-0/+31
|
* Fix a bad-reversed-sequence false positive.Claudiu Popa2015-04-072-5/+22
| | | | | 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 Popa2015-04-062-2/+15
|
* Merged in raduciorba/pylint/unused-import (pull request #244)Claudiu Popa2015-04-02113-447/+486
|\ | | | | | | #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 NameRadu Ciorba2015-04-021-1/+3
| | | | | | | | | | Adds the case that caused the crash, a contextlib.contextmanager referenced by name.