chicham/query_analysis
2
1exclude: '(\_pb2\.py)$|(\_pb2\_grpc.py)$'2ci:3 autofix_commit_msg: |4 [pre-commit.ci] auto fixes from pre-commit.com hooks5 6 for more information, see https://pre-commit.ci7 autofix_prs: true8 autoupdate_commit_msg: '[pre-commit.ci] pre-commit autoupdate'9 autoupdate_schedule: weekly10 skip: []11 submodules: false12repos:13 - repo: https://github.com/pre-commit/pre-commit-hooks14 rev: v4.1.015 hooks:16 - id: trailing-whitespace17 exclude: .*\.(whl|run)18 - id: end-of-file-fixer19 exclude: .*\.(whl|run)20 - id: check-added-large-files21 - id: check-merge-conflict22 - id: debug-statements23 - id: no-commit-to-branch24 args: [--branch, main, --branch, master]25 - repo: https://github.com/asottile/reorder_python_imports26 rev: v2.6.027 hooks:28 - id: reorder-python-imports29 - repo: https://github.com/asottile/setup-cfg-fmt30 rev: v1.20.031 hooks:32 - id: setup-cfg-fmt33 - repo: https://github.com/asottile/pyupgrade34 rev: v2.31.035 hooks:36 - id: pyupgrade37 args: [--py38-plus]38 - repo: https://github.com/asottile/add-trailing-comma39 rev: v2.2.140 hooks:41 - id: add-trailing-comma42 - repo: https://github.com/Yelp/detect-secrets43 rev: v1.1.044 hooks:45 - id: detect-secrets46 - repo: https://github.com/PyCQA/flake847 rev: 4.0.148 hooks:49 - id: flake850 additional_dependencies:51 [52 'flake8-bugbear',53 'flake8-comprehensions',54 'flake8-builtins',55 'flake8-eradicate',56 'pep8-naming',57 ]58 - repo: https://github.com/psf/black59 rev: 21.12b060 hooks:61 - id: black62 args: [--include="(src|tests|scripts)/"]63 require_serial: true64 types_or: [python, pyi]65 - repo: https://github.com/pre-commit/mirrors-prettier66 rev: v2.5.167 hooks:68 - id: prettier69 types: [yaml, markdown]70 