From ae69698b3a9b3d04a762047f3834183c80e4f697 Mon Sep 17 00:00:00 2001 From: Alex Waygood Date: Mon, 16 Oct 2023 15:59:50 +0100 Subject: [PATCH] Use `require_serial: true` as the default for our pre-commit hook, not `-j1` (#95) --- .pre-commit-hooks.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml index 61bc67b71..d50c29977 100644 --- a/.pre-commit-hooks.yaml +++ b/.pre-commit-hooks.yaml @@ -2,7 +2,6 @@ name: Sphinx Lint description: 'Searches for common problems in Sphinx-flavored reST files' types: [rst] - # Defer to pre-commit on the best way to delegate resources across available cores - args: [--jobs=1] + require_serial: true # we use multiprocessing internally anyway entry: sphinx-lint language: python