diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b0ce5f93b26..92e31ea9c4b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -54,18 +54,14 @@ repos: language: system files: \.(cu|cuh|h|hpp|cpp|inl)$ args: ['-fallback-style=none'] - - repo: local + - repo: https://github.com/pre-commit/mirrors-mypy + rev: 'v0.782' hooks: - id: mypy - name: mypy - description: mypy - pass_filenames: false - entry: mypy --config-file=python/cudf/setup.cfg python/cudf/cudf - language: system - types: [python] - - repo: https://github.com/pycqa/pydocstyle - rev: 6.0.0 - hooks: + args: ["--config-file=python/cudf/setup.cfg", "python/cudf/cudf"] + - repo: https://github.com/pycqa/pydocstyle + rev: 6.0.0 + hooks: - id: pydocstyle args: ["--config=python/.flake8"]