Update all .py source files by
$ pyupgrade --py3-only $(git ls-files | grep ".py$")
to modernize the code according to Python 3 syntaxes.
pep8 errors are fixed by
$ autopep8 --select=E127,E128,E501 --max-line-length 79 -r \
--in-place taskflow
Also add the pyupgrade hook to pre-commit to avoid merging additional
Python 2 syntaxes.
Change-Id: Ifd0a0ade9789497482c7937bffd82c48acfb3d78
As method blather was using in new place, it was deprecated for removal
in new release.
Change-Id: Ic8d425e1774d6b7090ec105f2b37467a90c6e1e6
Closes-Bug: #1714873
This appears to be standardizing around the name
TRACE instead of BLATHER so start to move taskflow
internally to use this name instead.
Change-Id: I095039ac556eb07b821a29528b1b76651bcbab5c
We no longer provide support for py2.6 so we don't
need the logging compatibility code to exist anymore.
Change-Id: Iaefab67fd8b4e222475d99f57c2c3a7a5ce07d6e
Make sure that we call the local log() function and not
the adapted loggers log function to ensure that we pick
up the adapters potentially existing extra values.
Change-Id: I6cb027bab5c32bc4a24be683aec88f397c0cd707
Add a new logging BLATHER level to easily allow its
usage for messages that are below the normal DEBUG level
such as compilation information and scope lookup info
which can be very verbose in logs if always enabled.
Change-Id: I828211403bd02bfd6777b10cdcfe58fb0637a52c