Reformat ufo_sources.py to match indent of 2
@@ -12,6 +12,7 @@ from fontbakery.callable import FontBakeryExpectedValue as ExpectedValue
from fontbakery.checkrunner import ERROR, FAIL, PASS, WARN, Section, Spec
from fontbakery.constants import CRITICAL
+
class UFOSpec(Spec):
def setup_argparse(self, argument_parser):
@@ -144,8 +145,7 @@ def com_daltonmaag_check_recommended_fields(ufo_font):
recommended_fields.append(field)
if recommended_fields:
- yield WARN, "Recommended field(s) missing: {}".format(
- recommended_fields)
+ yield WARN, "Recommended field(s) missing: {}".format(recommended_fields)
else:
yield PASS, "Recommended fields present."
@@ -173,8 +173,7 @@ def com_daltonmaag_check_unnecessary_fields(ufo_font):
unnecessary_fields.append(field)
if unnecessary_fields:
- yield WARN, "Unnecessary field(s) present: {}".format(
- unnecessary_fields)
+ yield WARN, "Unnecessary field(s) present: {}".format(unnecessary_fields)
else:
yield PASS, "Unnecessary fields omitted."
