You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Michal Walenia (Jira)" <ji...@apache.org> on 2020/01/23 08:44:00 UTC

[jira] [Updated] (BEAM-9175) Introduce an autoformatting tool to Python SDK

     [ https://issues.apache.org/jira/browse/BEAM-9175?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michal Walenia updated BEAM-9175:
---------------------------------
    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

 

> Introduce an autoformatting tool to Python SDK
> ----------------------------------------------
>
>                 Key: BEAM-9175
>                 URL: https://issues.apache.org/jira/browse/BEAM-9175
>             Project: Beam
>          Issue Type: Improvement
>          Components: sdk-py-core, sdk-py-harness
>            Reporter: Michal Walenia
>            Priority: Major
>
> 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
>  



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