浏览代码

detect common mock errors (#2723)

/develop-gpu-test
GitHub 5 年前
当前提交
7036a545
共有 1 个文件被更改,包括 8 次插入0 次删除
  1. 8
      .pre-commit-config.yaml

8
.pre-commit-config.yaml


.*_pb2.py|
.*_pb2_grpc.py
)$
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.720
hooks:

name: mypy-gym-unity
files: "gym-unity/.*"
args: [--ignore-missing-imports, --disallow-incomplete-defs]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.2.3
hooks:

.*_pb2_grpc.py
)$
additional_dependencies: [flake8-comprehensions]
- repo: https://github.com/pre-commit/pygrep-hooks
rev: v1.4.1 # Use the ref you want to point at
hooks:
- id: python-check-mock-methods
# "Local" hooks, see https://pre-commit.com/#repository-local-hooks
- repo: local
hooks:

正在加载...
取消
保存