follow Python 3.6 (or 7) specifications
In a dev
branch
-
implement ci check pipeline -
module init version check
if not sys.version_info > (2, 7):
# berate your user for running a 10 year
# python version
elif not sys.version_info >= (3, 5):
# Kindly tell your user (s)he needs to upgrade
# because you're using 3.5 features
-
Use doc sting -
type hints -
use f-string for all outputs -
replace dict
inevt.data
bycollections.defaultDict
to avoid using.get()
- however, is this possible ?
-
also standardize with evt.error
.error_cause
Edited by HENNING Greg