summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | Move unidiomatic-typecheck into the comparison checker from base.py, since ↵Claudiu Popa2015-10-262-46/+51
| |/ / | | | | | | | | | it makes more sense for it to be there.
* | | Merged in dmand/pylint/fix-685 (pull request #294)Claudiu Popa2015-10-277-107/+220
|\ \ \ | |/ / |/| | | | | Make iterable checker skip more abstract classes
| * | Make iterable checker skip classes that are inferred to be abstractfix-685Dmitry Pribysh2015-10-277-25/+121
| | |
| * | Skip not-an-iterable and similar checks for Base/Abstract classesDmitry Pribysh2015-10-272-84/+101
|/ / | | | | | | | | | | And refactor iterable checker. Fixes issue #685.
* | Simplify visit_compare, by moving the verifications for misplaced constants ↵Claudiu Popa2015-10-261-4/+4
| | | | | | | | into their own if statement.
* | Use the representation of the context when building the message for ↵Claudiu Popa2015-10-263-2/+4
| | | | | | | | misplaced-comparison-constant.
* | Add a Changelog entry for misplaced-comparison-constant.Claudiu Popa2015-10-261-0/+7
| |
* | Simplify _check_misplaced_constant.Claudiu Popa2015-10-261-8/+7
| |
* | Don't emit misplaced-comparison-constant for constant tests, such as true == ↵Claudiu Popa2015-10-263-15/+6
| | | | | | | | true, which should be handled by other checks.
* | Use a lower message id for misplaced-comparison-constant.Claudiu Popa2015-10-261-1/+1
| |
* | Make check_singleton_comparison a private function.Claudiu Popa2015-10-261-3/+3
| |
* | Update the docstring a little bit.Claudiu Popa2015-10-261-2/+3
| |
* | Add an extra space between classes.Claudiu Popa2015-10-261-0/+1
| |
* | Make misplaced-comparison-constant a convention, rather than a warning.Claudiu Popa2015-10-263-5/+5
| |
* | Merge heads.Claudiu Popa2015-10-2614-32/+119
|\ \
| * | Explicitely check for const to const comparisonLaura M?dioni2015-10-263-16/+40
| | | | | | | | | | | | Also add a check for comparison to a method, a function or an attribute and improve the functional test accordingly.
| * | add a new rule looking for yoda conditionsLaura M?dioni2015-10-1514-32/+95
| |/
* | Add test for verifying that __name__ can't be accessed from an instance.Claudiu Popa2015-10-262-0/+7
| |
* | Remove the list parantheses for a sum call.Claudiu Popa2015-10-261-1/+1
| |
* | Use a generator comprehension instead of creating a list.Claudiu Popa2015-10-261-1/+1
| |
* | Cleanup _parallel_task by moving the creation of the config into its own ↵Claudiu Popa2015-10-261-3/+7
| | | | | | | | function.
* | Added notes on integration with TextMateDaniele Procida2015-10-251-5/+63
| |
* | Add test case for issue #559. Closes issue #559.Claudiu Popa2015-10-241-0/+7
| |
* | Remove trailing whitespace.Claudiu Popa2015-10-221-1/+1
| |
* | Merged in dmand/pylint/doc-emphasis-fix (pull request #290)Claudiu Popa2015-10-220-0/+0
|\ \ | | | | | | | | | Fix documentation build errors
* | | Remove trailing whitespace from ChangeLogdoc-emphasis-fixDmitry Pribysh2015-10-221-5/+5
| | |
* | | Fix documentation build warnings and errorsDmitry Pribysh2015-10-224-6/+6
|/ / | | | | | | | | | | | | | | Errors fixed: - unqouted emphasis character usage (*) - missing list index Fixes #481.
* | Don't warn about abstract classes instantiated in their own body. Closes ↵Claudiu Popa2015-10-213-0/+34
| | | | | | | | issue #627.
* | Remove trailing whitespace.Claudiu Popa2015-10-201-1/+1
| |
* | Obsolete options are not present by default in the generated configuration file.Claudiu Popa2015-10-205-3/+16
| | | | | | | | Closes issue #632.
* | non-iterator-returned can detect classes with iterator-metaclasses.Claudiu Popa2015-10-204-18/+74
| | | | | | | | Closes issue #679.
* | Merged in dmand/pylint/membership-test-checker (pull request #289)Claudiu Popa2015-10-200-0/+0
|\ \ | | | | | | | | | Add checker for membership test protocol
* | | Add checker for membership rules and testsmembership-test-checkerDmitry Pribysh2015-10-1910-0/+228
|/ / | | | | | | | | | | | | | | Idea of checking is very simple: value used to the right of the 'in' operator should support membership test protocol (i.e. define either __contains__ or __iter__ or __getitem__). Fixes issue #589.
* | Correct the name of the messages.Claudiu Popa2015-10-181-2/+2
| |
* | Disable not-iterable-context for a couple of false positives.Claudiu Popa2015-10-181-0/+2
| |
* | Change the numeric ids of the new checkers.Claudiu Popa2015-10-182-2/+4
| |
* | Update the contribution stats for Dmitry.Claudiu Popa2015-10-181-1/+1
| |
* | Merged in dmand/pylint/iterable-checker (pull request #282)Claudiu Popa2015-10-1823-1/+478
|\ \ | | | | | | | | | Implement checker for values in iterable/mapping context
| * \ Merge with defaultiterable-checkerDmitry Pribysh2015-10-1823-1/+478
| |\ \ |/ / /
| * | Make iterable/mapping checker more smart and refactor it.Dmitry Pribysh2015-10-1517-81/+211
| | | | | | | | | | | | | | | Now it ignores errors inside mixins declarations and is able to recognize iterable/mapping metaclasses.
| * | Remove redundant unittests for iterable checkerDmitry Pribysh2015-10-081-135/+0
| | |
| * | Handle more corner cases in iterable/mapping checkerDmitry Pribysh2015-10-085-33/+109
| | |
| * | Add more positive functional tests for the iterable context checkerDmitry Pribysh2015-10-082-25/+79
| | |
| * | Refactor iterable context checkerDmitry Pribysh2015-10-081-29/+57
| | |
| * | Move iterable checker to typecheck module and alter inference strategyDmitry Pribysh2015-10-084-223/+264
| | |
| * | Update changelogDmitry Pribysh2015-10-071-0/+5
| | |
| * | Add functional tests for iterable heckerDmitry Pribysh2015-10-075-0/+56
| | |
| * | Alter inference strategy in iterable/mapping checkerDmitry Pribysh2015-10-072-52/+22
| | |
| * | Improve iterable inference and add more unit tests for iterable checkerDmitry Pribysh2015-10-062-11/+62
| | |
| * | Add iterable checking for all types of comprehensions.Dmitry Pribysh2015-10-052-0/+36
| | | | | | | | | | | | | | | Specifically, list, dict and set comprehensions along with generator expressions.