Uploaded image for project: 'Apache Avro'
  1. Apache Avro
  2. AVRO-3148

Use black for Python style/formatting

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 1.10.2
    • Fix Version/s: None
    • Component/s: build, python
    • Labels:
      None

      Description

      Avro uses spotless for java, but its implementation hasn't been rolled out to other languages yet. Spotless has support for black, the python formatter, but the lang/py implementation doesn't use black yet.

      I propose to do a conversion of the python implementation to black, including

      1. Reformatting everything.
      2. Replacing pycodestyle with black in as the basic linter.
      3. Maybe enabling spotless to run the black check on Python, if it makes sense.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              kojiromike Michael A. Smith
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: