Turn off pre-commit's automatic parallelization for black (#675)
black internally uses multiprocessing for speed. In pre-commit 1.13.0 this is automated by the framework itself however if both pre-commit and black are forking processes this is slower and hits race-conditions in `black`.
This commit is contained in:
parent
7546ed292c
commit
bc7e5c949f
@ -4,4 +4,5 @@
|
|||||||
entry: black
|
entry: black
|
||||||
language: python
|
language: python
|
||||||
language_version: python3
|
language_version: python3
|
||||||
|
require_serial: true
|
||||||
types: [python]
|
types: [python]
|
||||||
|
Loading…
Reference in New Issue
Block a user