HomePhabricator

Fix lots of type errors

This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or ref.

Description

Fix lots of type errors

Mostly by hiding them. The one for pagepile.load_pagepile (declared to
only accept int, we passed strings from the request into it) was
legitimate, so declare it to accept str|int and stringify the argument.

Most of these errors are already fixed on Flask master
(pallets/flask#4109 [1]), but haven’t made it into a release yet.
Hopefully I’ll remember to remove the type: ignore comments later.

[1]: https://github.com/pallets/flask/pull/4109

Details

Provenance
LucasWerkmeisterAuthored on Jul 20 2021, 6:54 PM
Parents
R2494:4c4d5bd61ba3: Remove stray </textarea> tag
Branches
Unknown
Tags
Unknown
ChangeId
None