Clean up before major release #58
No reviewers
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: karolyi/py3-validate-email#58
Loading…
Reference in a new issue
No description provided.
Delete branch "master"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
While working on the cleanup of the public interface we've discussed, I stumbled over two additional changes which I think would make the upcoming PR more logical and the structure more consistent. @karolyi please let me know what you think about these changes. I've purposedly split them in two separate commits which you can look at independently. If you agree with what I did, I'll continue with the parameter list cleanup in this PR.
@karolyi I would welcome your comments on the commits I already did before continuing my work on this pull request.
Its not forgotten, I'm just busy... maybe tomorrow.
No rush, I'm quite busy myself as well anyway.
There are a couple changes (some only formal) that needs to be done, and some more tests for the _SMTPChecker object to be created.
Other than that, it's LGTM. Once I merged it with your changes, I'll give it a go in my editor to see if it's got any weirdness I can see, but from what I can see from looking at the PR in the browser, it's generally good to go.
Why the wrapping change here? As per PEP8, comment lines should be <72 columns long, this is why it was linebroken at before 'determined'.
I'd keep the warnings in the case of the debug flag set. Users were complaining about them being unable to turn off logging before.
Same as above.
See #30
Just to make sure: have you seen my comment in commit
a0f1cd1b04
, and do you disagree with it? In short, my reasoning for the change was:I have no problem reverting this change, but I want to make sure you really disagree with my reasons.
Sorry, I misunderstood the rule, I thought it was <= 72 columns. I can change this back, but then the next line would have to be broken before the "for", right?
You have a point there. I remember somebody complaning seeing log messages coming from this module when he used it with a command line tool he built. I can't find the issue now, but I remember having it posted. That said AFAIK
info
doesn't get logged to the stderr so I'll mark this as resolved and leave it as is.Quoting PEP8:
Here's how it looks in my editor (I have a ruler set to 72 and 79 colums (I use Sublime Text):
Ok it's my bad, it seems it actually looks good, I got a bit confused here by looking at the webpage based diff. This is why I like to look at stuff in my editor, as you can see. :)