There should be a way to easily create an anonymized PDF so that others can review it. Some refactoring is necessary here:
Implement a base template class that all templates inherit from.
Change the docs so that all inherited classes must call super().parse_xxx() first.
Update the current templates
Implement a --anon flag. This will simply set an __ANONYMOUS__ variable in each Python file.
Implement the base template class functions so that they check for this. Because the IMPORT command passes all variables to the class, the classes can check for the existence of this variable and act accordingly.
There should be a way to easily create an anonymized PDF so that others can review it. Some refactoring is necessary here:
super().parse_xxx()
first.--anon
flag. This will simply set an__ANONYMOUS__
variable in each Python file.IMPORT
command passes all variables to the class, the classes can check for the existence of this variable and act accordingly.