Bump pyflakes from 2.1.1 to 2.2.0
Created by: dependabot-preview[bot]
Bumps pyflakes from 2.1.1 to 2.2.0.
Changelog
Sourced from pyflakes's changelog.
2.2.0 (2020-04-08)
- 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 fromtyping_extensions
as well- Fix
@overload
detection for async functions- Allow
continue
insidefinally
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
toargparse
- Fix false positives in partially quoted type annotations in unusual contexts
- Be more cautious when identifying
Literal
type expressions
Commits
-
c72d6cf
Release 2.2.0 -
c688d2b
Fix pyflakes for removal of ast.Param (#523) -
684f14d
Be more cautious when identifying typing Literal (#517) -
7641643
Fix quoted type annotations in unusual contexts (#516) -
ef3c5cb
Deprecate optparse in favor of argparse (#499) -
598eb16
Add a check for if statement conditions which are non-empty tuples (#512) -
38ee670
Clarify message docstring (#522) -
780bdcd
Fix bug in async function scope checking (#511) -
0af480e
Warn about is comparison to tuple (#484) -
c9708a1
Fix false positive with partially quoted annotations (#479) - Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.
You can always request more updates by clicking Bump now
in your Dependabot dashboard.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebase
will rebase this PR -
@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it -
@dependabot merge
will merge this PR after your CI passes on it -
@dependabot squash and merge
will squash and merge this PR after your CI passes on it -
@dependabot cancel merge
will cancel a previously requested merge and block automerging -
@dependabot reopen
will reopen this PR if it is closed -
@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) -
@dependabot use these labels
will set the current labels as the default for future PRs for this repo and language -
@dependabot use these reviewers
will set the current reviewers as the default for future PRs for this repo and language -
@dependabot use these assignees
will set the current assignees as the default for future PRs for this repo and language -
@dependabot use this milestone
will set the current milestone as the default for future PRs for this repo and language -
@dependabot badge me
will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot dashboard:
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)