boilercore_tools.__main__
#
CLI for tools.
Module Contents#
Functions#
Initialize shell. |
|
Compile. |
|
Add change. |
|
Get actions used by this repository. |
|
Synchronize local dev configs to shadow |
|
Normalize |
|
Elevate Pyright warnings to errors. |
|
Build docs. |
|
Send object to |
Data#
CLI. |
API#
- boilercore_tools.__main__.APP#
‘App(…)’
CLI.
- boilercore_tools.__main__.main()#
- boilercore_tools.__main__.init_shell()#
Initialize shell.
- boilercore_tools.__main__.add_change(
- change: boilercore_tools.types.ChangeType = 'change',
Add change.
- boilercore_tools.__main__.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.
- boilercore_tools.__main__.sync_local_dev_configs()#
Synchronize local dev configs to shadow
pyproject.toml
, with some changes.Duplicate pytest configuration from
pyproject.toml
topytest.ini
. These files shadow the configuration inpyproject.toml
, which drives CI or if shadow configs are not present. Shadow configs are in.gitignore
to facilitate local-only shadowing. Concurrent test runs are disabled in the local pytest configuration which slows down the usual local, granular test workflow.
- boilercore_tools.__main__.disable_concurrent_tests(
- addopts: str,
Normalize
addopts
string and disable concurrent pytest tests.
- boilercore_tools.__main__.elevate_pyright_warnings()#
Elevate Pyright warnings to errors.
- boilercore_tools.__main__.build_docs()#
Build docs.
- boilercore_tools.__main__.log(
- obj,
Send object to
stdout
.