Skip to content

Conversation

Viicos
Copy link
Member

@Viicos Viicos commented Dec 15, 2024

Fixes #10474, closes #10848.

Change Summary

Related issue number

Checklist

  • The pull request title is a good summary of the changes - it will be used in the changelog
  • Unit tests for the changes exist
  • Tests pass on CI
  • Documentation reflects the changes where applicable
  • My PR is ready to review, please add a comment including the phrase "please review" to assign reviewers

@github-actions github-actions bot added the relnotes-fix Used for bugfixes. label Dec 15, 2024
Copy link

Deploying pydantic-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 7e7f616
Status: ✅  Deploy successful!
Preview URL: https://21c3e866.pydantic-docs.pages.dev
Branch Preview URL: https://final-mypy-plugin.pydantic-docs.pages.dev

View logs

Copy link

codspeed-hq bot commented Dec 15, 2024

CodSpeed Performance Report

Merging #11121 will not alter performance

Comparing final-mypy-plugin (7e7f616) with main (d5f4bde)

Summary

✅ 46 untouched benchmarks

Copy link
Contributor

Coverage report

Click to see where and how coverage changed

FileStatementsMissingCoverageCoverage
(new stmts)
Lines missing
  pydantic
  mypy.py
Project Total  

This report was generated by python-coverage-comment-action

@@ -761,6 +761,10 @@ def collect_field_or_class_var_from_stmt( # noqa C901
)
node.type = AnyType(TypeOfAny.from_error)

if node.is_final and has_default:
# TODO this path should be removed (see https://github.com/pydantic/pydantic/issues/11119)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add a note about when, or what is blocking this?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The linked issue should be enough?

Copy link
Contributor

@sydney-runkle sydney-runkle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One request, thanks!

@sydney-runkle sydney-runkle merged commit ac6bc6c into main Dec 16, 2024
55 checks passed
@sydney-runkle sydney-runkle deleted the final-mypy-plugin branch December 16, 2024 18:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
relnotes-fix Used for bugfixes.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

(🐞) false positive mypy error "Only root is allowed as a field of a RootModel"
2 participants