Skip to content

Commit 0786f72

Browse files
authored
Inline constant
1 parent 31ac868 commit 0786f72

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

sync_pre_commit_deps.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55

66
import ruamel.yaml
77

8-
REPOS_WITHOUT_REV = frozenset(('local', 'meta'))
98
SUPPORTED = frozenset(('black', 'flake8', 'mypy'))
109

1110

@@ -54,7 +53,7 @@ def main(argv: Sequence[str] | None = None) -> int:
5453
# TODO - validate schema?
5554
versions = {}
5655
for repo in loaded['repos']:
57-
if repo['repo'] not in REPOS_WITHOUT_REV:
56+
if repo['repo'] not in ('local', 'meta'):
5857
for hook in repo['hooks']:
5958
if (hid := hook['id']) in SUPPORTED:
6059
# `mirrors-mypy` uses versions with a 'v' prefix, so we

0 commit comments

Comments
 (0)