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 pytype from 2021.10.18 to 2022.10.26 #56

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Oct 31, 2022

Bumps pytype from 2021.10.18 to 2022.10.26.

Changelog

Sourced from pytype's changelog.

Version 2022.10.26:

Updates:

  • Implement basic exhaustiveness checking for pattern matches over enums.
  • Performance improvements:
    • Avoid expensive variable filtering in a couple of places.
    • Switch fully to argument-by-argument call matching for PyTDFunction.

Bug fixes:

  • Relax an overly strict TypeVar consistency check.
  • Track TypeVar unions in the matcher.
  • Emit node/kind record and subkind class facts instead of node/kind class
  • Add a missing parameter type to bytearray.add.

Version 2022.10.13:

Updates:

  • Add a flag, --mapping-is-not-sequence, to forbid matching mappings against the Sequence protocol.
  • Add a library for serializing the CFG.
  • Fully support pattern matching in 3.10, aside from exhaustiveness checks.
  • Make some performance improvements around type-checking of function call arguments for functions defined in the same file.

Bug fixes:

  • Store more information in matcher._recursive_annots_cache.
  • Fix "appears only once" TypeVar error on overloads in generic classes.
  • Do not let a kwarg in **args interfere with a posonly arg of the same name.
  • Re-resolve LateType instances that resolve to another LateType.

Version 2022.09.27:

Updates:

  • Slightly improve pytype's numpy stub.
  • Remove --overriding-parameter-type-checks flag that is now enabled by default.
  • Add partial support for pattern matching.
  • Add Attrs protocol and __attrs_attrs__ member to attr overlay.

Bug fixes:

  • Fix infinite recursion caused by annotated new methods.
  • Take nested classes into account when re-resolving dependencies in load_pytd.
  • Support empty generic protocols.
  • Correct type annotations for IO objects: seek and truncate.
  • Define new instead of init for np.ndarray.

Version 2022.09.19:

Updates:

  • Rework arg parsing to make using pytype as a library in tools easier.
  • Move typegraph and cfg graph visualisation to a separate frontend binary.

... (truncated)

Commits
  • 26a3ce7 Merge pull request #1310 from google/google_sync
  • 3c5a719 Prepare a PyPI release.
  • 05957a9 Merge pull request #1309 from google/google_sync
  • 4241cf8 Fix a bug in subprocess_overlay.
  • e817814 Add a missing parameter type to bytearray.add.
  • 8155f0f Switch fully to argument-by-argument call matching for PyTDFunction.
  • d5c0a6d Merge pull request #1306 from google/google_sync
  • e3683d8 Copy parser._Matches to parser_libcst._Matches.
  • e53ce6c Fix a crash caused by accessing is_enum on a non-class.
  • a425494 Avoid expensive variable filtering in a couple of places.
  • 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 [pytype](https://github.com/google/pytype) from 2021.10.18 to 2022.10.26.
- [Release notes](https://github.com/google/pytype/releases)
- [Changelog](https://github.com/google/pytype/blob/main/CHANGELOG)
- [Commits](google/pytype@2021.10.18...2022.10.26)

---
updated-dependencies:
- dependency-name: pytype
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Oct 31, 2022
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 python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants