larq / zoo

Reference implementations of popular Binarized Neural Networks
https://docs.larq.dev/zoo
Apache License 2.0
104 stars 18 forks source link

Bump pytype from 2023.10.17 to 2023.10.24 #469

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps pytype from 2023.10.17 to 2023.10.24.

Changelog

Sourced from pytype's changelog.

Version 2023.10.24:

Updates:

  • Add support for typing.Self in method type annotations.

Bug fixes:

  • Support pattern matching against a tuple of match variables.
  • Fix crash caused by use of a recursive type in a callable.
  • When setting a type from assertIsInstance narrow the original type if possible.

Version 2023.10.17:

Updates:

  • Remove the --overriding-parameter-count-checks flag. This flag's behavior is now the default.
  • Support enum.StrEnum.
  • Support type narrowing for match cases with as captures.
  • Add basic support for Python 3.11.
    • Pytype can now analyze code that does not use any new 3.11 features in 3.11.
    • Support for new features will follow over the coming months.

Bug fixes:

  • Improve set and frozenset methods.
  • Fix maximum recursion depth error.
  • Remove extraneous check in RenameModuleVisitor.

Version 2023.10.05:

Updates:

  • Default --overriding-parameter-count-checks to True. This flag is now a no-op.

Bug fixes:

  • Improve type signatures for set.union.
  • Simplify the output of assert_type and reveal_type.
  • --strict-undefined-checks: Don't propagate block locals when a block cannot be exited from.
  • Fix various Python 3.11 bugs.

Version 2023.09.27:

Updates:

  • Update typeshed pin to commit 8597724 from Sep 18.
  • Python 3.11: add exception handling.
  • Support pattern matching literal sequences.

Bug fixes:

  • Take TypeVar substitutions into account when extracting annotations.
  • Fix a crash when pattern matching against Callable().
  • Apply overlays when loading modules imported in pyi files.

... (truncated)

Commits
  • e9d2d66 Merge pull request #1520 from google/google_sync
  • 7bf54bc Prepare a PyPI release.
  • 3289302 When setting a type from assertIsInstance narrow the original type if possible.
  • de0b10c typing.Self: improve error detection and partly remove not-supported-yet error.
  • d47c332 Rename TypeParameter.module to TypeParameter.scope.
  • c74fb4d typing.Self: Add upper bounds and fix printing.
  • d88b927 Merge pull request #1519 from google/google_sync
  • 88d1ae5 Add visitor to undo AddNamePrefix.
  • 74f68cb Add support for typing.Self in classmethods and generic classes.
  • 296e4aa Add some preliminary typing.Self support.
  • 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 show ignore conditions` will show all of the ignore conditions of the specified dependency - `@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)