Closed cfobel closed 5 years ago
The python-modernize can help with this considerably, e.g.:
python-modernize
python-modernize . -w
will automatically use the six module to apply numerous transformations required for Python 2/3 compatability. The python-modernize tool was used to generate all changes in this commit.
six
Thank you so much for your PR. It seems that we added support for PY3. We just need only the 1 line https://github.com/platformio/platform-atmelavr/commit/f5a2ade952fbce6f3166a3b3f65bf598237f4c98
The
python-modernize
can help with this considerably, e.g.:will automatically use the
six
module to apply numerous transformations required for Python 2/3 compatability. Thepython-modernize
tool was used to generate all changes in this commit.