Skip to content

Commit

Permalink
Create .pre-commit-config.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
angehung5 authored Sep 9, 2024
1 parent 2564bf2 commit ab5f48a
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: "v4.6.0"
hooks:
- id: trailing-whitespace
exclude: tdump\.[0-9]*
- id: end-of-file-fixer
- id: check-docstring-first
- id: check-yaml

- repo: https://github.com/asottile/pyupgrade
rev: "v3.17.0"
hooks:
- id: pyupgrade
args: [--py37-plus]

- repo: https://github.com/PyCQA/isort
rev: "5.13.2"
hooks:
- id: isort

- repo: https://github.com/psf/black
rev: "24.8.0"
hooks:
- id: black

- repo: https://github.com/PyCQA/flake8
rev: "7.1.1"
hooks:
- id: flake8
args: [--max-line-length=88]

- repo: https://github.com/codespell-project/codespell
rev: v2.3.0
hooks:
- id: codespell

0 comments on commit ab5f48a

Please sign in to comment.