summaryrefslogtreecommitdiff
path: root/pylint/checkers/async.py
Commit message (Collapse)AuthorAgeFilesLines
* [PyCQA migration] Upgrade links to the repositories in code and doc (#8514)Pierre Sassoulas2023-03-291-2/+2
|
* Use UninferableBase instead of UninferableDaniel van Noord2023-03-071-2/+2
|
* Add typing to ``async`` and ``deprecated`` checkers (#6684)Daniël van Noord2022-05-241-1/+1
|
* Migrate from 'check_messages' to 'only_required_for_messages' (#6417)Pierre Sassoulas2022-04-211-2/+2
|
* Remove ``IAstroidChecker`` from ``__implements__``Daniël van Noord2022-04-191-2/+1
|
* Deprecate ``get_global_option``Daniël van Noord2022-04-151-2/+2
|
* Replace .namespace with .config (#6316)Daniël van Noord2022-04-141-1/+1
|
* Use ``python-typing-update`` on ``pylint/checkers`` directoryDaniël van Noord2022-04-141-1/+3
|
* Remove the ``future_option_parsing`` keyword (#6253)Daniël van Noord2022-04-111-3/+0
|
* Deprecate ``ignore-mixin-members`` + add ``ignored-checks-for-mixins``Daniël van Noord2022-04-041-5/+7
|
* Add a pre-commit hook to check the copyright noticePierre Sassoulas2022-03-241-1/+1
| | | | | Fix the existing file so they have a notice. No header for setup.py or examples or doc
* Simplify hard to maintain copyright noticePierre Sassoulas2022-03-241-7/+1
| | | | | | git is the source of truth for the copyright, copyrite (the tool) was taking exponentially longer with each release, and it's polluting the code with sometime as much as 50 lines of names.
* Add typing and uniformize the checker registering in Pylinter (#5558)Pierre Sassoulas2021-12-271-2/+5
| | | | | Remove verbose docstring in code, keep them in example and doc Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
* Add ``mixin-class-rgx`` option (#5203)Daniël van Noord2021-10-251-4/+6
| | | | | Co-authored-by: Alpha <alpha@pokesplash.net> Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* Bump pylint to 2.11.0, update changelogv2.11.0Pierre Sassoulas2021-09-161-0/+1
|
* Refactor various typing related issues (#4940)Daniël van Noord2021-09-031-2/+2
| | | | | | | | | | | | | | | * Add type annotations to ``visit`` & ``leave`` calls This adds typing to most calls that visit nodes. All other changes are due to mypy errors resulting from introduction of typing. * Fix outstanding mypy issues This removes some of the `type: ignore` comments in favour of solving the mypy issues these comments were surpressing. * Fix remaining references to node_classes Except for two references to node_classes in the changelog this should be the last of them Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com> Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* Use alias for astroid.nodes 01 (#4855)Marc Mueller2021-08-171-3/+4
| | | | * Use from astroid import nodes * Resolve name conflicts
* Bump pylint to 2.9.3, update changelogv2.9.3Pierre Sassoulas2021-07-011-0/+1
|
* Fix copyright links (#4647)Marc Mueller2021-07-011-1/+1
| | | | * Fix link in license header * Update link to astroid bump_changelog
* Rename copying to license and upgrade the setup.cfg (#4338)Pierre Sassoulas2021-04-111-1/+1
|
* Import astroid with import x or from x import y but not bothPierre Sassoulas2021-03-281-3/+2
| | | | Remove unused imports for astroid
* Update copyright notice with copyritePierre Sassoulas2021-02-281-1/+1
|
* Apply copyrite --contribution-thresholdPierre Sassoulas2021-02-211-0/+1
|
* Fix false positive for `not-async-context-manager` when ↵Claudiu Popa2020-12-281-2/+6
| | | | | | `contextlib.asynccontextmanager` is used Close #3862
* Sets up copyrighthippo912020-08-201-1/+1
|
* Add missing copyright annotations for the past releasesClaudiu Popa2020-04-271-0/+1
|
* Style - Apply isort on all apllicable filesPierre Sassoulas2019-03-201-5/+2
|
* Fix false positive with `not-async-context-manager` caused by not ↵Claudiu Popa2018-12-061-9/+17
| | | | | | understanding `contextlib.asynccontextmanager` Close #2440
* Reformat the code with blackClaudiu Popa2018-09-171-74/+82
|
* Update copyright noticesClaudiu Popa2018-07-151-2/+2
|
* Kill YES in favour of UninferableClaudiu Popa2018-05-241-3/+3
|
* 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).