Skip to content

Commit

Permalink
Merge pull request #283 from koxudaxi/add_pre-commit
Browse files Browse the repository at this point in the history
add .pre-commit-config.yaml
  • Loading branch information
koxudaxi authored Oct 23, 2022
2 parents 58462fa + 1ec84b7 commit d2c344a
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
@@ -0,0 +1,13 @@
repos:
- repo: https://github.com/psf/black
rev: 22.8.0
hooks:
- id: black
files: "^fastapi_code_generator|^tests"
exclude: "^tests/data"
- repo: https://github.com/pycqa/isort
rev: 5.10.1
hooks:
- id: isort
files: "^fastapi_code_generator|^tests"
exclude: "^tests/data"

0 comments on commit d2c344a

Please sign in to comment.