pyvider-cty 2026-03-28
Windows compatibility: UTF-8 stdout, recursion context fix, pre-commit config
41 files · 374+ · 253-

Windows UTF-8 stdout and colorama compatibility

1 file changed
  • output.py sys.__stdout__ reconfigured to UTF-8; colorama cp1252 write path fixed
  • Windows UnicodeEncodeError resolved: sys.stdout reconfigured to UTF-8 to fix colorama’s cp1252 write path on Windows. This affected any output containing non-ASCII characters in type validation messages. remediate behavioral
    1 file
    • output.py

Recursion context top-level detection fix

1 file changed
  • validation.py Path emptiness used for top-level detection; recursion context reset after each top-level validation; post-run metrics preserved
  • Recursion context top-level detection fixed to use path emptiness rather than a depth counter. Context now reset correctly after each top-level validation call. Post-run metrics preserved across context resets. remediate behavioral
    1 file
    • validation.py

Pre-commit config

1 file changed
  • .pre-commit-config.yaml Pre-commit config: ruff, mypy, standard hooks
  • Pre-commit hooks added: ruff (lint + format), mypy strict, standard hooks. baseline internal
    1 file
    • .pre-commit-config.yaml