provide-testkit
2026-03-22
Add pre-commit config and fix SPDX scripts and expired test certs
4 files · 117+ · 79-
Pre-commit configuration
1 file changed
.pre-commit-config.yamlNew 44-line pre-commit config with ruff-check (--fix), ruff-format, standard hooks (trailing whitespace, end-of-file, check-yaml/toml/json, detect-private-key excluding crypto fixtures), and mypy strict
- Added pre-commit configuration with ruff linting/formatting, standard file validation hooks, private key detection (excluding test fixtures), and mypy type checking
instantiate
behavioral
1 file
.pre-commit-config.yaml
SPDX script lint fixes
2 files changed
add_spdx_headers.pyReplaced Tuple with tuple, renamed ambiguous loop variable l to ln, extracted _check_existing_header helper to reduce complexity, reformatted argument parservalidate_spdx_headers.pyReformatted string quotes, simplified should_skip with bool() return
Refresh expired test certificates
1 file changed
fixtures.pyReplaced expired test certificates (expired 2026-02-05) with new certificates valid until 2033-03-03
- Regenerated client and server test certificates that had expired on 2026-02-05, new certs valid until 2033-03-03
remediate
behavioral
1 file
fixtures.py