Releasing 0.2.7

This commit is contained in:
László Károlyi 2020-04-14 12:27:50 +02:00
parent 0dd9910eb2
commit 20bf35ead8
Signed by untrusted user: karolyi
GPG Key ID: 2DCAF25E55735BFE
3 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
0.2.7:
- Increase consistency at handling domain literals
- Clean up initial blacklist download on install
- All improvements made by @reinhard-mueller.
0.2.6:
- Introducing an EmailAddress class, thx to @reinhard-mueller
- Added a test for making sure there's a data directory with blacklist

View File

@ -56,7 +56,7 @@ class BuildPyCommand(build_py):
setup(
name='py3-validate-email',
version='0.2.6',
version='0.2.7',
packages=find_packages(exclude=['tests']),
install_requires=['dnspython~=1.16', 'idna~=2.8', 'filelock~=3.0'],
author='László Károlyi',

View File

@ -52,7 +52,7 @@ class EmailAddress(object):
def domain_literal_ip(self) -> Optional[str]:
"""
If the domain part of the email address is a literal IP address
enclosed in brackets, that IP address (without the brakcets) is
enclosed in brackets, that IP address (without the brackets) is
returned. Otherwise, `None` is returned.
"""
if self._domain.startswith('[') and self._domain.endswith(']'):