Closed Bug 1601820 Opened 5 years ago Closed 5 years ago

Replace flake8 with Black

Categories

(Tree Management :: Treeherder, enhancement, P2)

enhancement

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.

https://github.com/psf/black

Sir I have added a .pre-commit-config.yaml file. What more needs to be done there?

We can continue the conversation in the PR, where we can be specific about the code.

Thanks Suyash!

Assignee: nobody → suyash546
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Component: Treeherder: Docs & Development → TreeHerder
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: