Merge pull request #2884 from pre-commit/typo

fix typo in testing/languages
This commit is contained in:
Anthony Sottile 2023-05-13 13:39:56 -07:00 committed by GitHub
commit 72b7b53ae3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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: