Skip to content

Commit

Permalink
Update pre-commit (#396)
Browse files Browse the repository at this point in the history
* Update pre-commit

* Use blacken-docs
  • Loading branch information
jarrodmillman committed May 17, 2022
1 parent 0e9a1cb commit 53dd99c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
9 changes: 7 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.1.0
rev: v4.2.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
Expand All @@ -28,8 +28,13 @@ repos:
files: \.(html|md|yml|yaml)
args: [--prose-wrap=preserve]

- repo: https://github.com/asottile/blacken-docs
rev: v1.12.1
hooks:
- id: blacken-docs

- repo: https://github.com/asottile/pyupgrade
rev: v2.31.1
rev: v2.32.1
hooks:
- id: pyupgrade
args: [--py37-plus]
2 changes: 1 addition & 1 deletion requirements/developer.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
pre-commit>=2.18
pre-commit>=2.19

0 comments on commit 53dd99c

Please sign in to comment.