Browse Source

fix: prevent black from fork-bombing (#34175)

asottile-sentry 2 years ago
parent
commit
06bde1cbaf
1 changed files with 1 additions and 0 deletions
  1. 1 0
      .pre-commit-config.yaml

+ 1 - 0
.pre-commit-config.yaml

@@ -36,6 +36,7 @@ repos:
       entry: black
       language: system
       types: [python]
+      require_serial: true
     # Configuration for isort exists in pyproject.toml,
     # but we let pre-commit take care of the file filtering.
     - id: isort