mosdef-hub / mbuild

A hierarchical, component based molecule builder
https://mbuild.mosdef.org
Other
171 stars 79 forks source link

Cannot commit to Build instance #1156

Closed jaclark5 closed 8 months ago

jaclark5 commented 9 months ago

Bug summary

version information

pre-commit version: 2.20.0
git --version: git version 2.39.3 (Apple Git-145)
sys.version:
    3.8.15 | packaged by conda-forge | (default, Nov 22 2022, 08:53:40)
    [Clang 14.0.6 ]
os.name: posix
sys.platform: darwin

error information

An error has occurred: InvalidManifestError:
==> File /Users/jac16/.cache/pre-commit/repo9l71ynd5/.pre-commit-hooks.yaml
==> At Hook(id='black')
==> At key: stages
==> At index 0
=====> 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'
jaclark5 commented 9 months ago

I found the issue, my pre-commit version is outdated