Page MenuHomeDevCentral

Update Black style
Needs ReviewPublic

Authored by dereckson on Tue, Mar 24, 12:48.
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None
Summary

Black 26 enforces the number of blank lines for imports.

The goal was to ensure one was added, but it has the side effect
to remove one line when the "import" keyword is encountered.

Nasqueron style put 2 by coherence with functions separators.

This change does two things to create a new coherent Black-compliant style:

  • Apply Black 26
  • Remove extra lines added previously to have a rhythm of 2 2 to 1 1
Test Plan

black

Event Timeline

dereckson created this revision.