Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add a new error, 'repeated-keyword', when a keyword argument is passed ↵ | Claudiu Popa | 2015-10-09 | 7 | -6/+82 |
| | | | | | | | | | | 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). | ||||
* | Remove the starargs verification code, since it is obsolete after the AST ↵ | Claudiu Popa | 2015-10-07 | 1 | -17/+1 |
| | | | | changes related to Starred nodes in the call args | ||||
* | 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 | 3 | -3/+60 |
| | |||||
* | 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 |
| | | |||||
* | | Simplify the check. | Claudiu Popa | 2015-10-04 | 1 | -4/+5 |
| | | |||||
* | | Remove unused parameter. | Claudiu Popa | 2015-10-04 | 1 | -3/+3 |
| | | |||||
* | | 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 | 4 | -0/+101 |
|\ \ | |/ |/| | | | Add checker for comparisons to singleton values (True, False, None) | ||||
| * | Add initial version of comparison checkercomparison-checker | Dmitry Pribysh | 2015-10-03 | 4 | -0/+101 |
| | | | | | | | | | | 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 |
|/ | |||||
* | Fix multiple-imports error in epylint.py | Claudiu Popa | 2015-10-02 | 1 | -1/+2 |
| | |||||
* | Change multiple-imports message type to `convention` with code C0410 | Dmitry Pribysh | 2015-10-01 | 1 | -1/+1 |
| | |||||
* | Add checker to identify multiple imports on one line. | Dmitry Pribysh | 2015-10-01 | 6 | -4/+32 |
| | | | | 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 | 3 | -4/+23 |
| | |||||
* | Remove line from the license header, which was inadvertently copied from base.py | Claudiu Popa | 2015-10-01 | 1 | -1/+0 |
| | |||||
* | Start adding a protocol checker for the async features added in PEP 492: | Claudiu Popa | 2015-10-01 | 7 | -0/+178 |
| | | | | | | | | | | | | | | * 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 | 5 | -14/+49 |
| | | | | | 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 | 6 | -2/+16 |
| | |||||
* | Fix #362 - Show deprecated-module even if the module is not installed | moylop260 | 2015-09-26 | 1 | -1/+1 |
| | |||||
* | Grammar fix. | Claudiu Popa | 2015-09-23 | 3 | -6/+6 |
| | |||||
* | Retrieve the qualified name only after filtering the proper needs. | Claudiu Popa | 2015-09-21 | 2 | -2/+9 |
| | |||||
* | Show what nonlocal was found without a binding. | Claudiu Popa | 2015-09-21 | 3 | -4/+17 |
| | |||||
* | Disable deprecated-method for using cgi.escape. | Claudiu Popa | 2015-09-21 | 1 | -2/+3 |
| | |||||
* | Add changelog entry for 014f596 and a couple of other fixes. | Claudiu Popa | 2015-09-21 | 2 | -4/+6 |
| | |||||
* | Add a comment regarding the nodes we're not interested into. | Claudiu Popa | 2015-09-21 | 1 | -1/+2 |
| | |||||
* | Merged in matrixise/pylint/fix-582 (pull request #274) | Claudiu Popa | 2015-09-21 | 5 | -1/+51 |
|\ | | | | | | | 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 | 5 | -1/+51 |
| | | |||||
* | | Merged in fnstudio/pylint (pull request #275) | Claudiu Popa | 2015-09-21 | 1 | -2/+10 |
|\ \ | | | | | | | | | | Fix issue #314: bad-whitespace looks weird when the line does not end with newline | ||||
| * | | deprecated method names are shown correctly | palazzem | 2015-09-21 | 1 | -2/+10 |
| | | | |||||
| * | | Merged in palazzem/pylint (pull request #271) | Claudiu Popa | 2015-09-21 | 5 | -12/+35 |
| |\ \ | | | | | | | | | | | | | fixed _check_deprecated_method during pylint linting | ||||
| * | | | fixed _check_deprecated_method during pylint linting | palazzem | 2015-09-21 | 1 | -2/+2 |
| | |/ | |/| | |||||
* | | | Fix issue #314: bad-whitespace looks weird when the line does not end with ↵ | Fabio Natali | 2015-09-21 | 3 | -2/+15 |
| |/ |/| | | | | | newline | ||||
* | | Improve the test suite for deprecated-method | Claudiu Popa | 2015-09-21 | 5 | -12/+35 |
|/ | |||||
* | Fix tests and use all the inference results when checking for bad-open-mode ↵ | Claudiu Popa | 2015-09-21 | 3 | -16/+18 |
| | | | | and deprecated-method | ||||
* | Deprecation check based on Python version | Cezar | 2015-09-20 | 8 | -70/+100 |
| | |||||
* | Fix some errors | Cezar | 2015-09-20 | 3 | -6/+6 |
| | |||||
* | Remove old test for deprecated methods | Cezar | 2015-09-20 | 1 | -122/+0 |
| | |||||
* | Update functional tests for deprecated methods | Cezar | 2015-09-20 | 5 | -8/+30 |
| | |||||
* | Add checker for method deprecation | Cezar | 2015-09-20 | 1 | -50/+67 |
| | |||||
* | Add tests for deprecation | Cezar | 2015-09-19 | 1 | -0/+122 |
| | |||||
* | Add deprecation checkers | Cezar | 2015-09-19 | 1 | -27/+59 |
| | |||||
* | Merged logilab/pylint into default | cezarelnazli | 2015-09-19 | 2 | -1/+11 |
|\ |