diff --git a/flake8-pyi-22.10.0.tar.gz b/flake8-pyi-22.10.0.tar.gz deleted file mode 100644 index ce26e53..0000000 --- a/flake8-pyi-22.10.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9dff4e126b2657c0b1e1c8c781199310e56fdc38f51669112849a557de3be543 -size 41006 diff --git a/flake8-pyi-22.11.0.tar.gz b/flake8-pyi-22.11.0.tar.gz new file mode 100644 index 0000000..bf478cb --- /dev/null +++ b/flake8-pyi-22.11.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ded2e4d947f0605abe9095ae3d38b01b7880b112bc3da0b4f888cd4a717c7acd +size 41386 diff --git a/python-flake8-pyi.changes b/python-flake8-pyi.changes index c319629..e97edfe 100644 --- a/python-flake8-pyi.changes +++ b/python-flake8-pyi.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Tue Dec 6 03:30:37 UTC 2022 - Yogalakshmi Arunachalam + +- 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. + ------------------------------------------------------------------- Fri Nov 4 15:45:00 UTC 2022 - Daniel Garcia diff --git a/python-flake8-pyi.spec b/python-flake8-pyi.spec index 99f4de7..56c6cd4 100644 --- a/python-flake8-pyi.spec +++ b/python-flake8-pyi.spec @@ -18,7 +18,7 @@ %define skip_python2 1 Name: python-flake8-pyi -Version: 22.10.0 +Version: 22.11.0 Release: 0 Summary: A plugin for flake8 to enable linting .pyi files License: MIT