Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-9175

Introduce an autoformatting tool to Python SDK

Details

    • Improvement
    • Status: Resolved
    • P2
    • Resolution: Fixed
    • None
    • 2.20.0
    • sdk-py-core, sdk-py-harness
    • None

    Description

      It seems there are three main options:

      • black - very simple, but not configurable at all (except for line length), would drastically change code style
      • yapf - more options to tweak, can omit parts of code
      • autopep8 - more similar to spotless - only touches code that breaks formatting guidelines, can use pycodestyle and flake8 as configuration

       The rigidity of Black makes it unusable for Beam.

      Attachments

        Issue Links

          Activity

            People

              kamilwu Kamil Wasilewski
              mwalenia Michał Walenia
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

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