Flake8-annotations

Latest version: v3.1.1

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

Scan your dependencies

Page 1 of 5

3.1.1

Changed
* 167 Add module-level support for the `--respect-type-ignore` flag

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`.

Page 1 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.