~pyflakes-dev/pyflakes/master

Viewing all changes in revision 363.

  • Committer: GitHub
  • Author(s): Laurent Kadian
  • Date: 2022-02-13 16:32:09 UTC
  • Revision ID: git-v1:84da8cdaad574df7e692dff06ab561acc63d521c
support TypeAlias annotations (#679)

For assignments with `TypeAlias` as annotation, handle the value as an annotation also.

Avoids incorrectly detecting `Bar` as unused in `x: TypeAlias = 'Bar'`.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: