Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 72b7b53

Browse files
authored
Merge pull request #2884 from pre-commit/typo
fix typo in testing/languages
2 parents ee49d42 + 9c2a011 commit 72b7b53

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

testing/languages

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ EXCLUDED = frozenset((
1717

1818

1919
def _always_run() -> frozenset[str]:
20-
ret = ['.github/workflows/languages.yml', 'testing/languages']
20+
ret = ['.github/workflows/languages.yaml', 'testing/languages']
2121
ret.extend(
2222
os.path.join('pre_commit/resources', fname)
2323
for fname in os.listdir('pre_commit/resources')
@@ -57,6 +57,8 @@ def main() -> int:
5757
]
5858

5959
triggers_all = _always_run()
60+
for fname in triggers_all:
61+
assert os.path.exists(fname), fname
6062

6163
if not args.all:
6264
with concurrent.futures.ThreadPoolExecutor(os.cpu_count()) as exe:

0 commit comments

Comments
 (0)