You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Ismaël Mejía (Jira)" <ji...@apache.org> on 2021/05/25 07:38:00 UTC

[jira] [Commented] (AVRO-3148) Use black for Python style/formatting

    [ https://issues.apache.org/jira/browse/AVRO-3148?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17350877#comment-17350877 ] 

Ismaël Mejía commented on AVRO-3148:
------------------------------------

+1 and +1 for the check and PR rejection if style not good.

> Use black for Python style/formatting
> -------------------------------------
>
>                 Key: AVRO-3148
>                 URL: https://issues.apache.org/jira/browse/AVRO-3148
>             Project: Apache Avro
>          Issue Type: Improvement
>          Components: build, python
>    Affects Versions: 1.10.2
>            Reporter: Michael A. Smith
>            Priority: Major
>
> 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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)