Flake8-annotations

Latest version: v3.1.0

Safety actively analyzes 628969 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 5

3.1.0

Added
* 164 Add `--respect-type-ignore` to support suppression of errors for functions annotated with `type: ignore`

3.0.1

Changed
* 155 Remove upper bound on Python constraint

3.0.0

Added
* Add `ANN402` for the presence of type comments
Changed
* Python 3.8.1 is now the minimum supported version
* Flake8 v5.0 is now the minimum supported version

Removed
* Remove support for [PEP 484-style](https://www.python.org/dev/peps/pep-0484/#type-comments) type comments
* See: https://mail.python.org/archives/list/typing-sigpython.org/thread/66JDHQ2I3U3CPUIYA43W7SPEJLLPUETG/
* See: https://github.com/python/mypy/issues/12947
* Remove `ANN301`

2.9.1

Changed
* 144 Unpin the version ceiling for `attrs`.

Fixed
* (Internal) Fix unit tests for opinionated warning codes in `flake8 >= 5.0` (See: https://github.com/pycqa/flake8/issues/284)

2.9.0

Added
* 135 Add `--allow-star-arg-any` to support suppression of `ANN401` for `*args` and `**kwargs`.

2.8.0

Added
* 131 Add the `ANN4xx` error level for opinionated warnings that are disabled by default.
* 131 Add `ANN401` for use of `typing.Any` as an argument annotation.

Changed
* Python 3.7 is now the minimum supported version

Page 1 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.