Skip to content

Commit

Permalink
Support an ALLOW_EMPTY_LOCAL env. var. in the CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
musicinmybrain committed Jun 21, 2024
1 parent 5eb475d commit 767c7dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion email_validator/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def main(dns_resolver: Optional[_Resolver] = None) -> None:

# Set options from environment variables.
options: Dict[str, Any] = {}
for varname in ('ALLOW_SMTPUTF8', 'ALLOW_QUOTED_LOCAL', 'ALLOW_DOMAIN_LITERAL',
for varname in ('ALLOW_SMTPUTF8', 'ALLOW_EMPTY_LOCAL', 'ALLOW_QUOTED_LOCAL', 'ALLOW_DOMAIN_LITERAL',
'ALLOW_DISPLAY_NAME',
'GLOBALLY_DELIVERABLE', 'CHECK_DELIVERABILITY', 'TEST_ENVIRONMENT'):
if varname in os.environ:
Expand Down

0 comments on commit 767c7dc

Please sign in to comment.