Skip to content

Commit e666563

Browse files
committed
prevent trailing slash in urls
1 parent 517969b commit e666563

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.pre-commit-config.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,8 @@ repos:
4949
entry: '(github|gitlab).*\.git'
5050
files: all-repos.yaml
5151
language: pygrep
52+
- id: no-github-trailing-slash
53+
name: No need for trailing / for urls
54+
entry: '.*/$'
55+
files: all-repos.yaml
56+
language: pygrep

0 commit comments

Comments
 (0)