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
        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 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        New New Resolved Resolved
        88d 3h 53m 1 Jakub Moliński 2021-03-14 16:16
        Resolved Resolved Closed Closed
        250d 1h 34m 1 Paweł Dietrich 2021-11-19 17:50

          People

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

            Dates

            • Created:
              Updated:
              Resolved: