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 pyanalyze from 0.9.0 to 0.11.0 #139

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

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 4, 2023

Bumps pyanalyze from 0.9.0 to 0.11.0.

Release notes

Sourced from pyanalyze's releases.

0.11.0

  • Partial support for PEP 695-style type aliases. Scoping changes are not yet fully implemented. (#690, #692)
  • Fix tests to account for new typeshed_client release (#694)
  • Add option to disable all error codes (#659)
  • Add hacky fix for bugs with hashability on type objects (#689)
  • Show an error on calls to typing.Any (#688)
  • Add command-line option -c/--code to typecheck code from the command line (#685)
  • Add a pyanalyze.extensions.EnumName predicate and infer it as the value for the .name attribute on enums. Also fix type inference for enum "properties" on Python 3.11 and up. (#682)
  • Allow pyanalyze.runtime.is_compatible to be used to narrow types (#681, #687)
  • Fix usage of assert_type() with Any and with unions of Annotated objects (#680)
  • Support inferring MinLen and MaxLen annotations based on len() checks (#680)
  • Expose a convenience API for runtime type checking in the pyanalyze.runtime module (#674)
  • Support for annotations from the annotated-types library (#673)
  • Detect undefined attributes on Pydantic models (#670)
  • Remove duplicate "attribute_is_never_set" error for classes with predefined attributes (#670)
  • Add hook for overriding the value inferred for attributes on literals (#669)
  • Support classes that set a __signature__ attribute to define their constructor signature (such as Pydantic models) (#665)
  • Declare support for Python 3.12. Not all new features in Python 3.12 are supported yet. (#656)
  • Fix treatment of @property by the incompatible_override check (#653)
  • Drop support for Python 3.7 (#654)
  • Add hardcoded support for pytest.raises to avoid false positives (#651)
  • Fix crash with nested classes in stubs. For now, Any is inferred for such classes (#647)
  • Add disallowed_imports configuration option to disallow imports of specific modules (#645, #646)
  • Consider an annotated assignment without a value to be an exported name (#644)
  • Improve the location where missing_parameter_annotation errors are reported (#643)
  • Add support for suppressing errors in blocks based on sys.platform and sys.version_info checks (#641)
  • Fix compatibility between stub-only callable classes and the bare Callable annotation (#640)
  • Add new error code missing_generic_parameters (off by default) that flags missing parameters to generic types

... (truncated)

Changelog

Sourced from pyanalyze's changelog.

Version 0.11.0 (October 3, 2023)

  • Partial support for PEP 695-style type aliases. Scoping changes are not yet fully implemented. (#690, #692)
  • Fix tests to account for new typeshed_client release (#694)
  • Add option to disable all error codes (#659)
  • Add hacky fix for bugs with hashability on type objects (#689)
  • Show an error on calls to typing.Any (#688)
  • Add command-line option -c/--code to typecheck code from the command line (#685)
  • Add a pyanalyze.extensions.EnumName predicate and infer it as the value for the .name attribute on enums. Also fix type inference for enum "properties" on Python 3.11 and up. (#682)
  • Allow pyanalyze.runtime.is_compatible to be used to narrow types (#681, #687)
  • Fix usage of assert_type() with Any and with unions of Annotated objects (#680)
  • Support inferring MinLen and MaxLen annotations based on len() checks (#680)
  • Expose a convenience API for runtime type checking in the pyanalyze.runtime module (#674)
  • Support for annotations from the annotated-types library (#673)
  • Detect undefined attributes on Pydantic models (#670)
  • Remove duplicate "attribute_is_never_set" error for classes with predefined attributes (#670)
  • Add hook for overriding the value inferred for attributes on literals (#669)
  • Support classes that set a __signature__ attribute to define their constructor signature (such as Pydantic models) (#665)
  • Declare support for Python 3.12. Not all new features in Python 3.12 are supported yet. (#656)
  • Fix treatment of @property by the incompatible_override check (#653)
  • Drop support for Python 3.7 (#654)
  • Add hardcoded support for pytest.raises to avoid false positives (#651)
  • Fix crash with nested classes in stubs. For now, Any is inferred for such classes (#647)
  • Add disallowed_imports configuration option to disallow imports of specific modules (#645, #646)
  • Consider an annotated assignment without a value to be an exported name (#644)
  • Improve the location where missing_parameter_annotation errors are reported (#643)
  • Add support for suppressing errors in blocks based on sys.platform and sys.version_info checks (#641)
  • Fix compatibility between stub-only callable classes and the bare Callable annotation (#640)
  • Add new error code missing_generic_parameters (off by

... (truncated)

Commits

Dependabot compatibility score

You can trigger a rebase of this PR 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 <dependency name> 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)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [pyanalyze](https://github.com/quora/pyanalyze) from 0.9.0 to 0.11.0.
- [Release notes](https://github.com/quora/pyanalyze/releases)
- [Changelog](https://github.com/quora/pyanalyze/blob/master/docs/changelog.md)
- [Commits](quora/pyanalyze@v0.9.0...v0.11.0)

---
updated-dependencies:
- dependency-name: pyanalyze
  dependency-type: direct:development
  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 Oct 4, 2023
@sonarcloud
Copy link

sonarcloud bot commented Oct 4, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

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

0 participants