Skip to content

Commit

Permalink
Pin Black pre-commit hook to 20.8b1 to avoid new minimum pre-commit r…
Browse files Browse the repository at this point in the history
…equirement on Black stable
  • Loading branch information
mtkennerly committed May 10, 2021
1 parent 7f2ec9a commit 4d4a111
Showing 1 changed file with 27 additions and 26 deletions.
53 changes: 27 additions & 26 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,26 +1,27 @@
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.1.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- repo: https://github.com/Lucas-C/pre-commit-hooks
rev: v1.1.6
hooks:
- id: forbid-tabs
- repo: https://github.com/ambv/black
rev: stable
hooks:
- id: black
- repo: https://github.com/pre-commit/mirrors-mypy
rev: "v0.700"
hooks:
- id: mypy
args:
- --ignore-missing-imports
- repo: local
hooks:
- id: flake8
name: flake8
language: system
entry: poetry run flake8
types: [python]
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.1.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- repo: https://github.com/Lucas-C/pre-commit-hooks
rev: v1.1.6
hooks:
- id: forbid-tabs
- repo: https://github.com/ambv/black
rev: 20.8b1
hooks:
- id: black
- repo: https://github.com/pre-commit/mirrors-mypy
rev: "v0.700"
hooks:
- id: mypy
args:
- --ignore-missing-imports
- repo: local
hooks:
- id: flake8
name: flake8
language: system
entry: poetry run flake8
types: [python]

0 comments on commit 4d4a111

Please sign in to comment.