Clean up before major release #58

Merged
reinhard-mueller merged 3 commits from master into pull-55 2021-03-07 12:59:25 +01:00

3 Commits

Author SHA1 Message Date
Reinhard Müller e1684f7f72 Make isort happy 2021-03-03 21:53:25 +01:00
Reinhard Müller bcbadbab65 Split mx_check into dns_check and smtp_check
This will allow us to cleanly and consistently keep the four
verification steps separate: format (regex) - blacklist - dns - smtp.
2021-03-02 18:30:13 +01:00
Reinhard Müller a0f1cd1b04 Improve logging options
Issue our own log messages independently of the "debug" parameter, so a
user can activate our log messages through Python's standard logger
config features, while still having dsabled smtplib's debug messages,
which are very verbose and always go to stderr.

Change the log output for failed and ambiguous verifications from
"warning" to "info" as this is a normal function of the library and not
something that would require attention. Also this makes sure that no log
output is generated if logging is not configured at all (default is to
only display warning and above).
2021-03-02 17:43:03 +01:00