Closed mgedmin closed 4 years ago
Some people (cough jamadden cough) format python_requires like this:
python_requires=', '.join([ '>= 2.7', '!= 3.0', '!= 3.1', '!= 3.2', '!= 3.3', '!= 3.4', ])
check-python-versions is able to parse this, but when modifying it overwrites it with a one-line expression
python_requires='>= 2.7, != 3.0, != 3.1, != 3.2, != 3.3, != 3.4',
(actually it's buggy and replaces the first line, then leaves the rest in place, introducing a syntax error!)
It would be nice if it could preserve the multiline formatting.
I copied that from someone, I think icemac.
Some people (cough jamadden cough) format python_requires like this:
check-python-versions is able to parse this, but when modifying it overwrites it with a one-line expression
(actually it's buggy and replaces the first line, then leaves the rest in place, introducing a syntax error!)
It would be nice if it could preserve the multiline formatting.