Skip to content

Commit ec6abbf

Browse files
authored
update pre-commit-config (#40125)
1 parent 6c69a84 commit ec6abbf

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

.pre-commit-config.yaml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,15 @@ repos:
2929
- id: pyupgrade
3030
args: [--py37-plus, --keep-runtime-typing]
3131
- repo: https://github.com/pre-commit/pygrep-hooks
32-
rev: v1.7.1
32+
rev: v1.8.0
3333
hooks:
3434
- id: rst-backticks
3535
- id: rst-directive-colons
36-
types: [text]
36+
types: [text] # overwrite types: [rst]
37+
types_or: [python, rst]
3738
- id: rst-inline-touching-normal
38-
types: [text]
39+
types: [text] # overwrite types: [rst]
40+
types_or: [python, rst]
3941
- repo: local
4042
hooks:
4143
- id: pip_to_conda
@@ -212,8 +214,8 @@ repos:
212214
rev: v0.1.7
213215
hooks:
214216
- id: no-string-hints
215-
- repo: https://github.com/MarcoGorelli/abs-imports
216-
rev: v0.1.2
217+
- repo: https://github.com/MarcoGorelli/absolufy-imports
218+
rev: v0.2.1
217219
hooks:
218-
- id: abs-imports
220+
- id: absolufy-imports
219221
files: ^pandas/

0 commit comments

Comments
 (0)