Closed JoelNiemela closed 7 months ago
I would personally ignore the CodeFactor errors here, so I'll leave it as-is unless anyone else has a contrary opinion.
I would personally ignore the CodeFactor errors here, so I'll leave it as-is unless anyone else has a contrary opinion.
Instead of ignoring the warning that the code is breaking the currently defined rules, either fix it to follow the rules or suggest how the rules should be redefined.
I've had people disagree with me about this specific thing recently, so I think my opinion is more "controversial" than I thought, so I'll just change it to fix the CodeFactor errors.
Adds type annotations to
problem2html.py
,problem2pdf.py
, andverifyproblem.py
. Also modifies those files slightly, but the vast majority of changes are type annotations.