mirror of
https://github.com/docker/compose.git
synced 2025-07-06 05:14:25 +02:00
exclude .github from pre-commit
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
parent
7c82d8ad2c
commit
2011bc3cea
@ -1,26 +1,28 @@
|
|||||||
- repo: git://github.com/pre-commit/pre-commit-hooks
|
exclude: .github/
|
||||||
sha: 'v0.9.1'
|
repos:
|
||||||
hooks:
|
- repo: git://github.com/pre-commit/pre-commit-hooks
|
||||||
- id: check-added-large-files
|
sha: 'v0.9.1'
|
||||||
- id: check-docstring-first
|
hooks:
|
||||||
- id: check-merge-conflict
|
- id: check-added-large-files
|
||||||
- id: check-yaml
|
- id: check-docstring-first
|
||||||
- id: check-json
|
- id: check-merge-conflict
|
||||||
- id: debug-statements
|
- id: check-yaml
|
||||||
- id: end-of-file-fixer
|
- id: check-json
|
||||||
- id: flake8
|
- id: debug-statements
|
||||||
- id: name-tests-test
|
- id: end-of-file-fixer
|
||||||
exclude: 'tests/(integration/testcases\.py|helpers\.py)'
|
- id: flake8
|
||||||
- id: requirements-txt-fixer
|
- id: name-tests-test
|
||||||
- id: trailing-whitespace
|
exclude: 'tests/(integration/testcases\.py|helpers\.py)'
|
||||||
- repo: git://github.com/asottile/reorder_python_imports
|
- id: requirements-txt-fixer
|
||||||
sha: v1.3.4
|
- id: trailing-whitespace
|
||||||
hooks:
|
- repo: git://github.com/asottile/reorder_python_imports
|
||||||
- id: reorder-python-imports
|
sha: v1.3.4
|
||||||
language_version: 'python3.7'
|
hooks:
|
||||||
args:
|
- id: reorder-python-imports
|
||||||
- --py3-plus
|
language_version: 'python3.7'
|
||||||
- repo: https://github.com/asottile/pyupgrade
|
args:
|
||||||
|
- --py3-plus
|
||||||
|
- repo: https://github.com/asottile/pyupgrade
|
||||||
rev: v2.1.0
|
rev: v2.1.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: pyupgrade
|
- id: pyupgrade
|
||||||
|
Loading…
x
Reference in New Issue
Block a user