Skip to content

Commit

Permalink
📝 add .pre-commit.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
MelodyKnit committed Jun 2, 2023
1 parent a428330 commit b6e64fa
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .pre-commit.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.4.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- repo: https://github.com/psf/black
rev: 21.7b0
hooks:
- id: black
args: [--line-length=79]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.4.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: flake8
entry: flake8
args: [--max-line-length=79]

0 comments on commit b6e64fa

Please sign in to comment.