-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Labels
FrameworkInvenio FrameworkInvenio FrameworkProposal: AcceptedAccepted proposal for new RFCAccepted proposal for new RFC
Description
Motivation
As a developer I want to avoid making formatting changes that might modify the history based on my local configuration/preference on coding.
Therefore, the aim is to align all python modules with a common formatting/code styling. In order to achieve said goal, Black is the proposed formatter.
Summary
To use Black as Python formatter it would need to be added to the test suite in the run-tests.sh
, and the corresponding changes would need to be applied to isort
, pep8
checks.
In addition, guidelines on how to auto-format using black should be provided for the main IDEs (VS Code, PyCharm).
Resources
On-going RFC writing here: https://codimd.web.cern.ch/b9Ok5Jt2Q6OSRI31wNI6Tg
diegodelemos, jirikuncar and slintdiegodelemos
Metadata
Metadata
Assignees
Labels
FrameworkInvenio FrameworkInvenio FrameworkProposal: AcceptedAccepted proposal for new RFCAccepted proposal for new RFC