Uploaded image for project: 'Nuxeo Drive '
  1. Nuxeo Drive
  2. NXDRIVE-1240

Use black for a big code clean-up

    XMLWordPrintable

    Details

    • Type: Clean up
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1.1
    • Fix Version/s: 4.0.0
    • Component/s: Framework
    • Tags:
    • Sprint:
      nxDrive 10.2.8
    • Story Points:
      1

      Description

      Black (https://github.com/ambv/black) is the uncompromising Python code formatter, a newcomer that has been adopted by big projects like requests and pytest.

      The particularity of this tool is to format the code without breaking anything: it will check the compiled bytecode to ensure no behavior changes.

      The goal is to launch the tool one time on the entire code base and check if a GitHub hook can be used to auto-format pull requests.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 10 minutes
                  10m