Skip to content

Commit

Permalink
feat(pre-commot): Add
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikstranneheim committed Mar 1, 2024
1 parent 3bad6e9 commit 2934dfc
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 3 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 @@
repos:
- repo: https://github.com/psf/black
rev: 24.1.0
hooks:
- id: black
args: [--line-length=100]
- repo: https://github.com/pycqa/isort
rev: 5.12.0
hooks:
- id: isort
name: isort
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.7
hooks:
- id: ruff

7 changes: 4 additions & 3 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
pytest>=5.2
pytest-cov
bump2version
coveralls
pre-commit
pylint
bump2version
pytest-cov
pytest>=5.2

0 comments on commit 2934dfc

Please sign in to comment.