| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* pyupgrade --py36-plus
* remove handling of PY2
* remove handling of PY35_PLUS
* remove handling of PY36_PLUS
* remove obsolete version_info checks in pyflakes/
* adjust skips in tests for 3.6+
* is_py3_func -> has_annotations (specifically for lambda)
* remove references to py 2
* remove references to unichr
* clean up version-specific getattrs
* remove unused ReturnWithArgsInsideGenerator
* remove unused ast handlers
* remove unused RedefinedInListComp
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Fix bug in async function scope checking
Previously attempting to check an async function scoped tree would
immediately error because tuples are not callable.
The test added here is a direct copy of 'test_scope_function' as
I'm not sure what (if anything) should specifically be tested for
async functions, though it serves to prove the fix.
* Skip async function test where it doesn't apply
* Clarify that this is a smoke test for async function segments
|
|
|
This patch essentially adds the the
functionality for the Checker to handle
subtrees. Along with this args have also
been parsed through handlers.
Closes https://github.com/PyCQA/pyflakes/issues/338
|