Page MenuHomeDevCentral

Update Black style
ClosedPublic

Authored by dereckson on Jun 7 2026, 10:19.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Jul 13, 15:20
Unknown Object (File)
Mon, Jul 13, 15:12
Unknown Object (File)
Mon, Jul 13, 15:12
Unknown Object (File)
Sat, Jul 4, 03:39
Unknown Object (File)
Sat, Jul 4, 02:20
Unknown Object (File)
Fri, Jul 3, 21:35
Unknown Object (File)
Fri, Jul 3, 20:31
Unknown Object (File)
Fri, Jul 3, 20:23
Subscribers
None

Details

Summary

Black style now enforces the number of blank line above a method or class.
As such, our symmetric choice of two blank lines between import and first
definition doesn't comply with black style anymore.

Test Plan

'{path="' + value + '"}' == "{path=\"" + value + "\"}" returns True

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dereckson created this revision.

Flake8 comments unrelated to Black.

Also:

$ find . -type f -name '*.py' | xargs black
All done! ✨ 🍰 ✨
81 files left unchanged.

As we remove lines, and only amend one, an edit to .git-blame-ignore-revs isn't useful, line around the edit points to c56da24dc in git blame.

This revision is now accepted and ready to land.Jun 7 2026, 10:22
This revision was landed with ongoing or failed builds.Jun 7 2026, 10:22
This revision was automatically updated to reflect the committed changes.