boilercv_dev.tools#
Tools.
Submodules#
Package Contents#
Functions#
Add change. |
|
Get actions used by this repository. |
|
Synchronize local dev configs to shadow |
|
Normalize |
|
Elevate Pyright warnings to errors. |
|
Encode a PowerShell script to Base64 for passing to |
API#
- boilercv_dev.tools.add_change(
- change: boilercv_dev.tools.types.ChangeType = 'change',
Add change.
- boilercv_dev.tools.get_actions()#
Get actions used by this repository.
For additional security, select “Allow
and select non- , actions and reusable workflows” in the General section of your Actions repository settings, and paste the output of this command into the “Allow specified actions and reusable workflows” block. Parameters#
high: Highest dependencies.
- boilercv_dev.tools.sync_local_dev_configs()#
Synchronize local dev configs to shadow
pyproject.toml, with some changes.Duplicate pytest configuration from
pyproject.tomltopytest.ini. These files shadow the configuration inpyproject.toml, which drives CI or if shadow configs are not present. Shadow configs are in.gitignoreto facilitate local-only shadowing. Concurrent test runs are disabled in the local pytest configuration which slows down the usual local, granular test workflow.
- boilercv_dev.tools.disable_concurrent_tests(
- addopts: str,
Normalize
addoptsstring and disable concurrent pytest tests.
- boilercv_dev.tools.elevate_pyright_warnings()#
Elevate Pyright warnings to errors.