omnilib / aiomultiprocess

Take a modern Python codebase to the next level of performance.
https://aiomultiprocess.omnilib.dev
MIT License
1.77k stars 101 forks source link

Bump mypy from 0.931 to 1.9.0 #197

Closed dependabot[bot] closed 6 months ago

dependabot[bot] commented 6 months ago

Bumps mypy from 0.931 to 1.9.0.

Changelog

Sourced from mypy's changelog.

Mypy Release Notes

Next release

Mypy 1.10 (Unreleased)

We’ve just uploaded mypy 1.10 to the Python Package Index (PyPI). Mypy is a static type checker for Python. This release includes new features, performance improvements and bug fixes. You can install it as follows:

python3 -m pip install -U mypy

You can read the full documentation for this release on Read the Docs.

TODO

  • Implement TypeIs (PEP 742) (Jelle Zijlstra, PR 16898)
  • Error handling for recursive TypeVar defaults (PEP 696) (Marc Mueller, PR 16925)
  • Add basic support for recursive TypeVar defaults (PEP 696) (Marc Mueller, PR 16878)

Other Notable Changes and Fixes

  • fix: incorrect returned type of access descriptors on unions of types (Matthieu Devlin, PR 16604)
  • Fix crash when expanding invalid Unpack in a Callable alias (Ali Hamdan, PR 17028)
  • Fix string formatting for string enums (roberfi, PR 16555)
  • Narrow individual items when matching a tuple to a sequence pattern (Loïc Simon, PR 16905)
  • Add TypeGuard and TypeIs traversing in TypeTraverserVisitor (Evgeniy Slobodkin, PR 17071)
  • Improve error message for bound typevar in TypeAliasType (Ali Hamdan, PR 17053)
  • Fix TypedDict init from Type with optional keys (Marc Mueller, PR 17068)
  • Improve yield from inference for unions of generators (Shantanu, PR 16717)
  • Support TypeAliasType in a class scope (Ali Hamdan, PR 17038)
  • attrs: Fix emulating hash method logic (Hashem, PR 17016)
  • Use lower-case generics more consistently in error messages (Jukka Lehtosalo, PR 17035)
  • Revert "Revert use of ParamSpec for functools.wraps" (Tamir Duberstein, PR 16942)
  • Support TypeAliasType (Ali Hamdan, PR 16926)
  • Fix type narrowing for types.EllipsisType (Shantanu, PR 17003)
  • Disallow all super calls to methods with trivial bodies (Shantanu, PR 16756)
  • Fix single item enum match type exhaustion (Oskari Lehto, PR 16966)
  • Fix inference with UninhabitedType (Marc Mueller, PR 16994)
  • Allow TypedDict initialization from Type (Marc Mueller, PR 16963)
  • Fix override checking for decorated property (Shantanu, PR 16856)
  • Fix duplicate word in protocols.rst (hesam, PR 16950)
  • Workaround parenthesised context manager issue (Shantanu, PR 16949)
  • Fix narrowing on match with function subject (Edward Paget, PR 16503)
  • Allow inferring +int to be a Literal (Spencer Brown, PR 16910)

Stubgen Improvements

  • stubgen: Preserve empty tuple annotation (Ali Hamdan, PR 16907)
  • stubgen: Add support for PEP 570 positional-only parameters (Ali Hamdan, PR 16904)
  • stubgen: Replace obsolete typing aliases with builtin containers (Ali Hamdan, PR 16780)
  • stubgen: Fix generated dataclass __init__ signature (Ali Hamdan, PR 16906)

... (truncated)

Commits


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)
amyreese commented 6 months ago

@dependabot rebase

dependabot[bot] commented 6 months ago

Looks like this PR has been edited by someone other than Dependabot. That means Dependabot can't rebase it - sorry!

If you're happy for Dependabot to recreate it from scratch, overwriting any edits, you can request @dependabot recreate.