Skip to content

Latest commit

 

History

History
65 lines (37 loc) · 1.08 KB

utils.md

File metadata and controls

65 lines (37 loc) · 1.08 KB

Utils

Fhmake Index / Fhmake / Utils

Auto-generated documentation for fhmake.utils module.

_doSysExec

Show source in utils.py:36

Execute a command and check for errors.

Arguments


  • command str - commands as a string

Raises


  • RuntimeWarning - throw a warning should there be a non exit code

Returns


  • tuple[int, str] - return code + stdout

Signature

def _doSysExec(command: str) -> tuple[int, str]: ...

_getPyproject

Show source in utils.py:26

Get the pyproject data.

Signature

def _getPyproject() -> dict: ...

_setPyproject

Show source in utils.py:31

Write the pyproject data back to file.

Signature

def _setPyproject(toml: toml_document.TOMLDocument) -> None: ...