Spaces:
Runtime error
Runtime error
File size: 1,926 Bytes
00f4444 3a5739d 00f4444 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 |
exclude: '(\_pb2\.py)$|(\_pb2\_grpc.py)$'
ci:
autofix_commit_msg: |
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
autofix_prs: true
autoupdate_commit_msg: '[pre-commit.ci] pre-commit autoupdate'
autoupdate_schedule: weekly
skip: []
submodules: false
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.1.0
hooks:
- id: trailing-whitespace
exclude: .*\.(whl|run)
- id: end-of-file-fixer
exclude: .*\.(whl|run)
- id: check-added-large-files
- id: check-merge-conflict
- id: debug-statements
- id: no-commit-to-branch
args: [--branch, main, --branch, master]
- repo: https://github.com/asottile/reorder_python_imports
rev: v2.6.0
hooks:
- id: reorder-python-imports
- repo: https://github.com/asottile/setup-cfg-fmt
rev: v1.20.0
hooks:
- id: setup-cfg-fmt
- repo: https://github.com/asottile/pyupgrade
rev: v2.31.0
hooks:
- id: pyupgrade
args: [--py38-plus]
- repo: https://github.com/asottile/add-trailing-comma
rev: v2.2.1
hooks:
- id: add-trailing-comma
- repo: https://github.com/Yelp/detect-secrets
rev: v1.1.0
hooks:
- id: detect-secrets
- repo: https://github.com/PyCQA/flake8
rev: 4.0.1
hooks:
- id: flake8
additional_dependencies:
[
'flake8-bugbear',
'flake8-comprehensions',
'flake8-builtins',
'flake8-eradicate',
'pep8-naming',
]
- repo: https://github.com/psf/black
rev: 21.12b0
hooks:
- id: black
args: [--include="(src|tests|scripts)/"]
require_serial: true
types_or: [python, pyi]
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v2.5.1
hooks:
- id: prettier
types: [yaml, markdown]
|