summaryrefslogtreecommitdiff
path: root/pylint/checkers/async.py
Commit message (Collapse)AuthorAgeFilesLines
* Regenerate copyright noticesClaudiu Popa2017-12-151-0/+1
|
* Allow yield in async function for python3.6. Closes #1372. (#1380)Derek Gustafson2017-03-231-1/+4
|
* Even more granular copyrights (thanks to copyrite)Claudiu Popa2016-07-231-2/+2
|
* Keep a consistent copyright notice across the board.Claudiu Popa2016-07-191-0/+2
| | | | | This was changed automatically in #894, but apparently we need to have the copyright notice somewhere.
* Add the new shorter license header, including to missing files. Close #894.Claudiu Popa2016-06-011-15/+3
|
* Use the correct module.Claudiu Popa2015-11-201-2/+2
|
* Import has_known_bases and safe_infer back into pylint from astroid, until ↵Claudiu Popa2015-11-201-3/+2
| | | | | | | | | the latter stabilizes its API. Currently astroid goes into a total revamp, having a couple of development branches with partially incompatible APIs, which means that pylint can't rely on the exact location of has_known_bases and safe_infer until astroid reaches a new major release. With this in mind, these two functions are backported in pylint again.
* 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-011-0/+84
* 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).