Project

General

Profile

Feature #24536

Consider yapf or another auto-formatter for GWMS auto-formatting

Added by Marco Mambelli 5 months ago. Updated 3 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
06/15/2020
Due date:
% Done:

0%

Estimated time:
Stakeholders:
Duration:

Description

https://github.com/google/yapf/

The main alternatives seem:
  • autopep8
  • black (fixed - good and bad - fast)
  • yapf (configurable, with some widly adopted pre-setting - Google, Facebook, pep8)

Checking some comparisons I think yapf w/ google settings could yield a code that is standard and is not too expanded:
https://www.kevinpeters.net/auto-formatters-for-python
https://blog.frank-mich.com/python-code-formatters-comparison-black-autopep8-and-yapf/

But a test on the GWMS code will be needed

History

#1 Updated by Marco Mambelli 3 months ago

  • Description updated (diff)
  • Subject changed from Consider yapf for auto-formatting to Consider yapf or another auto-formatter for GWMS auto-formatting

#2 Updated by Marco Mambelli 3 months ago

  • Description updated (diff)

Also available in: Atom PDF