Skip to content

Commit

Permalink
chore: add pre-commit hook for black formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
SwovelandM authored Feb 10, 2023
1 parent 52c712a commit 8e5d5d0
Show file tree
Hide file tree
Showing 5 changed files with 270 additions and 105 deletions.
5 changes: 5 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
repos:
- repo: https://github.com/psf/black
rev: 23.1.0
hooks:
- id: black
258 changes: 234 additions & 24 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ repository="https://github.com/virtool/workflow-build-index"
[tool.poetry.dependencies]
python = "~3.10"
virtool-workflow = "^5.1.0"
black = "^23.1.0"
pre-commit = "^3.0.4"

[tool.poetry.group.dev.dependencies]
pytest = "^6.2.4"
Expand Down
Loading

0 comments on commit 8e5d5d0

Please sign in to comment.