fix typo in testing/languages

This commit is contained in:
Anthony Sottile
2023-05-13 16:27:14 -04:00
parent ee49d4289f
commit 9c2a01186b

View File

@@ -17,7 +17,7 @@ EXCLUDED = frozenset((
def _always_run() -> frozenset[str]:
ret = ['.github/workflows/languages.yml', 'testing/languages']
ret = ['.github/workflows/languages.yaml', 'testing/languages']
ret.extend(
os.path.join('pre_commit/resources', fname)
for fname in os.listdir('pre_commit/resources')
@@ -57,6 +57,8 @@ def main() -> int:
]
triggers_all = _always_run()
for fname in triggers_all:
assert os.path.exists(fname), fname
if not args.all:
with concurrent.futures.ThreadPoolExecutor(os.cpu_count()) as exe: