python-flake8-pyi

Edit Package python-flake8-pyi
No description set
Refresh
Refresh
Source Files
Filename Size Changed
flake8_pyi-23.6.0.tar.gz 0000051066 49.9 KB
python-flake8-pyi.changes 0000014877 14.5 KB
python-flake8-pyi.spec 0000002705 2.64 KB
set-tests-python-path.patch 0000001214 1.19 KB
Revision 19 (latest revision is 32)
Markéta Machová's avatar Markéta Machová (mcalabkova) accepted request 1105894 from Markéta Machová's avatar Markéta Machová (mcalabkova) (revision 19)
- Update to 23.6.0
  * Y011/Y014/Y015: Allow math constants math.inf, math.nan, math.e, 
    math.pi, math.tau, and their negatives in default values. Some 
    other semantically equivalent values, such as x = inf (from math 
    import inf), or x = np.inf (import numpy as np), should be rewritten 
    to x = math.inf.
  * Y053: Disallow string or bytes literals with length >50 characters. 
    Previously this rule only applied to parameter default values; 
    it now applies everywhere.
  * Y054: Disallow numeric literals with a string representation >10 
    characters long. Previously this rule only applied to parameter 
    default values; it now applies everywhere.
  * Y055: Unions of the form type[X] | type[Y] can be simplified to type[X | Y].
  * The way in which flake8-pyi modifies pyflakes runs has been improved.
  * Introduce Y056: Various type checkers have different levels of support 
    for method calls on __all__. Use __all__ += ["foo", "bar"] instead, 
    as this is known to be supported by all major type checkers.
  * Support Python 3.12
  * Support PEP 695 syntax for declaring type aliases
  * Introduce Y057: Do not use typing.ByteString or collections.abc.ByteString.
  * flake8-pyi no longer supports being run on Python 3.7.
  * flake8-pyi no longer supports being run with flake8 <v6.
Comments 0
openSUSE Build Service is sponsored by