Skip to content

Commit

Permalink
packaging updated
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrolexa committed Dec 14, 2024
1 parent 6690ce7 commit 91f7119
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
default_stages: [commit, push]
repos:
- repo: https://github.com/psf/black
rev: 24.8.0
hooks:
- id: black
args: [--line-length=88]
exclude: ^(venv/|docs/)
types: ['python']
- repo: https://github.com/PyCQA/flake8
rev: 7.1.1
hooks:
- id: flake8
args:
- --max-line-length=88
- --ignore=F401,E501,W503,E731,E743,E741
exclude: ^(venv/|docs/)
types: ['python']
- repo: local
hooks:
- id: pytest
name: pytest
entry: ./.venv/bin/pytest --nbval-lax
language: system
types: [python]
pass_filenames: false
always_run: true

0 comments on commit 91f7119

Please sign in to comment.