pyvider-hcl 2025-08-17
CI/CD overhaul and printer refactoring
13 files · 1,344+ · 266-

Comprehensive GitHub Actions workflows

4 files changed
  • ci.yml Multi-Python-version matrix CI with ruff, bandit, mypy, pytest, and Codecov
  • security.yml Security pipeline with CodeQL, dependency scanning, secret scanning, SAST, Trivy, SBOM
  • setup-python-env.yml Composite action for standardized Python/uv environment setup
  • workflow-config.yml Centralized workflow configuration with global settings and matrix definitions
  • Added ci.yml workflow with multi-Python-version matrix (3.11, 3.12, 3.13), running ruff format/lint, bandit security scan, mypy type checking, pytest with coverage, and Codecov upload qualify internal
    1 file
    • ci.yml
  • Added security.yml with CodeQL analysis, dependency scanning (pip-audit, safety), secret scanning (TruffleHog, Gitleaks), SAST (Semgrep, Bandit), container scanning (Trivy), license compliance, SBOM generation, and security scorecard harden internal
    1 file
    • security.yml
  • Added setup-python-env.yml composite action for standardized Python/uv environment setup baseline internal
    1 file
    • setup-python-env.yml
  • Added workflow-config.yml for centralized workflow configuration baseline internal
    1 file
    • workflow-config.yml

Printer refactored for recursive value construction

1 file changed
  • printer.py Changed _pretty_print_cty_recursive to construct new CtyValue objects when recursing into sub-values
  • Changed _pretty_print_cty_recursive to construct new CtyValue objects when recursing into object attributes, list elements, map values, and tuple elements remediate behavioral
    1 file
    • printer.py
  • Fixes pretty-printing when inner values are stored as raw Python values rather than CtyValue wrappers remediate internal
    1 file
    • printer.py

Printer test suite added

1 file changed
  • test_printer.py Tests for string, number, bool, list, map, object, tuple, and dynamic CtyValue pretty-printing
  • Added tests/test_printer.py covering pretty-printing of string, number, bool, list, map, object, tuple, and dynamic CtyValues qualify internal
    1 file
    • test_printer.py

Configuration and dependency tweaks

6 files changed
  • pyproject.toml Commented out pyvider-cty dependency, removed debug log setting from pytest config
  • parser.py Minor changes to parser module
  • .python-version Python version update
  • GEMINI.md Content added to Gemini instructions file
  • README.md Documentation updates
  • hcl-env.sh Environment script updates
  • Temporarily commented out pyvider-cty from dependencies in pyproject.toml for CI testing without the sibling package baseline internal
    1 file
    • pyproject.toml
  • Removed log_cli_level = “DEBUG” from pytest configuration to reduce test output noise baseline internal
    1 file
    • pyproject.toml