SuffolkLITLab / FormFyxer

A tool for learning about and pre-processing forms
MIT License
11 stars 1 forks source link

Suggestion: refactor `parse_form` to have a smaller responsibility #7

Closed nonprofittechy closed 2 years ago

nonprofittechy commented 2 years ago

https://github.com/SuffolkLITLab/FormFyxer/blob/f1dfa39dae81cf49bec9853d1757463ae25defcd/formfyxer/lit_explorer.py#L375

This function is doing a lot right now--would think about making it do a single task and maybe not transform the PDF in place, but return the transformed PDF?