[REDMINE1D-238] [RM-8169] [Linter][Python] black is not adapted to setup.py -> choice of a new code formatter Created: 06/Jul/23  Updated: 08/Jul/23  Resolved: 08/Jul/23

Status: Done
Project: 1D Redmine
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Normal
Reporter: Redmine-Jira Migtation Assignee: Redmine-Jira Migtation
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Created on 2023-07-05 15:36:20 by Fanny Dufresne. % Done: 0

Black imposes to use a pyproject.toml file which is not compatible with setup.py configuration.
What python code formatter can we choose ?
An idea would be autopep8

Linked to https://projets.lam.fr/issues/8040



 Comments   
Comment by Redmine-Jira Migtation [ 08/Jul/23 ]

Comment by Didier Vibert on 2023-07-05 15:54:21:
what about doing it the other way round: moving the setup.py to the more modern pyproject.toml, and then, once done, use black linter ?

Generated at Sat Feb 10 15:30:42 JST 2024 using Jira 8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b.