plating
2025-12-31
Code quality pass with decorator simplification and type annotation fixes
26 files · 190+ · 116-
Decorator simplification
1 file changed
decorators.pySimplified with_circuit_breaker to sync-only, fixed async_rate_limited return type, added type:ignore for timed_block
- Simplified
with_circuit_breakerinsrc/plating/decorators.pyto sync-only (removed async variant), with note to use AsyncCircuitBreaker directly decouple behavioral1 file
decorators.py
- Fixed
async_rate_limitedreturn type toAsyncGenerator[None, None]remediate behavioral1 file
decorators.py
Type annotations and import fixes
20 files changed
processor.pyFixed circular import by replacing DocsGenerator import with TYPE_CHECKING aliasapi.pyExpanded API surface (12 lines)adorner.pyUpdated type annotationsauto_detect.pyUpdated type annotationsmain.pyUpdated type annotationspyproject.pyUpdated type annotationssingle.pyUpdated type annotationsdoc_generator.pyUpdated type annotationsfinder.pyUpdated type annotationserrors.pyUpdated type annotationslinting.pyUpdated type annotationsmarkdown_validator.pyUpdated type annotationsnav_generator.pyUpdated type annotationsplating.pyUpdated type annotationsregistry.pyUpdated type annotationshelpers.pyUpdated type annotationsengine.pyUpdated type annotations and foundation API usagefunctions.pyUpdated type annotationsprocessor.pyUpdated type annotationstypes.pyUpdated type annotations
- Fixed circular import in
src/plating/schema/processor.pyby replacingDocsGeneratorimport withTYPE_CHECKINGalias remediate internal1 file
processor.py
- Updated type annotations across adorner, CLI utils, compiler, doc generator, discovery finder, errors, linting, markdown validator, mkdocs nav generator, plating core, registry, schema helpers, templating engine/functions/processor, types
specify
internal
5 files
adorner.pypyproject.pydoc_generator.pyfinder.pyengine.py
- Fixed
src/plating/adorner/api.pywith expanded API surface (12 lines) remediate behavioral1 file
api.py
Workspace expansion
1 file changed
wrknv.tomlExpanded with 62 lines of additional workspace configuration
Test updates
4 files changed
test_full_plate_workflow.pyUpdated for decorator and API changestest_adorner.pyUpdated for API changestest_capability_grouping.pyUpdated for API changestest_mkdocs_nav_generator.pyUpdated for API changes