Output formatting code took max-digits argument as a string, and never converted it to an int, resulting in an eventual TypeError. This commit simply modifies the argument parser to automatically convert the value into an integer.
Code review checklist:
[ ] Code is generally sensical and well commented
[ ] Variable/function names all telegraph their purpose and contents
[ ] Functions/classes have useful doc strings
[ ] Function arguments are typed
[ ] Added/modified unit tests to cover changes.
[ ] New features have documentation added to the docs.
[ ] New features and backwards compatibility breaks are noted in the RELEASE.md
Output formatting code took max-digits argument as a string, and never converted it to an int, resulting in an eventual TypeError. This commit simply modifies the argument parser to automatically convert the value into an integer.
Code review checklist: