Skip to content

Commit

Permalink
Adding isort, black and other pre-commit checks
Browse files Browse the repository at this point in the history
  • Loading branch information
zlove committed Nov 17, 2022
1 parent 7028911 commit 5125a94
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,19 @@
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
- repo: https://github.com/psf/black
rev: 22.10.0
hooks:
- id: black
language_version: python3.9
- repo: https://github.com/PyCQA/isort
rev: 5.10.1
hooks:
- id: isort

0 comments on commit 5125a94

Please sign in to comment.