summaryrefslogtreecommitdiff
path: root/pylint
Commit message (Collapse)AuthorAgeFilesLines
* Add a new error, 'repeated-keyword', when a keyword argument is passed ↵Claudiu Popa2015-10-097-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 Popa2015-10-071-17/+1
| | | | changes related to Starred nodes in the call args
* Fix the line number of the expected message.Claudiu Popa2015-10-041-1/+1
|
* Don't emit 'assigning-non-slot' for descriptors. Closes issue #652.Claudiu Popa2015-10-043-3/+60
|
* Merged in cezarelnazli/pylint (pull request #281)Claudiu Popa2015-10-043-0/+12
|\ | | | | | | Add functional tests for PEP 448
| * More PEP 448 testsCezar2015-10-041-1/+4
| |
| * Add functional tests for PEP 448Cezar2015-10-043-0/+9
| |
* | Simplify the check.Claudiu Popa2015-10-041-4/+5
| |
* | Remove unused parameter.Claudiu Popa2015-10-041-3/+3
| |
* | Rename the name of the singleton-comparison test files.Claudiu Popa2015-10-042-0/+0
| |
* | Merged in dmand/pylint/comparison-checker (pull request #280)Claudiu Popa2015-10-044-0/+101
|\ \ | |/ |/| | | Add checker for comparisons to singleton values (True, False, None)
| * Add initial version of comparison checkercomparison-checkerDmitry Pribysh2015-10-034-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 Popa2015-10-0324-205/+74
|/
* Fix multiple-imports error in epylint.pyClaudiu Popa2015-10-021-1/+2
|
* Change multiple-imports message type to `convention` with code C0410Dmitry Pribysh2015-10-011-1/+1
|
* Add checker to identify multiple imports on one line.Dmitry Pribysh2015-10-016-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 Popa2015-10-013-4/+23
|
* Remove line from the license header, which was inadvertently copied from base.pyClaudiu Popa2015-10-011-1/+0
|
* Start adding a protocol checker for the async features added in PEP 492:Claudiu Popa2015-10-017-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 Popa2015-10-0120-144/+98
|
* Don't consider a class abstract if its members can't be properly inferred.Claudiu Popa2015-09-305-14/+49
| | | | | This fixes a false positive related to abstract-class-instantiated. Closes issue #648.
* Port more tests to the new test format.Claudiu Popa2015-09-3021-86/+35
|
* Fix the tests.Claudiu Popa2015-09-293-4/+4
|
* Port some old style tests to new style tests.Claudiu Popa2015-09-2916-74/+30
|
* Remove unused linefix-362moylop2602015-09-271-1/+0
|
* Fix #362 - support in import and add testmoylop2602015-09-276-2/+16
|
* Fix #362 - Show deprecated-module even if the module is not installedmoylop2602015-09-261-1/+1
|
* Grammar fix.Claudiu Popa2015-09-233-6/+6
|
* Retrieve the qualified name only after filtering the proper needs.Claudiu Popa2015-09-212-2/+9
|
* Show what nonlocal was found without a binding.Claudiu Popa2015-09-213-4/+17
|
* Disable deprecated-method for using cgi.escape.Claudiu Popa2015-09-211-2/+3
|
* Add changelog entry for 014f596 and a couple of other fixes.Claudiu Popa2015-09-212-4/+6
|
* Add a comment regarding the nodes we're not interested into.Claudiu Popa2015-09-211-1/+2
|
* Merged in matrixise/pylint/fix-582 (pull request #274)Claudiu Popa2015-09-215-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-582Stephane Wirtel2015-09-215-1/+51
| |
* | Merged in fnstudio/pylint (pull request #275)Claudiu Popa2015-09-211-2/+10
|\ \ | | | | | | | | | Fix issue #314: bad-whitespace looks weird when the line does not end with newline
| * | deprecated method names are shown correctlypalazzem2015-09-211-2/+10
| | |
| * | Merged in palazzem/pylint (pull request #271)Claudiu Popa2015-09-215-12/+35
| |\ \ | | | | | | | | | | | | fixed _check_deprecated_method during pylint linting
| * | | fixed _check_deprecated_method during pylint lintingpalazzem2015-09-211-2/+2
| | |/ | |/|
* | | Fix issue #314: bad-whitespace looks weird when the line does not end with ↵Fabio Natali2015-09-213-2/+15
| |/ |/| | | | | newline
* | Improve the test suite for deprecated-methodClaudiu Popa2015-09-215-12/+35
|/
* Fix tests and use all the inference results when checking for bad-open-mode ↵Claudiu Popa2015-09-213-16/+18
| | | | and deprecated-method
* Deprecation check based on Python versionCezar2015-09-208-70/+100
|
* Fix some errorsCezar2015-09-203-6/+6
|
* Remove old test for deprecated methodsCezar2015-09-201-122/+0
|
* Update functional tests for deprecated methodsCezar2015-09-205-8/+30
|
* Add checker for method deprecationCezar2015-09-201-50/+67
|
* Add tests for deprecationCezar2015-09-191-0/+122
|
* Add deprecation checkersCezar2015-09-191-27/+59
|
* Merged logilab/pylint into defaultcezarelnazli2015-09-192-1/+11
|\