mirror of
https://github.com/daylinmorgan/viv.git
synced 2024-11-09 19:13:14 -06:00
20 lines
573 B
YAML
20 lines
573 B
YAML
# See https://pre-commit.com for more information
|
|
# See https://pre-commit.com/hooks.html for more hooks
|
|
repos:
|
|
- repo: https://github.com/psf/black
|
|
rev: 23.3.0
|
|
hooks:
|
|
- id: black
|
|
language_version: python
|
|
- repo: https://github.com/charliermarsh/ruff-pre-commit
|
|
rev: 'v0.0.270'
|
|
hooks:
|
|
- id: ruff
|
|
args: [--fix, --exit-non-zero-on-fix, --show-fixes]
|
|
- repo: local
|
|
hooks:
|
|
- id: set-version
|
|
language: script
|
|
name: sets __version__ in viv.py
|
|
entry: ./scripts/bump-dev.sh
|
|
files: viv.py$
|