summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* allow redefinition of functions across match arms (#772)HEADmainAnthony Sottile2023-04-252-1/+14
|
* fix accessed global annotation being redefined in a local scope (#765)Anthony Sottile2023-01-312-1/+8
|
* produce an error when a definition shadows an unused assignment (#761)Anthony Sottile2023-01-122-0/+11
|
* pushScope / popScope -> with in_scope(...) (#755)Anthony Sottile2022-11-271-47/+45
|
* handle deferred checking as a queue (#754)Anthony Sottile2022-11-272-20/+28
|
* remove outdated / incorrect comments (#753)Anthony Sottile2022-11-271-11/+1
|
* upgrade flake8 to silence file_tokens warning (#751)Anthony Sottile2022-11-271-1/+1
|
* pyflakes: python3.8+ (#752)Anthony Sottile2022-11-2710-144/+31
|
* fold unused checks into final scope checking (#750)Anthony Sottile2022-11-271-30/+7
|
* Remove patches via mailing list (#746)Danny Sepler2022-11-241-2/+2
|
* Release 3.0.13.0.1Anthony Sottile2022-11-242-1/+5
|
* fix crash on augmented-assign to print builtin (#745)Anthony Sottile2022-11-242-4/+7
|
* Release 3.0.03.0.0Anthony Sottile2022-11-232-1/+7
|
* master -> main (#742)Anthony Sottile2022-11-232-3/+3
|
* remove unused isGenerator (#737)Anthony Sottile2022-11-031-2/+0
|
* Remove py2 references from README (#732)Danny Sepler2022-10-031-4/+4
| | | * Remove reference of py2 from the README
* remove handling of `# type:` comments now that pyflakes is py3+ (#684)Anthony Sottile2022-09-167-430/+30
|
* Detect unused annotations in functions (#668)Danny Sepler2022-09-163-8/+43
| | | | | | | * Detect unused annotations in functions * Rebase correctly, use snake case, simplify conditions for `unused_annotations` Co-authored-by: Danny Sepler <dsepler@flatiron.com>
* detect undefined name of variable defined by AnnAssign (#729)Anthony Sottile2022-09-082-1/+6
|
* remove __init__ which is identical to parent (#726)Anthony Sottile2022-08-311-4/+0
|
* Release 2.5.0 (#720)2.5.0Anthony Sottile2022-07-302-1/+12
|
* remove special handling of pypy offsets since modern pypy gets it right (#717)Anthony Sottile2022-07-185-73/+39
|
* fix syntax error reporting from stdin (#357) (#716)Steven Karas2022-07-183-16/+70
| | | | | | | | In b73a3d12, there was an assumption that text is None only if there was an encoding error with the file. However this was the case for all pythons before 3.9 when reading code from stdin. This takes care to correctly report as much context as possible, so errors aren't silently dropped with the unhelpful "problem decoding source" message.
* Fix pylint URL in README (#714)Raphael Nestler2022-07-081-1/+1
|
* burn the bridges with python 2.x (#707)Anthony Sottile2022-06-1217-639/+203
| | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* upgrade flake8 to 4.0.1 (#706)Anthony Sottile2022-05-302-7/+5
| | | I removed the erroring type annotations since we are not (yet) using a type checker
* remove backported unittest methods (#705)Anthony Sottile2022-05-301-35/+0
|
* remove checking of node.docstring (#704)Anthony Sottile2022-05-301-13/+1
| | | this was only present during a brief period of 3.7 pre-release
* simplify PYPY check (#703)Anthony Sottile2022-05-303-17/+3
|
* remove unused WIN (#702)Anthony Sottile2022-05-301-6/+0
|
* remove unused names argument in LateFutureImport (#701)Anthony Sottile2022-05-302-3/+2
|
* Unify output : characters. Fixes #692 (#693)Malware Utkonos2022-05-301-2/+2
|
* add tests for python3.11-specific syntax (#694)Anthony Sottile2022-05-304-2/+26
|
* assignment expression in comprehension should target outer scope (#698)Yann Sartori2022-05-302-1/+33
| | | Co-authored-by: Yann Sartori <sartori2@llnl.gov>
* don't double-run github actions for PRs from pycqa/ (#695)Anthony Sottile2022-05-161-1/+5
|
* use updated pypy3 name for github actions (#685)Anthony Sottile2022-03-251-2/+2
|
* support TypeAlias annotations (#679)Laurent Kadian2022-02-132-3/+47
| | | | | For assignments with `TypeAlias` as annotation, handle the value as an annotation also. Avoids incorrectly detecting `Bar` as unused in `x: TypeAlias = 'Bar'`.
* ignore `__all__` when not directly assigned (#675)Anthony Sottile2022-02-122-1/+14
|
* Drop support for EOL Python 2.7 and 3.4-3.5 (#660)masterHugo van Kemenade2021-12-244-13/+10
| | | | | * Add support for Python 3.10 * Drop support for EOL Python 2.7 and 3.4-3.5
* remove with_statement future imports (#663)Danny Sepler2021-11-213-20/+0
|
* Release 2.4.0 (#657)2.4.0Anthony Sottile2021-10-062-1/+7
|
* Detect typing module attributes with 'import typing as <name>' (#632)Angus L'Herrou2021-10-052-1/+28
| | | | | * added functionality to detect typing module attributes with 'import typing as <name>' * remove async keyword from test_aliased_import
* add support for match statement (#630)Anthony Sottile2021-10-052-1/+96
|
* Remove pychecker from README (#639)Adam Johnson2021-05-281-3/+1
| | | Its last release was nearly 10 years ago: https://sourceforge.net/projects/pychecker/files/ , so it seems pretty dead.
* fix typo: annoation -> annotation (#636)Yusuke Hayashi2021-05-211-1/+1
|
* remove old and unused "tracing" code (#625)Terence Honles2021-05-201-5/+0
|
* fix syntax error offsets for python 3.10 (#635)Anthony Sottile2021-05-203-17/+30
|
* Release 2.3.12.3.1Anthony Sottile2021-03-242-1/+5
|
* Annotations no longer redefine names (#619)Anthony Sottile2021-03-242-0/+12
|
* allow passing tox positional arguments to unittest (#624)Terence Honles2021-03-231-1/+1
|