github.com/alwaysproblem/mlserving-tutorial@v0.0.0-20221124033215-121cfddbfbf4/.pre-commit-config.yaml (about) 1 repos: 2 - repo: https://github.com/pre-commit/pre-commit-hooks 3 rev: v4.3.0 4 hooks: 5 - id: check-yaml 6 - id: trailing-whitespace 7 - id: end-of-file-fixer 8 9 - repo: https://github.com/pycqa/pylint 10 rev: v2.15.5 11 hooks: 12 - id: pylint 13 args: 14 - "--rcfile=pylintrc" 15 exclude: tests(/\w*)*/functional/|tests/input|tests(/\w*)*data/|doc/|TFserving/ClientAPI/go/pkg/ 16 17 - repo: https://github.com/google/yapf 18 rev: v0.32.0 19 hooks: 20 - id: yapf 21 22 - repo: https://github.com/pre-commit/mirrors-mypy 23 rev: v0.982 24 hooks: 25 - id: mypy 26 additional_dependencies: ['types-requests'] 27 exclude: tests(/\w*)*/functional/|tests/input|tests(/\w*)*data/|doc/|TFserving/ClientAPI/go/pkg/|(/\w*)*_test.py 28 29 - repo: https://github.com/pre-commit/mirrors-clang-format 30 rev: 'v14.0.6' 31 hooks: 32 - id: clang-format 33 types_or: [c++, c] 34 35 - repo: https://github.com/mwouts/jupytext 36 rev: v1.14.1 37 hooks: 38 - id: jupytext 39 args: [--sync] 40 41 - repo: https://github.com/cheshirekow/cmake-format-precommit 42 rev: v0.6.10 43 hooks: 44 - id: cmake-format 45 - id: cmake-lint