The SIO2 project
  1. The SIO2 project
  2. SIO-2397

Use automatic source code formating on the project

    Details

      Description

      For a year or two, the pylint hooks on gerrit weren't working, so a large portion of the code may not be following our code style.

      We could use an automated code formatting tool such as "black" or "darker" to reformat that code, and possibly keep code automatically formatted in the future.

      However, our project has a few peculiar conventions, such as the distinction between single and double quotes. It'd be better if we could keep them, so code formatting tools may need some special configuration for this.

      Also, if we were to do code formatting when unrelated changes are being made, care must be taken to keep the diffs readable.

        Activity

        Hide
        Jakub Moliński added a comment - - edited
        This is a duplicate of (SIO-2399) which has been resolved so this should probably be resolved or closed
        Show
        Jakub Moliński added a comment - - edited This is a duplicate of ( SIO-2399 ) which has been resolved so this should probably be resolved or closed

          People

          • Assignee:
            Wojciech Dubiel
            Reporter:
            Wojciech Dubiel
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: