Skip to content

Bump flake8-annotations from 2.4.1 to 2.5.0#52

Merged
jb3 merged 2 commits into
mainfrom
dependabot/pip/flake8-annotations-2.5.0
Jan 17, 2021
Merged

Bump flake8-annotations from 2.4.1 to 2.5.0#52
jb3 merged 2 commits into
mainfrom
dependabot/pip/flake8-annotations-2.5.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Jan 17, 2021

Bumps flake8-annotations from 2.4.1 to 2.5.0.

Release notes

Sourced from flake8-annotations's releases.

Release v2.5.0

Changelog

[v2.5.0]

Added

  • #103 add --allow-untyped-nested to suppress all errors from dynamically typted nested functions. A function is considered dynamically typed if it does not contain any type hints.

Additional Details

Per #102, nested functions can fall into an interesting spot semantically for a project. They're distinct enough from private/secret functions that one may not want to strictly enforce annotation (e.g. decorator definitions) but there does not exist a mechanism to do so without either noqa or just allowing all dynamically typed functions (via --allow-untyped-defs). The --allow-untyped-nested flag allows for this stricter subset of dynamic functions.

Changelog

Sourced from flake8-annotations's changelog.

[v2.5.0]

Added

  • #103 add --allow-untyped-nested to suppress all errors from dynamically typted nested functions. A function is considered dynamically typed if it does not contain any type hints.
Commits
  • 8fe98cc Release v2.5.0
  • e741bd6 Skip coverage for intentionally partial branches
  • dbd1419 Bump ver
  • 750431c Add nested def detection to function visitor
  • ff9d792 Setup initial dynamic nested function suppression tests
  • c9bf602 Add flag for suppression of dynamically typed nested function errors
  • 2abd7af Add is_nested property to Function object
  • 4d06195 Bump dependencies
  • 8cf1e2e Dependabot config updates
  • f544f9a Update dependabot config path for native Github integration
  • Additional commits viewable in compare view

Dependabot compatibility score

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.


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 dependabot Bot requested review from jb3 and ks129 as code owners January 17, 2021 22:32
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Jan 17, 2021
@jb3 jb3 merged commit 6269e3b into main Jan 17, 2021
@jb3 jb3 deleted the dependabot/pip/flake8-annotations-2.5.0 branch January 17, 2021 22:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant