Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add checker for membership rules and testsmembership-test-checker | Dmitry Pribysh | 2015-10-19 | 8 | -0/+176 |
| | | | | | | | | 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. | ||||
* | Change the numeric ids of the new checkers. | Claudiu Popa | 2015-10-18 | 1 | -0/+2 |
| | |||||
* | Merge with defaultiterable-checker | Dmitry Pribysh | 2015-10-18 | 21 | -1/+313 |
|\ | |||||
| * | Make iterable/mapping checker more smart and refactor it. | Dmitry Pribysh | 2015-10-15 | 16 | -15/+145 |
| | | | | | | | | | | Now it ignores errors inside mixins declarations and is able to recognize iterable/mapping metaclasses. | ||||
| * | Remove redundant unittests for iterable checker | Dmitry Pribysh | 2015-10-08 | 1 | -135/+0 |
| | | |||||
| * | Handle more corner cases in iterable/mapping checker | Dmitry Pribysh | 2015-10-08 | 4 | -31/+95 |
| | | |||||
| * | Add more positive functional tests for the iterable context checker | Dmitry Pribysh | 2015-10-08 | 2 | -25/+79 |
| | | |||||
| * | Move iterable checker to typecheck module and alter inference strategy | Dmitry Pribysh | 2015-10-08 | 2 | -144/+144 |
| | | |||||
| * | Add functional tests for iterable hecker | Dmitry Pribysh | 2015-10-07 | 5 | -0/+56 |
| | | |||||
| * | Alter inference strategy in iterable/mapping checker | Dmitry Pribysh | 2015-10-07 | 1 | -23/+2 |
| | | |||||
| * | Improve iterable inference and add more unit tests for iterable checker | Dmitry Pribysh | 2015-10-06 | 1 | -6/+48 |
| | | |||||
| * | Add iterable checking for all types of comprehensions. | Dmitry Pribysh | 2015-10-05 | 1 | -0/+15 |
| | | | | | | | | | | Specifically, list, dict and set comprehensions along with generator expressions. | ||||
| * | Add initial version of checker for iterables/mappings. | Dmitry Pribysh | 2015-10-05 | 1 | -0/+107 |
| | | | | | | | | | | | | | | | | | | | | | | | | It checks for the following things: - for-statement should contain an iterable value - `yield from`-statement should contain an iterable value - function call with star args should contain iterable value (e.g. in `foo(*bar)` bar should be an iterable) - function call with kwargs should contain a mapping (e.g. in `foo(**bar)` bar should be a dict) Idea came from issue #563. | ||||
* | | Forgot to add test file. | Claudiu Popa | 2015-10-18 | 1 | -0/+5 |
| | | |||||
* | | Merged in dmand/pylint/fix-667 (pull request #287) | Claudiu Popa | 2015-10-18 | 3 | -0/+15 |
|\ \ | | | | | | | | | | Make `no-self-use` checker not throw a warning if method has a `super()` call. | ||||
| * | | Make `no-self-use` checker not throw a warning if method has a `super()` call. | Dmitry Pribysh | 2015-10-17 | 3 | -0/+15 |
| |/ | | | | | | | | | | | | | This is only enabled for python 3.0+ and only for `super` calls with no arguments. Fixes issue #667. | ||||
* | | Decode the docstring before attempting to parse it with the spelling checker | Claudiu Popa | 2015-10-16 | 1 | -0/+5 |
| | | | | | | | | | | Also, the patch changes calls to str() in the list of html reporter's messages only for the objects which aren't already unicode or byte strings. | ||||
* | | Port more old tests to the new style tests and remove obsolete tests. | Claudiu Popa | 2015-10-12 | 17 | -98/+83 |
| | | |||||
* | | --enable=all can now be used. Closes issue #142. | Claudiu Popa | 2015-10-10 | 1 | -0/+12 |
| | | |||||
* | | Don't warn about Starred nodes used properly in unpacking contexts | Claudiu Popa | 2015-10-10 | 2 | -0/+6 |
| | | | | | | | | Closes issue #653 | ||||
* | | Add a new error, 'repeated-keyword', when a keyword argument is passed ↵ | Claudiu Popa | 2015-10-09 | 6 | -1/+64 |
|/ | | | | | | | | | | multiple times into a function call. This is similar with redundant-keyword-arg, but it's mildly different that it needs to be a separate error. This change also uses a CallSite for understanding the arguments that were passed into a function call, since with this we can make sense about multiple starred arguments passed into (PEP 448). | ||||
* | Fix the line number of the expected message. | Claudiu Popa | 2015-10-04 | 1 | -1/+1 |
| | |||||
* | Don't emit 'assigning-non-slot' for descriptors. Closes issue #652. | Claudiu Popa | 2015-10-04 | 2 | -3/+37 |
| | |||||
* | Merged in cezarelnazli/pylint (pull request #281) | Claudiu Popa | 2015-10-04 | 3 | -0/+12 |
|\ | | | | | | | Add functional tests for PEP 448 | ||||
| * | More PEP 448 tests | Cezar | 2015-10-04 | 1 | -1/+4 |
| | | |||||
| * | Add functional tests for PEP 448 | Cezar | 2015-10-04 | 3 | -0/+9 |
| | | |||||
* | | Rename the name of the singleton-comparison test files. | Claudiu Popa | 2015-10-04 | 2 | -0/+0 |
| | | |||||
* | | Merged in dmand/pylint/comparison-checker (pull request #280) | Claudiu Popa | 2015-10-04 | 3 | -0/+62 |
|\ \ | |/ |/| | | | Add checker for comparisons to singleton values (True, False, None) | ||||
| * | Add initial version of comparison checkercomparison-checker | Dmitry Pribysh | 2015-10-03 | 3 | -0/+62 |
| | | | | | | | | | | It checks for expressions like 'x == True', 'x == False' and 'x == None' and suggests the correct usage ('x', 'not x', 'x is None'). | ||||
* | | Port more old tests to the new style tests and remove obsolete tests. | Claudiu Popa | 2015-10-03 | 24 | -205/+74 |
|/ | |||||
* | Add checker to identify multiple imports on one line. | Dmitry Pribysh | 2015-10-01 | 5 | -3/+23 |
| | | | | Fixes issue #598. Had to modify some functional tests to ignore new message. | ||||
* | Update the list of special methods with the methods added in PEP 492. | Claudiu Popa | 2015-10-01 | 2 | -1/+20 |
| | |||||
* | Start adding a protocol checker for the async features added in PEP 492: | Claudiu Popa | 2015-10-01 | 6 | -0/+94 |
| | | | | | | | | | | | | | | * this patch adds the basis of a new checker, 'async', which deals with problems that can occur when working with async features added in Python with PEP 492. * We're also adding a new error, 'yield-inside-async-function', emitted on Python 3.5 and upwards when the `yield` statement is found inside a new coroutine function (PEP 492). * Another new error is added, 'not-async-context-manager', emitted when an async context manager block is used with an object which doesn't support this protocol (PEP 492). | ||||
* | Port more old style tests to new style tests. | Claudiu Popa | 2015-10-01 | 20 | -144/+98 |
| | |||||
* | Don't consider a class abstract if its members can't be properly inferred. | Claudiu Popa | 2015-09-30 | 4 | -14/+43 |
| | | | | | This fixes a false positive related to abstract-class-instantiated. Closes issue #648. | ||||
* | Port more tests to the new test format. | Claudiu Popa | 2015-09-30 | 21 | -86/+35 |
| | |||||
* | Fix the tests. | Claudiu Popa | 2015-09-29 | 3 | -4/+4 |
| | |||||
* | Port some old style tests to new style tests. | Claudiu Popa | 2015-09-29 | 16 | -74/+30 |
| | |||||
* | Remove unused linefix-362 | moylop260 | 2015-09-27 | 1 | -1/+0 |
| | |||||
* | Fix #362 - support in import and add test | moylop260 | 2015-09-27 | 5 | -1/+15 |
| | |||||
* | Grammar fix. | Claudiu Popa | 2015-09-23 | 1 | -4/+4 |
| | |||||
* | Retrieve the qualified name only after filtering the proper needs. | Claudiu Popa | 2015-09-21 | 1 | -1/+8 |
| | |||||
* | Show what nonlocal was found without a binding. | Claudiu Popa | 2015-09-21 | 2 | -1/+13 |
| | |||||
* | Add changelog entry for 014f596 and a couple of other fixes. | Claudiu Popa | 2015-09-21 | 1 | -2/+2 |
| | |||||
* | Merged in matrixise/pylint/fix-582 (pull request #274) | Claudiu Popa | 2015-09-21 | 4 | -1/+24 |
|\ | | | | | | | Add a new check for the nonlocal variables without binding (close issue #582) | ||||
| * | Add a new check for the nonlocal variables without binding (close issue #582)fix-582 | Stephane Wirtel | 2015-09-21 | 4 | -1/+24 |
| | | |||||
* | | Fix issue #314: bad-whitespace looks weird when the line does not end with ↵ | Fabio Natali | 2015-09-21 | 2 | -0/+10 |
| | | | | | | | | newline | ||||
* | | Improve the test suite for deprecated-method | Claudiu Popa | 2015-09-21 | 4 | -11/+34 |
|/ | |||||
* | Fix tests and use all the inference results when checking for bad-open-mode ↵ | Claudiu Popa | 2015-09-21 | 2 | -6/+6 |
| | | | | and deprecated-method | ||||
* | Deprecation check based on Python version | Cezar | 2015-09-20 | 7 | -7/+20 |
| |