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.11 to 2021.10.25 #359

Merged
merged 1 commit into from
Oct 26, 2021

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 25, 2021

Bumps pytype from 2021.10.11 to 2021.10.25.

Changelog

Sourced from pytype's changelog.

Version 2021.10.25:

New features and updates:

  • Completely remove the --preserve-union-macros flag. This was a no-op as of version 2021.10.17.
  • Add a new flag, --build-dict-literals-from-kwargs, to construct dict literals for dict(k=v, ...). This behavior will ultimately by enabled by default and the flag removed.
  • Add a new flag, --strict_namedtuple_checks, for typing.NamedTuple and collections.namedtuple to inherit from fixed-length tuples. This behavior will ultimately be enabled by default and the flag removed.

Bug fixes:

  • Fix how the enum overlay calls base_type.__new__.
  • Improve how the enum overlay chooses base types.
  • When an attr.ib() call has type errors, construct the attrib anyway.
  • Support builtin str removeprefix/removesuffix.

Version 2021.10.18

New features and updates:

  • Completely remove the --attribute-variable-annotations flag. This was a no-op as of version 2021.10.11.
  • Enable --preserve-union-macros by default and make the flag a no-op. It will be removed in the next release.

Bug fixes:

  • Enum overlay: fix crash due to loading __new__ from a PyTDClass.
  • Enum overlay: use ClassVar to differentiate enum class attributes.
  • Fix a parser bug involving nested class name conflicts.
  • Fix a crash when lazily loading a missing submodule.
  • Change PrintVisitor to group explicit imports with the ones collected from type annotations.

Version 2021.10.11

New features and updates:

  • Update pytype and typing annotation stubs for features added in attrs 21.1.0.
  • Enable --attribute-variable-annotations by default and make the flag a no-op. It will be removed in the next release.
  • The --use-enum-overlay flag is ready for general use. Enable this flag for precise typing of the stdlib enum library.

Bug fixes:

  • Support quoted types as annotations in pyi files.
  • Add precise overloads for the map function.
  • Support Ellipsis annotations in pyi files.
  • Preserve None in unions containing Any.
  • Fix a pyi import printing bug.
  • Improve ignored-abstractmethod error message.

... (truncated)

Commits
  • 60e8346 Merge pull request #1036 from google/google_sync
  • a98fb64 Prepare a PyPI release.
  • ed3a451 Update typing.NamedTuple to be considered a typing.Tuple[{field_types...}].
  • e890e3d Address some new errors generated by dict() change.
  • eaaf153 Merge pull request #1035 from google/google_sync
  • d5b7488 Finish removing --chex-overlay.
  • 9b4732e Fix oss lint issues.
  • 1b5174b Support builtin str removeprefix/removesuffix (#1033)
  • 1769e66 Construct dict literals for dict(k=v, ...).
  • dee755e Always enable --chex-overlay.
  • 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.11 to 2021.10.25.
- [Release notes](https://github.com/google/pytype/releases)
- [Changelog](https://github.com/google/pytype/blob/master/CHANGELOG)
- [Commits](google/pytype@2021.10.11...2021.10.25)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Oct 25, 2021
@AdamHillier AdamHillier merged commit 9b5266f into main Oct 26, 2021
@AdamHillier AdamHillier deleted the dependabot/pip/pytype-2021.10.25 branch October 26, 2021 16:10
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.

1 participant