Skip to content

Conversation

Otto-AA
Copy link
Contributor

@Otto-AA Otto-AA commented May 10, 2025

Change Summary

Since #4241 the finalized PEP 681 is used. This updates the VS Code docs for this. From my understanding, the mypy and Pycharm plugins have custom behaviour instead of relying on this, though I did not look deeply into this.

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

Selected Reviewer: @Viicos

Since pydantic#4241 Pydantic uses the finalized PEP 681 version.
@github-actions github-actions bot added the relnotes-fix Used for bugfixes. label May 10, 2025
Copy link
Contributor

hyperlint-ai bot commented May 10, 2025

PR Change Summary

Updated the Visual Studio Code documentation to reflect the finalized PEP 681.

  • Revised references to PEP 681 to indicate it is a finalized standard.
  • Removed mentions of the draft status of PEP 681.
  • Clarified the role of the standard in enhancing editor support for libraries like Pydantic.

Modified Files

  • docs/integrations/visual_studio_code.md

How can I customize these reviews?

Check out the Hyperlint AI Reviewer docs for more information on how to customize the review.

If you just want to ignore it on this PR, you can add the hyperlint-ignore label to the PR. Future changes won't trigger a Hyperlint review.

Note specifically for link checks, we only check the first 30 links in a file and we cache the results for several hours (for instance, if you just added a page, you might experience this). Our recommendation is to add hyperlint-ignore to the PR to ignore the link check for this PR.

@Otto-AA
Copy link
Contributor Author

Otto-AA commented May 10, 2025

please review

Copy link
Contributor

github-actions bot commented May 10, 2025

Coverage report

This PR does not seem to contain any modification to coverable code.

Copy link

codspeed-hq bot commented May 10, 2025

CodSpeed Performance Report

Merging #11860 will not alter performance

Comparing Otto-AA:patch-1 (50b9d35) with main (53f460c)

Summary

✅ 46 untouched benchmarks

Copy link
Member

@Viicos Viicos left a comment

Choose a reason for hiding this comment

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

Thanks! Some comments.

@pydantic-hooky pydantic-hooky bot added awaiting author revision awaiting changes from the PR author and removed ready for review labels May 13, 2025
@pydantic-hooky pydantic-hooky bot assigned Otto-AA and unassigned Viicos May 13, 2025
@Viicos Viicos changed the title Update visual_studio_code.md with finalized PEP 681 Update documentation about @dataclass_transform support May 13, 2025
@Viicos Viicos added documentation and removed relnotes-fix Used for bugfixes. labels May 16, 2025
Co-authored-by: Victorien <65306057+Viicos@users.noreply.github.com>
@Otto-AA
Copy link
Contributor Author

Otto-AA commented May 19, 2025

Thanks for the feedback, I've added it now.
The "[datetime][datetime.datetime]" is a nice documentation feature, haven't seen it before :)

Copy link
Member

@Viicos Viicos left a comment

Choose a reason for hiding this comment

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

Thanks for the contribution

@Viicos Viicos merged commit f165eac into pydantic:main May 20, 2025
58 checks passed
@Viicos Viicos added backport-2.11 Needs backport to 2.11 and removed awaiting author revision awaiting changes from the PR author labels May 20, 2025
Viicos added a commit that referenced this pull request May 21, 2025
Backport of: #11860
Co-authored-by: Victorien <65306057+Viicos@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-2.11 Needs backport to 2.11 documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants