shynet/.pre-commit-config.yaml
havk ba2f47edb7
Add Black config and pre-commit hook (#231)
* Add black config to pyproject.toml

* Add flake8 config

* Add pre-commit black hook
2022-09-28 16:16:40 -07:00

17 lines
466 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/pre-commit/pre-commit-hooks
#rev: v3.2.0
#hooks:
#- id: trailing-whitespace
#- id: end-of-file-fixer
#- id: check-yaml
#- id: check-added-large-files
- repo: https://github.com/psf/black
rev: 22.8.0
hooks:
- id: black
exclude: 'migrations|^shynet/shynet/settings.py'