mandiant / capa

The FLARE team's open-source tool to identify capabilities in executable files.
Apache License 2.0
3.99k stars 499 forks source link

build(deps): bump mypy from 1.8.0 to 1.9.0 #2051

Closed dependabot[bot] closed 2 months ago

dependabot[bot] commented 2 months ago

Bumps mypy from 1.8.0 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)