Skip to content

Commit

Permalink
pre-commit: Add check for double slashes in URL
Browse files Browse the repository at this point in the history
Signed-off-by: Norbert Kamiński <[email protected]>
  • Loading branch information
Norbert Kamiński committed Jul 25, 2023
1 parent aa9d60d commit 59e5683
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ repos:
hooks:
- id: double_slashes_url_external
name: Check double slashes in external URLs
entry: https?:\/\/.*\/\/.*
entry: https?:\/\/[^\s]*\/\/
language: pygrep
- id: double_slashes_url_internal
name: Check double slashes in internal URLs
Expand Down

0 comments on commit 59e5683

Please sign in to comment.