[MIN] Improve error message wording

"end date must be after end date"...
Also some PEP8 cleanup
[REF] more PEP8