Skip to content

Commit

Permalink
new: Add pre commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Rafiot committed Jan 15, 2024
1 parent 9a0340a commit 1150b49
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
exclude: "tests/data"
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.1.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
- repo: https://github.com/asottile/pyupgrade
rev: v2.31.1
hooks:
- id: pyupgrade
args: [--py38-plus]

0 comments on commit 1150b49

Please sign in to comment.