diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 47a9ae592f940..3966e8931162c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -29,13 +29,15 @@ repos: - id: pyupgrade args: [--py37-plus, --keep-runtime-typing] - repo: https://github.com/pre-commit/pygrep-hooks - rev: v1.7.1 + rev: v1.8.0 hooks: - id: rst-backticks - id: rst-directive-colons - types: [text] + types: [text] # overwrite types: [rst] + types_or: [python, rst] - id: rst-inline-touching-normal - types: [text] + types: [text] # overwrite types: [rst] + types_or: [python, rst] - repo: local hooks: - id: pip_to_conda @@ -212,8 +214,8 @@ repos: rev: v0.1.7 hooks: - id: no-string-hints -- repo: https://github.com/MarcoGorelli/abs-imports - rev: v0.1.2 +- repo: https://github.com/MarcoGorelli/absolufy-imports + rev: v0.2.1 hooks: - - id: abs-imports + - id: absolufy-imports files: ^pandas/