Closed
Bug 1601820
Opened 5 years ago
Closed 5 years ago
Replace flake8 with Black
Categories
(Tree Management :: Treeherder, enhancement, P2)
Tree Management
Treeherder
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: ekyle, Assigned: suyash546)
Details
Attachments
(1 file)
Satisfying the linter has already taken hours of my time. If the treeherder project is using a linter that blocks deployment on formatting-not-bugs issues, then we should switch to Black as a pre-commit hook and never mess with formatting again.
Comment 1•5 years ago
|
||
Here's a link to an example: https://github.com/mozilla/subhub/blob/develop/.pre-commit-config.yaml
Comment 2•5 years ago
|
||
Sir I have added a .pre-commit-config.yaml file. What more needs to be done there?
Reporter | ||
Comment 3•5 years ago
|
||
We can continue the conversation in the PR, where we can be specific about the code.
Reporter | ||
Comment 4•5 years ago
|
||
Comment 5•5 years ago
|
||
Comment 6•5 years ago
|
||
Thanks Suyash!
Assignee: nobody → suyash546
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Updated•3 years ago
|
Component: Treeherder: Docs & Development → TreeHerder
You need to log in
before you can comment on or make changes to this bug.
Description
•