minyma/.pre-commit-config.yaml
2023-10-15 21:50:51 -04:00

23 lines
605 B
YAML

repos:
- repo: https://github.com/psf/black
rev: 23.9.1
hooks:
- id: black
name: black
language_version: python3.10
files: "^minyma/|^setup.py|^tests/minyma/"
- repo: https://github.com/pycqa/flake8
rev: 6.1.0
hooks:
- id: flake8
name: flake8
args: ["--config=.flake8"]
files: "^minyma/|^setup.py|^tests/minyma/"
- repo: https://github.com/pycqa/isort
rev: 5.12.0
hooks:
- id: isort
name: isort
args: ["--profile", "black", "--filter-files"]
files: "^minyma/|^setup.py|^tests/minyma/"