Skip to content

Update pyflakes to 2.2.0#95

Closed
pyup-bot wants to merge 1 commit intomasterfrom
pyup-update-pyflakes-2.1.1-to-2.2.0
Closed

Update pyflakes to 2.2.0#95
pyup-bot wants to merge 1 commit intomasterfrom
pyup-update-pyflakes-2.1.1-to-2.2.0

Conversation

@pyup-bot
Copy link
Collaborator

This PR updates pyflakes from 2.1.1 to 2.2.0.

Changelog

2.2.0

- Include column information in error messages
- Fix ``overload`` detection with other decorators and in non-global scopes
- Fix return-type annotation being a class member
- Fix assignment to ``_`` in doctests with existing ``_`` name
- Namespace attributes which are attached to ast nodes with ``_pyflakes_`` to
avoid conflicts with other libraries (notably bandit)
- Add check for f-strings without placeholders
- Add check for unused/extra/invalid ``'string literal'.format(...)``
- Add check for unused/extra/invalid ``'string literal % ...``
- Improve python shebang detection
- Allow type ignore to be followed by a code `` type: ignore[attr-defined]``
- Add support for assignment expressions (PEP 572)
- Support ``overload`` detection from ``typing_extensions`` as well
- Fix ``overload`` detection for async functions
- Allow ``continue`` inside ``finally`` in python 3.8+
- Fix handling of annotations in positional-only arguments
- Make pyflakes more resistant to future syntax additions
- Fix false positives in partially quoted type annotations
- Warn about ``is`` comparison to tuples
- Fix ``Checker`` usage with async function subtrees
- Add check for ``if`` of non-empty tuple
- Switch from ``optparse`` to ``argparse``
- Fix false positives in partially quoted type annotations in unusual contexts
- Be more cautious when identifying ``Literal`` type expressions
Links

@codecov-io
Copy link

codecov-io commented Apr 10, 2020

Codecov Report

Merging #95 into master will not change coverage by %.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #95   +/-   ##
=======================================
  Coverage   78.13%   78.13%           
=======================================
  Files           5        5           
  Lines         247      247           
=======================================
  Hits          193      193           
  Misses         54       54           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 620ad78...e864162. Read the comment docs.

@pyup-bot
Copy link
Collaborator Author

Closing this in favor of #167

@pyup-bot pyup-bot closed this Mar 14, 2021
@BarthJr BarthJr deleted the pyup-update-pyflakes-2.1.1-to-2.2.0 branch March 14, 2021 17:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants