Skip to content

Commit

Permalink
Add pre-commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
porridge committed Feb 21, 2024
1 parent e5dd42a commit 1cd9266
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
repos:
- repo: https://github.com/pycqa/flake8
rev: 7.0.0
hooks:
- id: flake8
- repo: https://github.com/pre-commit/mirrors-autopep8
rev: v2.0.4
hooks:
- id: autopep8
1 change: 1 addition & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
autopep8==2.0.4
flake8==7.0.0
mccabe==0.7.0
pre-commit==3.0.4
pycodestyle==2.11.1
pyflakes==3.2.0
pygame==2.5.2
Expand Down

0 comments on commit 1cd9266

Please sign in to comment.