Skip to content

Commit

Permalink
Add .pre-commit-config.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
tony committed Jan 6, 2022
1 parent 9fb3884 commit c06eb3a
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
# vim: set nospell:
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.1.0
hooks:
- id: trailing-whitespace
args: [--markdown-linebreak-ext=md]
- id: end-of-file-fixer
- id: check-toml
- id: check-added-large-files
- id: debug-statements
- repo: https://github.com/pycqa/isort
rev: 5.10.1
hooks:
- id: isort
- repo: https://github.com/PyCQA/flake8
rev: "4.0.1"
hooks:
- id: flake8
additional_dependencies:
- flake8-comprehensions
- flake8-bugbear
exclude: docs\/.*
- repo: https://github.com/psf/black
rev: "21.12b0"
hooks:
- id: black

0 comments on commit c06eb3a

Please sign in to comment.