Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump flake8-pyi from 22.5.1 to 22.7.0 in /requirements #270

Merged
merged 1 commit into from
Jul 28, 2022

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 28, 2022

Bumps flake8-pyi from 22.5.1 to 22.7.0.

Release notes

Sourced from flake8-pyi's releases.

22.7.0

New error codes:

  • Introduce Y041: Ban redundant numeric unions (int | float, int | complex, float | complex).
  • Introduce Y042: Type alias names should use CamelCase rather than snake_case
  • Introduce Y043: Ban type aliases from having names ending with an uppercase "T".
  • Introduce Y044: Discourage unnecessary from __future__ import annotations import. Contributed by Torsten Wörtwein.
  • Introduce Y045: Ban returning (Async)Iterable from __(a)iter__ methods.

Other enhancements and behaviour changes:

  • Improve error message for Y026 check.
  • Expand Y026 check. Since version 22.4.0, this has only emitted an error for assignments to typing.Literal, typing.Union, and PEP 604 unions. It now also emits an error for any subscription on the right-hand side of a simple assignment, as well as for assignments to typing.Any and None.
  • Support typing_extensions.overload and typing_extensions.NamedTuple.
  • Slightly expand Y034 to cover the case where a class inheriting from (Async)Iterator returns (Async)Iterable from __(a)iter__. These classes should nearly always return Self from these methods.
  • Support Python 3.11.
Changelog

Sourced from flake8-pyi's changelog.

22.7.0

New error codes:

  • Introduce Y041: Ban redundant numeric unions (int | float, int | complex, float | complex).
  • Introduce Y042: Type alias names should use CamelCase rather than snake_case
  • Introduce Y043: Ban type aliases from having names ending with an uppercase "T".
  • Introduce Y044: Discourage unnecessary from __future__ import annotations import. Contributed by Torsten Wörtwein.
  • Introduce Y045: Ban returning (Async)Iterable from __(a)iter__ methods.

Other enhancements and behaviour changes:

  • Improve error message for Y026 check.
  • Expand Y026 check. Since version 22.4.0, this has only emitted an error for assignments to typing.Literal, typing.Union, and PEP 604 unions. It now also emits an error for any subscription on the right-hand side of a simple assignment, as well as for assignments to typing.Any and None.
  • Support typing_extensions.overload and typing_extensions.NamedTuple.
  • Slightly expand Y034 to cover the case where a class inheriting from (Async)Iterator returns (Async)Iterable from __(a)iter__. These classes should nearly always return Self from these methods.
  • Support Python 3.11.
Commits
  • c7a051a Prepare for release 22.7.0 (#249)
  • 022c9c0 Introduce Y042: type alias names should use CamelCase (#243)
  • 95675c7 Introduce Y045: Ban returning (Async)Iterable from __(a)iter__ (#248)
  • 2c4850f Introduce Y044: prevent from __future__ import annotations (#242)
  • 518b12c Upgrade black and mypy test requirements (#239)
  • 0c85b3b Y026: error for any assignment to a subscripted object (#232)
  • b2b340d type_comments.pyi: fix nit (#236)
  • 68a3962 Introduce Y043: Ban type alias names from ending in 'T' (#235)
  • 0f71d5e Support typing_extensions.overload and typing_extensions.NamedTuple (#231)
  • ccf6b05 Simplify _is_type_or_Type (#230)
  • 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)

Bumps [flake8-pyi](https://github.com/ambv/flake8-pyi) from 22.5.1 to 22.7.0.
- [Release notes](https://github.com/ambv/flake8-pyi/releases)
- [Changelog](https://github.com/PyCQA/flake8-pyi/blob/master/CHANGELOG.md)
- [Commits](PyCQA/flake8-pyi@22.5.1...22.7.0)

---
updated-dependencies:
- dependency-name: flake8-pyi
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jul 28, 2022
@nycholas nycholas merged commit 2380944 into master Jul 28, 2022
@nycholas nycholas deleted the dependabot/pip/requirements/flake8-pyi-22.7.0 branch July 28, 2022 14:36
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.

None yet

1 participant