Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | allow redefinition of functions across match arms (#772)HEADmain | Anthony Sottile | 2023-04-25 | 2 | -1/+14 |
| | |||||
* | fix accessed global annotation being redefined in a local scope (#765) | Anthony Sottile | 2023-01-31 | 2 | -1/+8 |
| | |||||
* | produce an error when a definition shadows an unused assignment (#761) | Anthony Sottile | 2023-01-12 | 2 | -0/+11 |
| | |||||
* | pushScope / popScope -> with in_scope(...) (#755) | Anthony Sottile | 2022-11-27 | 1 | -47/+45 |
| | |||||
* | handle deferred checking as a queue (#754) | Anthony Sottile | 2022-11-27 | 2 | -20/+28 |
| | |||||
* | remove outdated / incorrect comments (#753) | Anthony Sottile | 2022-11-27 | 1 | -11/+1 |
| | |||||
* | upgrade flake8 to silence file_tokens warning (#751) | Anthony Sottile | 2022-11-27 | 1 | -1/+1 |
| | |||||
* | pyflakes: python3.8+ (#752) | Anthony Sottile | 2022-11-27 | 10 | -144/+31 |
| | |||||
* | fold unused checks into final scope checking (#750) | Anthony Sottile | 2022-11-27 | 1 | -30/+7 |
| | |||||
* | Remove patches via mailing list (#746) | Danny Sepler | 2022-11-24 | 1 | -2/+2 |
| | |||||
* | Release 3.0.13.0.1 | Anthony Sottile | 2022-11-24 | 2 | -1/+5 |
| | |||||
* | fix crash on augmented-assign to print builtin (#745) | Anthony Sottile | 2022-11-24 | 2 | -4/+7 |
| | |||||
* | Release 3.0.03.0.0 | Anthony Sottile | 2022-11-23 | 2 | -1/+7 |
| | |||||
* | master -> main (#742) | Anthony Sottile | 2022-11-23 | 2 | -3/+3 |
| | |||||
* | remove unused isGenerator (#737) | Anthony Sottile | 2022-11-03 | 1 | -2/+0 |
| | |||||
* | Remove py2 references from README (#732) | Danny Sepler | 2022-10-03 | 1 | -4/+4 |
| | | | * Remove reference of py2 from the README | ||||
* | remove handling of `# type:` comments now that pyflakes is py3+ (#684) | Anthony Sottile | 2022-09-16 | 7 | -430/+30 |
| | |||||
* | Detect unused annotations in functions (#668) | Danny Sepler | 2022-09-16 | 3 | -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 Sottile | 2022-09-08 | 2 | -1/+6 |
| | |||||
* | remove __init__ which is identical to parent (#726) | Anthony Sottile | 2022-08-31 | 1 | -4/+0 |
| | |||||
* | Release 2.5.0 (#720)2.5.0 | Anthony Sottile | 2022-07-30 | 2 | -1/+12 |
| | |||||
* | remove special handling of pypy offsets since modern pypy gets it right (#717) | Anthony Sottile | 2022-07-18 | 5 | -73/+39 |
| | |||||
* | fix syntax error reporting from stdin (#357) (#716) | Steven Karas | 2022-07-18 | 3 | -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 Nestler | 2022-07-08 | 1 | -1/+1 |
| | |||||
* | burn the bridges with python 2.x (#707) | Anthony Sottile | 2022-06-12 | 17 | -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 Sottile | 2022-05-30 | 2 | -7/+5 |
| | | | I removed the erroring type annotations since we are not (yet) using a type checker | ||||
* | remove backported unittest methods (#705) | Anthony Sottile | 2022-05-30 | 1 | -35/+0 |
| | |||||
* | remove checking of node.docstring (#704) | Anthony Sottile | 2022-05-30 | 1 | -13/+1 |
| | | | this was only present during a brief period of 3.7 pre-release | ||||
* | simplify PYPY check (#703) | Anthony Sottile | 2022-05-30 | 3 | -17/+3 |
| | |||||
* | remove unused WIN (#702) | Anthony Sottile | 2022-05-30 | 1 | -6/+0 |
| | |||||
* | remove unused names argument in LateFutureImport (#701) | Anthony Sottile | 2022-05-30 | 2 | -3/+2 |
| | |||||
* | Unify output : characters. Fixes #692 (#693) | Malware Utkonos | 2022-05-30 | 1 | -2/+2 |
| | |||||
* | add tests for python3.11-specific syntax (#694) | Anthony Sottile | 2022-05-30 | 4 | -2/+26 |
| | |||||
* | assignment expression in comprehension should target outer scope (#698) | Yann Sartori | 2022-05-30 | 2 | -1/+33 |
| | | | Co-authored-by: Yann Sartori <sartori2@llnl.gov> | ||||
* | don't double-run github actions for PRs from pycqa/ (#695) | Anthony Sottile | 2022-05-16 | 1 | -1/+5 |
| | |||||
* | use updated pypy3 name for github actions (#685) | Anthony Sottile | 2022-03-25 | 1 | -2/+2 |
| | |||||
* | support TypeAlias annotations (#679) | Laurent Kadian | 2022-02-13 | 2 | -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 Sottile | 2022-02-12 | 2 | -1/+14 |
| | |||||
* | Drop support for EOL Python 2.7 and 3.4-3.5 (#660)master | Hugo van Kemenade | 2021-12-24 | 4 | -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 Sepler | 2021-11-21 | 3 | -20/+0 |
| | |||||
* | Release 2.4.0 (#657)2.4.0 | Anthony Sottile | 2021-10-06 | 2 | -1/+7 |
| | |||||
* | Detect typing module attributes with 'import typing as <name>' (#632) | Angus L'Herrou | 2021-10-05 | 2 | -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 Sottile | 2021-10-05 | 2 | -1/+96 |
| | |||||
* | Remove pychecker from README (#639) | Adam Johnson | 2021-05-28 | 1 | -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 Hayashi | 2021-05-21 | 1 | -1/+1 |
| | |||||
* | remove old and unused "tracing" code (#625) | Terence Honles | 2021-05-20 | 1 | -5/+0 |
| | |||||
* | fix syntax error offsets for python 3.10 (#635) | Anthony Sottile | 2021-05-20 | 3 | -17/+30 |
| | |||||
* | Release 2.3.12.3.1 | Anthony Sottile | 2021-03-24 | 2 | -1/+5 |
| | |||||
* | Annotations no longer redefine names (#619) | Anthony Sottile | 2021-03-24 | 2 | -0/+12 |
| | |||||
* | allow passing tox positional arguments to unittest (#624) | Terence Honles | 2021-03-23 | 1 | -1/+1 |
| |