Skip to content

Commit

Permalink
fix Pipfile, update Pipfile.lock, add pre-commit to dev
Browse files Browse the repository at this point in the history
  • Loading branch information
rhetr committed Jun 16, 2023
1 parent 184a0d9 commit e9fb231
Show file tree
Hide file tree
Showing 3 changed files with 713 additions and 564 deletions.
21 changes: 21 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
default_language_version:
python: python3.9
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.5.0 # Use the ref you want to point at
hooks:
- id: check-merge-conflict
- id: debug-statements
- repo: https://github.com/pycqa/flake8
rev: 6.0.0
hooks:
- id: flake8
- repo: https://github.com/ambv/black
rev: 23.3.0
hooks:
- id: black
- repo: https://github.com/pycqa/isort
rev: 5.12.0
hooks:
- id: isort
name: isort (python)
3 changes: 2 additions & 1 deletion Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,5 @@ freezegun = "*"
pytest = "*"
"flake8" = "*"
isort = "*"
black = "==*"
black = "*"
pre-commit = "*"
Loading

0 comments on commit e9fb231

Please sign in to comment.