ImperialCollegeLondon / safedata_validator

Python tools to validate and publish datasets using the safedata metadata format.
https://safedata-validator.readthedocs.io/
MIT License
2 stars 4 forks source link

Fix indentation in `report` methods for `BaseField` subclasses #91

Closed davidorme closed 9 months ago

davidorme commented 9 months ago

The subclasses of BaseField can define their own report methods that start with super.report(). That super method contains FORMATTER.push() and FORMATTER.pop to indent the report below the Checking field name line. The implemented extended XYZField.report definitions do not also indent their field specific reporting.