feat(config): replace TypedDict options with Hook*Configuration - #704
Open
RonnyPfannschmidt wants to merge 1 commit into
Open
RonnyPfannschmidt wants to merge 1 commit into
RonnyPfannschmidt wants to merge 1 commit into
Conversation
RonnyPfannschmidt
force-pushed
the
refactor/configuration-objects
branch
from
July 24, 2026 16:53
65ee170 to
6993f10
Compare
RonnyPfannschmidt
force-pushed
the
refactor/configuration-objects
branch
3 times, most recently
from
August 12, 2026 11:14
ad3a5a9 to
eef72c1
Compare
This was referenced Aug 12, 2026
Open
RonnyPfannschmidt
marked this pull request as ready for review
September 12, 2026 14:29
RonnyPfannschmidt
force-pushed
the
refactor/configuration-objects
branch
from
September 12, 2026 19:04
eef72c1 to
01d2977
Compare
RonnyPfannschmidt
force-pushed
the
refactor/configuration-objects
branch
from
September 12, 2026 19:14
01d2977 to
80420c2
Compare
RonnyPfannschmidt
force-pushed
the
refactor/configuration-objects
branch
3 times, most recently
from
September 24, 2026 11:24
7496872 to
c1ed863
Compare
Markers attach HookspecConfiguration/HookimplConfiguration objects. Registration discovers those privately; parse_hookimpl_opts and parse_hookspec_opts remain a deprecated pytest concession that returns legacy dicts and is only called when a subclass overrides them and no modern configuration attribute was found. Co-authored-by: Cursor AI <ai@cursor.sh> Co-authored-by: Cursor Grok 4.5 <grok@cursor.com>
RonnyPfannschmidt
force-pushed
the
refactor/configuration-objects
branch
from
September 24, 2026 11:48
c1ed863 to
8b86b10
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Written by Claude Opus 5.5 via Claude Code for the pluggy maintainers; I prompted it, it did the work, I read it.
Step 2 of 7, merges bottom-up:
#703→ #704 → #706 → #707 → #708 → #709 → #710The diff here is this step alone; review discussion happens on RonnyPfannschmidt#5.
HookspecConfiguration/HookimplConfigurationobjects, and the markers attach those instead of dicts.PluginManager.parse_hookimpl_opts/parse_hookspec_optsare only called when a subclass overrides them and no configuration object was found; they return legacy dicts. They are documented as deprecated but do not warn yet.HookspecOpts/HookimplOptsstay importable frompluggyfor pytest's typing; they now live in_pytest_compat.