Update dependency flake8-annotations to v3 #14

Merged
timatlee merged 1 commits from renovate/flake8-annotations-3.x into main 2024-06-11 18:43:00 -06:00
Collaborator

This PR contains the following updates:

Package Update Change
flake8-annotations major ~=2.4.1 -> ~=3.1.1

Release Notes

sco1/flake8-annotations (flake8-annotations)

v3.1.1

Compare Source

Changed
  • #​167 Add module-level support for the --respect-type-ignore flag

v3.1.0

Compare Source

Added
  • #​164 Add --respect-type-ignore to support suppression of errors for functions annotated with type: ignore

v3.0.1

Compare Source

Changed
  • #​155 Remove upper bound on Python constraint

v3.0.0

Compare Source

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

v2.9.1

Compare Source

Changed
  • #​144 Unpin the version ceiling for attrs.
Fixed

v2.9.0

Compare Source

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

v2.8.0

Compare Source

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

v2.7.0

Compare Source

Added
  • #​122 Add support for Flake8 v4.x
Fixed
  • #​117 Stop including CHANGELOG.md when building wheels.

v2.6.2

Compare Source

Fixed
  • #​107, #​108 Change incorrect column index yielded for return annotation errors.

v2.6.1

Compare Source

Changed
  • Remove the explicitly pinned minor version ceiling for flake8.

v2.6.0

Compare Source

Added
  • #​98 Add --dispatch-decorators to support suppression of all errors from functions decorated by decorators such as functools.singledispatch and functools.singledispatchmethod.
  • #​99 Add --overload-decorators to support generic aliasing of the typing.overload decorator.
Fixed
  • #​106 Fix incorrect parsing of multiline docstrings with less than two lines of content, causing incorrect line numbers for yielded errors in Python versions prior to 3.8

v2.5.0

Compare Source

Added
  • #​103 Add --allow-untyped-nested to suppress all errors from dynamically typted nested functions. A function is considered dynamically typed if it does not contain any type hints.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Update | Change | |---|---|---| | [flake8-annotations](https://github.com/sco1/flake8-annotations) | major | `~=2.4.1` -> `~=3.1.1` | --- ### Release Notes <details> <summary>sco1/flake8-annotations (flake8-annotations)</summary> ### [`v3.1.1`](https://github.com/sco1/flake8-annotations/blob/HEAD/CHANGELOG.md#v311) [Compare Source](https://github.com/sco1/flake8-annotations/compare/v3.1.0...v3.1.1) ##### Changed - [#&#8203;167](https://github.com/sco1/flake8-annotations/issues/167) Add module-level support for the `--respect-type-ignore` flag ### [`v3.1.0`](https://github.com/sco1/flake8-annotations/blob/HEAD/CHANGELOG.md#v310) [Compare Source](https://github.com/sco1/flake8-annotations/compare/v3.0.1...v3.1.0) ##### Added - [#&#8203;164](https://github.com/sco1/flake8-annotations/issues/164) Add `--respect-type-ignore` to support suppression of errors for functions annotated with `type: ignore` ### [`v3.0.1`](https://github.com/sco1/flake8-annotations/blob/HEAD/CHANGELOG.md#v301) [Compare Source](https://github.com/sco1/flake8-annotations/compare/v3.0.0...v3.0.1) ##### Changed - [#&#8203;155](https://github.com/sco1/flake8-annotations/issues/155) Remove upper bound on Python constraint ### [`v3.0.0`](https://github.com/sco1/flake8-annotations/blob/HEAD/CHANGELOG.md#v300) [Compare Source](https://github.com/sco1/flake8-annotations/compare/v2.9.1...v3.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-sig@python.org/thread/66JDHQ2I3U3CPUIYA43W7SPEJLLPUETG/ - See: https://github.com/python/mypy/issues/12947 - Remove `ANN301` ### [`v2.9.1`](https://github.com/sco1/flake8-annotations/blob/HEAD/CHANGELOG.md#v291) [Compare Source](https://github.com/sco1/flake8-annotations/compare/v2.9.0...v2.9.1) ##### Changed - [#&#8203;144](https://github.com/sco1/flake8-annotations/issues/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) ### [`v2.9.0`](https://github.com/sco1/flake8-annotations/blob/HEAD/CHANGELOG.md#v290) [Compare Source](https://github.com/sco1/flake8-annotations/compare/v2.8.0...v2.9.0) ##### Added - [#&#8203;135](https://github.com/sco1/flake8-annotations/issues/135) Add `--allow-star-arg-any` to support suppression of `ANN401` for `*args` and `**kwargs`. ### [`v2.8.0`](https://github.com/sco1/flake8-annotations/blob/HEAD/CHANGELOG.md#v280) [Compare Source](https://github.com/sco1/flake8-annotations/compare/v2.7.0...v2.8.0) ##### Added - [#&#8203;131](https://github.com/sco1/flake8-annotations/issues/131) Add the `ANN4xx` error level for opinionated warnings that are disabled by default. - [#&#8203;131](https://github.com/sco1/flake8-annotations/issues/131) Add `ANN401` for use of `typing.Any` as an argument annotation. ##### Changed - Python 3.7 is now the minimum supported version ### [`v2.7.0`](https://github.com/sco1/flake8-annotations/blob/HEAD/CHANGELOG.md#v270) [Compare Source](https://github.com/sco1/flake8-annotations/compare/v2.6.2...v2.7.0) ##### Added - [#&#8203;122](https://github.com/sco1/flake8-annotations/issues/122) Add support for Flake8 v4.x ##### Fixed - [#&#8203;117](https://github.com/sco1/flake8-annotations/issues/117) Stop including `CHANGELOG.md` when building wheels. ### [`v2.6.2`](https://github.com/sco1/flake8-annotations/blob/HEAD/CHANGELOG.md#v262) [Compare Source](https://github.com/sco1/flake8-annotations/compare/v2.6.1...v2.6.2) ##### Fixed - [#&#8203;107](https://github.com/sco1/flake8-annotations/issues/107), [#&#8203;108](https://github.com/sco1/flake8-annotations/issues/108) Change incorrect column index yielded for return annotation errors. ### [`v2.6.1`](https://github.com/sco1/flake8-annotations/blob/HEAD/CHANGELOG.md#v261) [Compare Source](https://github.com/sco1/flake8-annotations/compare/v2.6.0...v2.6.1) ##### Changed - Remove the explicitly pinned minor version ceiling for flake8. ### [`v2.6.0`](https://github.com/sco1/flake8-annotations/blob/HEAD/CHANGELOG.md#v260) [Compare Source](https://github.com/sco1/flake8-annotations/compare/v2.5.0...v2.6.0) ##### Added - [#&#8203;98](https://github.com/sco1/flake8-annotations/issues/98) Add `--dispatch-decorators` to support suppression of all errors from functions decorated by decorators such as `functools.singledispatch` and `functools.singledispatchmethod`. - [#&#8203;99](https://github.com/sco1/flake8-annotations/issues/99) Add `--overload-decorators` to support generic aliasing of the `typing.overload` decorator. ##### Fixed - [#&#8203;106](https://github.com/sco1/flake8-annotations/issues/106) Fix incorrect parsing of multiline docstrings with less than two lines of content, causing incorrect line numbers for yielded errors in Python versions prior to 3.8 ### [`v2.5.0`](https://github.com/sco1/flake8-annotations/blob/HEAD/CHANGELOG.md#v250) [Compare Source](https://github.com/sco1/flake8-annotations/compare/2.4.1...v2.5.0) ##### Added - [#&#8203;103](https://github.com/sco1/flake8-annotations/issues/103) Add `--allow-untyped-nested` to suppress all errors from dynamically typted nested functions. A function is considered dynamically typed if it does not contain any type hints. </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MDIuMCIsInVwZGF0ZWRJblZlciI6IjM3LjQwMi4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
renovate-bot added 1 commit 2024-06-11 08:41:24 -06:00
renovate-bot force-pushed renovate/flake8-annotations-3.x from 08589b5074 to ffc7708cd3 2024-06-11 18:42:08 -06:00 Compare
timatlee merged commit e8d9c43b33 into main 2024-06-11 18:43:00 -06:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: timatlee/cloudflare-ddns-docker-updated#14
No description provided.