mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 00:04:42 +04:00
fix typo in testing/languages
This commit is contained in:
parent
ee49d4289f
commit
9c2a01186b
1 changed files with 3 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ EXCLUDED = frozenset((
|
||||||
|
|
||||||
|
|
||||||
def _always_run() -> frozenset[str]:
|
def _always_run() -> frozenset[str]:
|
||||||
ret = ['.github/workflows/languages.yml', 'testing/languages']
|
ret = ['.github/workflows/languages.yaml', 'testing/languages']
|
||||||
ret.extend(
|
ret.extend(
|
||||||
os.path.join('pre_commit/resources', fname)
|
os.path.join('pre_commit/resources', fname)
|
||||||
for fname in os.listdir('pre_commit/resources')
|
for fname in os.listdir('pre_commit/resources')
|
||||||
|
|
@ -57,6 +57,8 @@ def main() -> int:
|
||||||
]
|
]
|
||||||
|
|
||||||
triggers_all = _always_run()
|
triggers_all = _always_run()
|
||||||
|
for fname in triggers_all:
|
||||||
|
assert os.path.exists(fname), fname
|
||||||
|
|
||||||
if not args.all:
|
if not args.all:
|
||||||
with concurrent.futures.ThreadPoolExecutor(os.cpu_count()) as exe:
|
with concurrent.futures.ThreadPoolExecutor(os.cpu_count()) as exe:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue