Skip to content
This repository has been archived by the owner on Dec 16, 2022. It is now read-only.

Commit

Permalink
chore: Add .pre-commit-config.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
junghoon-vans committed Oct 9, 2022
1 parent 36596e9 commit 05d2be7
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
repos:
- repo: https://github.com/asottile/reorder_python_imports
rev: v3.8.3
hooks:
- id: reorder-python-imports
exclude: ^.*\b(migrations)\b.*$
- repo: https://github.com/asottile/add-trailing-comma
rev: v2.3.0
hooks:
- id: add-trailing-comma
exclude: ^.*\b(migrations)\b.*$
- repo: https://github.com/asottile/pyupgrade
rev: v2.38.2
hooks:
- id: pyupgrade
- repo: https://github.com/pre-commit/mirrors-autopep8
rev: v1.7.0
hooks:
- id: autopep8
exclude: ^.*\b(migrations)\b.*$
- repo: https://github.com/PyCQA/flake8
rev: 5.0.4
hooks:
- id: flake8
exclude: ^.*\b(migrations)\b.*$
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.971
hooks:
- id: mypy
additional_dependencies: [types-all]

0 comments on commit 05d2be7

Please sign in to comment.