We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21e3b2f commit e33b236Copy full SHA for e33b236
.pre-commit-hooks.yaml
@@ -3,4 +3,4 @@
3
description: Fails if a requirement does not specify the version
4
language: pygrep
5
files: requirements.*\.txt$
6
- entry: ^(?!.+(?:={2,3}|!=|~=|>=?|<=?)[\S]+).*
+ entry: ^(?!\s*$)(?!#)(?!.+(?:={2,3}|!=|~=|>=?|<=?)[\S]+).*
0 commit comments