Describe the bug
Static type checkers will complain about the console.save_html(path: str, ... if you supply a pathlib.Path or other type allowed by the open builtin
Here is this specific example, but the other save_ functions have this typing defect as well
It would be preferable to match the typeshed parameter for open.
Platform
N/A, this is static code checking.
Describe the bug
Static type checkers will complain about the
console.save_html(path: str, ...if you supply apathlib.Pathor other type allowed by theopenbuiltinHere is this specific example, but the other
save_functions have this typing defect as wellrich/rich/console.py
Line 2293 in 9c9b011
It would be preferable to match the typeshed parameter for
open.Platform
N/A, this is static code checking.