platypush/.pre-commit-config.yaml

34 lines
805 B
YAML
Raw Permalink Normal View History

# 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
2022-04-04 17:21:47 +02:00
rev: v4.1.0
hooks:
# - id: trailing-whitespace
# - id: end-of-file-fixer
2022-10-07 02:23:04 +02:00
- id: check-yaml
- id: check-json
- id: check-xml
- id: check-symlinks
- id: check-added-large-files
args: ['--maxkb=1500']
- repo: https://github.com/Lucas-C/pre-commit-hooks-nodejs
2022-04-04 17:21:47 +02:00
rev: v1.1.2
hooks:
- id: markdown-toc
2022-04-04 17:21:47 +02:00
- repo: https://github.com/pycqa/flake8
rev: 4.0.1
hooks:
- id: flake8
additional_dependencies:
- flake8-bugbear
- flake8-comprehensions
- flake8-simplify
- repo: https://github.com/psf/black
rev: 22.3.0
hooks:
- id: black