mass_driver.drivers.precommit

Pre-commit autoupdate as a Mass Driver

Module Contents

Classes

PrecommitAutoupdate

Run ‘pre-commit autoupdate’ in a repo

API

class mass_driver.drivers.precommit.PrecommitAutoupdate[source]

Bases: mass_driver.models.patchdriver.PatchDriver

Run ‘pre-commit autoupdate’ in a repo

run(repo: mass_driver.models.repository.ClonedRepo) mass_driver.models.patchdriver.PatchResult[source]

Apply pre-commit autoupdates