python-flake8-pyi

Edit Package python-flake8-pyi
No description set
Refresh
Refresh
Source Files
Filename Size Changed
flake8-pyi-22.11.0.tar.gz 0000041386 40.4 KB
python-flake8-pyi.changes 0000010512 10.3 KB
python-flake8-pyi.spec 0000002383 2.33 KB
Revision 8 (latest revision is 17)
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1040556 from Matej Cepl's avatar Matej Cepl (mcepl) (revision 8)
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.
Comments 0
openSUSE Build Service is sponsored by