Files
audio-driven-face-animation/.pre-commit-config.yaml
T
Łukasz Zalewski 3d301977b3 General improvements (#88)
* remove unnecessary linters from pre-commit-config

* hook fix

* small improvements

* fix readme

* implement easier access to debug mode

* fix tests

* Update README.md

* Update README.md
2021-03-08 15:53:30 +01:00

40 lines
998 B
YAML

default_language_version:
python: python3.8
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0
hooks:
# list of supported hooks: https://pre-commit.com/hooks.html
- id: end-of-file-fixer
- id: trailing-whitespace
- id: debug-statements
- id: detect-private-key
- id: check-yaml
- id: check-added-large-files
# Black - code formatting
- repo: https://github.com/psf/black
rev: 20.8b1
hooks:
- id: black
args: [--force-exclude, train.py]
# Isort - import sorting
# - repo: https://github.com/PyCQA/isort
# rev: 5.7.0
# hooks:
# - id: isort
# # profiles: https://pycqa.github.io/isort/docs/configuration/profiles/
# # other flags: https://pycqa.github.io/isort/docs/configuration/options/
# args: [--profile, black]
# MyPy - static type checking
# - repo: https://github.com/pre-commit/mirrors-mypy
# rev: v0.790
# hooks:
# - id: mypy