Skip to content

mkdocs_demo.scripts.precommit

This module generates script entrypoints for Poetry related to pre-commit.

install module-attribute

install = command_factory(cmd='pre-commit install')

run module-attribute

run = command_factory(cmd='pre-commit run --all-files')

update module-attribute

update = command_factory(cmd='pre-commit autoupdate')