Edgewall Software

Changes between Initial Version and Version 1 of Ticket #12130, comment 93


Ignore:
Timestamp:
May 25, 2020, 8:48:49 PM (4 years ago)
Author:
Ryan J Ollos

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #12130, comment 93

    initial v1  
    1 In TracDev/ReleaseChecklist#Otherrepositoryfiles, `reindent` is used to fix indentation before a release. pypi:reindent doesn't support Python 3. I assume that's just packaged [https://github.com/python/cpython/blob/master/Tools/scripts/reindent.py reindent.py] from the Python Core.
     1In [TracDev/ReleaseChecklist#Otherrepositoryfiles the release checklist], `reindent` is used to fix indentation. pypi:reindent doesn't support Python 3. It appears it's just packaged [https://github.com/python/cpython/blob/master/Tools/scripts/reindent.py reindent.py] from the Python Core.
    22
    33Instead, we could use pypi:autopep8. This is also a good opportunity to configure some PEP8 rules that can be checked (with pypi:pycodestyle or similar) and fixed with autopep8. Then, the tools can be used when creating patches to ensure proper formatting. It looks like we'll have to exclude some of the indentation rules (E12x) to maintain some of our (informal) coding practices. I'll post some examples later.