Skip to content

Commit

Permalink
Add and update pre-commit hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
JWCook committed Jun 14, 2021
1 parent 5edd694 commit f0716c1
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/pre-commit.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,25 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.3.0
rev: v4.0.1
hooks:
- id: check-toml
- id: check-yaml
- id: end-of-file-fixer
- id: mixed-line-ending
- id: trailing-whitespace
- repo: https://github.com/psf/black
rev: 21.5b0
rev: 21.6b0
hooks:
- id: black
- repo: https://github.com/timothycrosley/isort
rev: 5.6.4
rev: 5.8.0
hooks:
- id: isort
- repo: https://gitlab.com/pycqa/flake8
rev: 3.8.4
rev: 3.9.2
hooks:
- id: flake8
- repo: git://github.com/luismayta/pre-commit-mypy
- repo: https://github.com/luismayta/pre-commit-mypy
rev: 0.1.1
hooks:
- id: mypy

0 comments on commit f0716c1

Please sign in to comment.