The pyansys_quality_report.py module#

Summary#

autoflush_print

Call print() and always flush so output appears immediately.

main

Run repository quality checks.

Description#

Run PyAnsys repository quality checks.

Module detail#

pyansys_quality_report.autoflush_print(*args: object, **kwargs: Any) → None#

Call print() and always flush so output appears immediately.

pyansys_quality_report.main(argv: list[str] | None = None) → int#

Run repository quality checks.

Parameters:
argvlist[str] or None, optional

Command-line arguments without the executable name. sys.argv is used when omitted.

Returns:
int

1 when any rule reports ERROR, otherwise 0.

type pyansys_quality_report.ColorMode = Literal['auto', 'always', 'never']#