mirror of
https://github.com/lucaspalomodevelop/netbox-acls.git
synced 2026-03-12 23:27:23 +00:00
63 lines
1.5 KiB
YAML
63 lines
1.5 KiB
YAML
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v4.3.0
|
|
hooks:
|
|
- id: trailing-whitespace
|
|
- id: end-of-file-fixer
|
|
- id: check-yaml
|
|
- id: check-merge-conflict
|
|
- id: debug-statements
|
|
- id: name-tests-test
|
|
- id: requirements-txt-fixer
|
|
- id: check-docstring-first
|
|
- repo: https://github.com/asottile/add-trailing-comma
|
|
rev: v2.2.3
|
|
hooks:
|
|
- id: add-trailing-comma
|
|
args:
|
|
- "--py36-plus"
|
|
- repo: https://github.com/asottile/pyupgrade
|
|
rev: v2.37.3
|
|
hooks:
|
|
- id: pyupgrade
|
|
args:
|
|
- "--py37-plus"
|
|
- repo: https://github.com/PyCQA/isort
|
|
rev: 5.10.1
|
|
hooks:
|
|
- id: isort
|
|
args:
|
|
- "--filter-files"
|
|
- "--profile=black"
|
|
- repo: https://github.com/psf/black
|
|
rev: 22.6.0
|
|
hooks:
|
|
- id: black
|
|
language_version: python3
|
|
#- repo: https://github.com/adrienverge/yamllint
|
|
# rev: v1.26.3
|
|
# hooks:
|
|
# - id: yamllint
|
|
- repo: https://github.com/psf/black
|
|
rev: 22.6.0
|
|
hooks:
|
|
- id: black
|
|
- repo: https://github.com/Lucas-C/pre-commit-hooks-nodejs
|
|
rev: v1.1.2
|
|
hooks:
|
|
- id: htmlhint
|
|
# optional custom config:
|
|
args: [--config, .htmlhintrc]
|
|
- repo: https://github.com/igorshubovych/markdownlint-cli
|
|
rev: v0.32.1
|
|
hooks:
|
|
- id: markdownlint
|
|
- repo: local
|
|
hooks:
|
|
- id: wily
|
|
name: wily
|
|
entry: wily diff
|
|
verbose: true
|
|
language: python
|
|
additional_dependencies: [wily]
|