diff --git a/commit_check/__init__.py b/commit_check/__init__.py index 7d1ab0c..a88235c 100644 --- a/commit_check/__init__.py +++ b/commit_check/__init__.py @@ -38,13 +38,13 @@ }, { 'check': 'author_email', - 'regex': r'^\S+@\S+\.\S+$', + 'regex': r'^.+@.+$', 'error': 'The committer\'s email seems invalid', 'suggest': 'run command `git config user.email yourname@example.com`', }, { 'check': 'commit_signoff', - 'regex': r'Signed-off-by:.*[A-Za-z0-9]\s+<[\w\.]+@([\w-]+\.)+[\w-]{2,4}>', + 'regex': r'Signed-off-by:.*[A-Za-z0-9]\s+<.+@.+>', 'error': 'Signed-off-by not found in latest commit', 'suggest': 'run command `git commit -m "conventional commit message" --signoff`', },
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: