Page MenuHomeDevCentral

Update Black style
ClosedPublic

Authored by dereckson on Sun, Jun 7, 10:19.

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.Sun, Jun 7, 10:22
This revision was landed with ongoing or failed builds.Sun, Jun 7, 10:22
This revision was automatically updated to reflect the committed changes.