modernize
modernize copied to clipboard
Modernizes Python code for eventual Python 3 migration. Built on top of fissix (a fork of lib2to3)
There is a small typo in modernize/fixes/fix_itertools_six.py. Should read `consistent` rather than `consistant`. Semi-automated pull request generated by https://github.com/timgates42/meticulous/blob/master/docs/NOTE.md
These options were added to 2to3 in Python 2.7 and 3.2. This commit adds the options always, with descriptive errors if the user attempts to use them with a version...
https://devguide.python.org/#status-of-python-branches vs. https://devguide.python.org/devcycle/#end-of-life-branches All tests are green but `.github/workflows/main.yml` line 50 needs some attention from someone who knows `coveralls`. * ~@graingert I took your changes from #253~ That did not...
As suggested by @graingert, I use this repo as a playground for flit's new and shinny PEP 621 support. The fields are ordered like in [flit's documentation](https://flit.readthedocs.io/en/latest/pyproject_toml.html#new-style-metadata).
### PyCQA/modernize now has a Chat Room on Gitter @graingert has just created a chat room. You can visit it here: [https://gitter.im/PyCQA/modernize](https://gitter.im/PyCQA/modernize?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&content=body_link). This pull-request adds this badge to your README.rst:...
It's very easy to reproduce with one line python file ``` # testfile.py test = range(5) ``` It's working with a single process ``` [10:21] () augustyn:tmp$ python -m modernize...
This is pseudo code - it may work or may not. I haven't got chance to test it yet