Merge autopkgtest-cloud:pre-commit-changes into autopkgtest-cloud:master
Status: | Merged |
---|---|
Merged at revision: | b8cb722f190ad95f0d1184299811b5ebdd8b6a50 |
Proposed branch: | autopkgtest-cloud:pre-commit-changes |
Merge into: | autopkgtest-cloud:master |
Diff against target: |
14 lines (+1/-2) 1 file modified
.pre-commit-config.yaml (+1/-2) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Paride Legovini | Approve | ||
Review via email: mp+449766@code.launchpad.net |
Description of the change
Using pre-commit run failed for me multiple times due to the naming of some of the stages - which looks like changed upstream (see new in 3.2.0 at https:/
$ pre-commit run
An error has occurred: InvalidConfigError:
==> File .pre-commit-
==> At Config()
==> At key: repos
==> At Repository(
==> At key: hooks
==> At Hook(id='pylint')
==> At key: stages
==> At index 5
=====> Expected one of commit, commit-msg, manual, merge-commit, post-checkout, post-commit, post-merge, post-rewrite, prepare-
commit-msg, push but got: 'pre-commit'
Check the log at /home/bdmurray/
These changes allow pre-commit run to work for me locally. I'm not sure what will happen in Launchpad CI though.
Looks like it's good in CI to me. LGTM but let's wait for Paride as he is the pre-commit wizard