Files
Home-Assistant-Addons/coned_rtu/.pre-commit-config.yaml
T
2021-11-06 14:59:22 -04:00

23 lines
528 B
YAML

default_stages: [commit]
repos:
- repo: https://github.com/psf/black
rev: 21.8b0
hooks:
- id: black
name: black
- repo: https://gitlab.com/pycqa/flake8
rev: 3.9.2
hooks:
- id: flake8
args: [--max-line-length=120]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1
hooks:
- id: check-added-large-files
- id: check-merge-conflict
- id: end-of-file-fixer
- id: mixed-line-ending
args: ["--fix=lf"]
- id: requirements-txt-fixer
- id: trailing-whitespace