Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Bump mypy from 1.7.1 to 1.8.0#753

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
p1c2u merged 1 commit intomasterfromdependabot/pip/mypy-1.8.0
Jan 9, 2024
Merged

Conversation

@dependabot
Copy link
Contributor

@dependabotdependabotbot commented on behalf ofgithubJan 8, 2024

Bumpsmypy from 1.7.1 to 1.8.0.

Changelog

Sourced frommypy's changelog.

Mypy Release Notes

Next release

Mypy 1.8

We’ve just uploaded mypy 1.8 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 onRead the Docs.

Type-checking Improvements

  • Do not intersect types in isinstance checks if at least one is final (Christoph Tyralla, PR16330)
  • Detect that@final class without__bool__ cannot have falsey instances (Ilya Priven, PR16566)
  • Do not allowTypedDict classes with extra keywords (Nikita Sobolev, PR16438)
  • Do not allow class-level keywords forNamedTuple (Nikita Sobolev, PR16526)
  • Make imprecise constraints handling more robust (Ivan Levkivskyi, PR16502)
  • Fix strict-optional in extending generic TypedDict (Ivan Levkivskyi, PR16398)
  • Allow type ignores of PEP 695 constructs (Shantanu, PR16608)
  • Enabletype_check_only support forTypedDict andNamedTuple (Nikita Sobolev, PR16469)

Performance Improvements

  • Add fast path to analyzing special form assignments (Jukka Lehtosalo, PR16561)

Improvements to Error Reporting

  • Don't show documentation links for plugin error codes (Ivan Levkivskyi, PR16383)
  • Improve error messages forsuper checks and add more tests (Nikita Sobolev, PR16393)
  • Add error code for mutable covariant override (Ivan Levkivskyi, PR16399)

Stubgen Improvements

  • Preserve simple defaults in function signatures (Ali Hamdan, PR15355)
  • Include__all__ in output (Jelle Zijlstra, PR16356)
  • Fix stubgen regressions with pybind11 and mypy 1.7 (Chad Dombrova, PR16504)

Stubtest Improvements

  • Improve handling of unrepresentable defaults (Jelle Zijlstra, PR16433)
  • Print more helpful errors if a function is missing from stub (Alex Waygood, PR16517)
  • Support@type_check_only decorator (Nikita Sobolev, PR16422)
  • Warn about missing__del__ (Shantanu, PR16456)
  • Fix crashes with some uses offinal anddeprecated (Shantanu, PR16457)

Fixes to Crashes

  • Fix crash with type alias toCallable[[Unpack[Tuple[Any, ...]]], Any] (Alex Waygood, PR16541)
  • Fix crash on TypeGuard in__call__ (Ivan Levkivskyi, PR16516)
  • Fix crash on invalid enum in method (Ivan Levkivskyi, PR16511)
  • Fix crash on unimported Any in TypedDict (Ivan Levkivskyi, PR16510)

Documentation Updates

  • Update soft-error-limit default value to -1 (Sveinung Gundersen, PR16542)

... (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 <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)

Bumps [mypy](https://github.com/python/mypy) from 1.7.1 to 1.8.0.- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)- [Commits](python/mypy@v1.7.1...v1.8.0)---updated-dependencies:- dependency-name: mypy  dependency-type: direct:development  update-type: version-update:semver-minor...Signed-off-by: dependabot[bot] <support@github.com>
@dependabotdependabotbot added dependenciesPull requests that update a dependency file pythonPull requests that update Python code labelsJan 8, 2024
@codecov
Copy link

codecovbot commentedJan 8, 2024
edited
Loading

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base(5a4d24d) 90.55% compared to head(88502ad) 90.55%.

Additional details and impacted files
@@           Coverage Diff           @@##           master     #753   +/-   ##=======================================  Coverage   90.55%   90.55%           =======================================  Files         139      139             Lines        4194     4194             Branches      492      492           =======================================  Hits         3798     3798             Misses        334      334             Partials       62       62

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report?Share it here.

@p1c2up1c2u merged commit561569a intomasterJan 9, 2024
@p1c2up1c2u deleted the dependabot/pip/mypy-1.8.0 branchJanuary 9, 2024 16:10
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

dependenciesPull requests that update a dependency filepythonPull requests that update Python code

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@p1c2u

[8]ページ先頭

©2009-2025 Movatter.jp