Page MenuHomeDevCentral

Update Black style
AbandonedPublic

Authored by dereckson on Mar 24 2026, 12:48.
Tags
None
Referenced Files
F39747630: D4028.id.diff
Wed, Jul 29, 09:45
Unknown Object (File)
Sun, Jul 26, 23:03
Unknown Object (File)
Mon, Jul 20, 13:45
Unknown Object (File)
Mon, Jul 20, 13:36
Unknown Object (File)
Mon, Jul 20, 00:40
Unknown Object (File)
Tue, Jul 14, 22:20
Unknown Object (File)
Sun, Jul 12, 01:45
Unknown Object (File)
Sun, Jul 5, 12:34
Subscribers
None

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.