forked from pool/python-flake8-pyi
887533eee37cf14310b4cf143c6f3b349be1bfcaff59f8db11421ebe6b919e8b
Forwarded request #1040478 from yarunachalam - Update to version 22.11.0: * Bugfixes: Specify encoding when opening files. Prevents UnicodeDecodeError on Windows when the file contains non-CP1252 characters. Contributed by Avasam. Significant changes have been made to the Y041 check. Previously, Y041 flagged "redundant numeric unions" (e.g. float | int, complex | float or complex | int) in all contexts outside of type aliases. This was incorrect. PEP 484 only specifies that type checkers should treat int as an implicit subtype of float in the specific context of parameter annotations for functions and methods. Y041 has therefore been revised to only emit errors on "redundant numeric unions" in the context of parameter annotations. * Other changes: Support running with flake8 v6. OBS-URL: https://build.opensuse.org/request/show/1040556 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flake8-pyi?expand=0&rev=8
Description
No description provided
Languages
RPM Spec
100%