Skip to content

Conversation

asottile
Copy link
Member

@asottile asottile commented Oct 4, 2022

from the recipe in #707

$ pre-commit try-repo . forbid-submodules --all-files [WARNING] Creating temporary repo with uncommitted changes... =============================================================================== Using config: =============================================================================== repos: - repo: /tmp/tmpsa1bou80/shadow-repo  rev: 56154e7b7ef456dd9f8878854319891c00717415  hooks:  - id: forbid-submodules =============================================================================== [INFO] Initializing environment for /tmp/tmpsa1bou80/shadow-repo. forbid submodules........................................................Failed - hook id: forbid-submodules - exit code: 1 submodules are not allowed in this repository: astpretty
@asottile asottile merged commit 6b03546 into main Oct 5, 2022
@asottile asottile deleted the forbid-submodules branch October 5, 2022 01:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant