diff --git a/c2cciutils/scripts/checks.py b/c2cciutils/scripts/checks.py index 2d9c3e334..67de1148f 100644 --- a/c2cciutils/scripts/checks.py +++ b/c2cciutils/scripts/checks.py @@ -34,6 +34,12 @@ def main() -> None: if args.stop: sys.exit(1) print("With error") + if key in ("black", "isort", "prettier", "codespell"): + print("Can be fixed with:") + print("python3 -m pip install --requirement=ci/requirements.txt") + print(f"c2cciutils-checks --fix --check={key}") + if key in ("black", "isort", "prettier"): + print("See also documetation for IDE: https://github.com/camptocamp/c2cciutils#ide") else: print("::endgroup::") if not success: