Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Support
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
D
Django LDP
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 20
    • Issues 20
    • List
    • Boards
    • Labels
    • Milestones
  • Merge Requests 5
    • Merge Requests 5
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Packages
    • Packages
    • Container Registry
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Startin blox
  • djangoldp-packages
  • Django LDP
  • Issues
  • #193

Closed
Open
Opened Nov 13, 2019 by Christophe Henry@christophehenry
  • Report abuse
Report abuse

Use Black formatter for Python code

(I didn't know where to open this issue since it is valid for every Python project)

Black, like gofmt for Go language is an uncompromising formatter for Python. There is almost no configuration. This would make Python file formatting consistant throughout all the Python project and would minimise the diff noise generated by a bad formatting command inside the IDE.

Before you say "I don't like this or that", yes, the formatter makes choices I also don't like. But this prevents endless debates about formatting. So it pleases to nobody but everybody is on the same boat.

What you say?

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
0
Labels
None
Assign labels
  • View project labels
Reference: startinblox/djangoldp-packages/djangoldp#193