We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31ac868 commit 0786f72Copy full SHA for 0786f72
sync_pre_commit_deps.py
@@ -5,7 +5,6 @@
5
6
import ruamel.yaml
7
8
-REPOS_WITHOUT_REV = frozenset(('local', 'meta'))
9
SUPPORTED = frozenset(('black', 'flake8', 'mypy'))
10
11
@@ -54,7 +53,7 @@ def main(argv: Sequence[str] | None = None) -> int:
54
53
# TODO - validate schema?
55
versions = {}
56
for repo in loaded['repos']:
57
- if repo['repo'] not in REPOS_WITHOUT_REV:
+ if repo['repo'] not in ('local', 'meta'):
58
for hook in repo['hooks']:
59
if (hid := hook['id']) in SUPPORTED:
60
# `mirrors-mypy` uses versions with a 'v' prefix, so we
0 commit comments