Skip to content

refactor: clean up redundant declarations and warning category - #427

Merged
lesnik512 merged 1 commit into
mainfrom
chore/401-cleanup
Nov 4, 2026
Merged

lesnik512 merged 1 commit into
mainfrom
chore/401-cleanup

Conversation

@lesnik512

Copy link
Copy Markdown
Member

Remove redundant bootstrapper slot declarations, unused runtime-checkable protocol decorators, and the duplicate faststream-all dependency entry. Correct configuration documentation and the ConfigurationError docstring to match current behavior.

Remove InstrumentSkippedWarning, derive InstrumentDependencyMissingWarning directly from UserWarning, and update the test and floor-smoke warning filters. The 2.x migration guide documents the replacement import and filter.

Closes #401.

Breaking changes

InstrumentSkippedWarning has been removed. Replace imports and warning filters with InstrumentDependencyMissingWarning.

Validation

  • just test-ci: 609 passed, 100% coverage.
  • just lint-ci: formatting, lint, and typechecking passed.
  • just docs-build: strict build passed.
  • uv lock --check --offline: passed, with no lockfile changes needed.
  • Verified the removed import raises ImportError and the migration example's replacement filter catches the warning.
  • Standards and spec reviews found no issues.

@lesnik512
lesnik512 merged commit 09d8392 into main Nov 4, 2026
35 checks passed
@lesnik512
lesnik512 deleted the chore/401-cleanup branch November 4, 2026 09:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2.0 cleanup: no-op __slots__, unused runtime_checkable, duplicate extras, docstring and docs fixes

1 participant