Commit bc7e5c94 authored by Anthony Sottile's avatar Anthony Sottile Committed by Zsolt Dollenstein
Browse files

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`.
parent 7546ed29
Loading
Loading
Loading
Loading
+1 −0
Changes for .pre-commit-hooks.yaml: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -4,4 +4,5 @@
    entry: black
    language: python
    language_version: python3
    require_serial: true
    types: [python]