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

        Jakub Moliński made changes -
        Field Original Value New Value
        Status New [ 10000 ] Resolved [ 5 ]
        Assignee Wojciech Dubiel [ wolf480 ]
        Resolution Duplicate [ 3 ]
        Paweł Dietrich made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: