Repository navigation
Exempt base-dictated Any positions in @override methods from explicit-any - #4798
nitishagar wants to merge 2 commits into
Conversation
c4b5a37 to
6010136
Compare
|
Rebased onto current main. Note for reviewers: upstream 5e6ecb2 ("Report an explicit |
|
This pull request has been imported. If you are a Meta employee, you can view this in D118627340. (Because this pull request was imported automatically, there will not be any future comments.) |
This comment has been minimized.
This comment has been minimized.
…-any A method decorated with @typing.override cannot narrow or drop an `Any` that the base signature already declares — repeating it is required to keep the override compatible — yet explicit-any fired on exactly those annotations, pointing at code that cannot be changed (issue meta#4548; ruff reached the same conclusion for ANN401). The override context is known at binding time (where the name-only is_override check already exists), so the method's annotations now carry the method name when they belong to an @OverRide method. The solver, which can resolve the base signature, consumes it: parameter and return annotations report explicit-any from solve_annotation instead of expr_untype, exempting a position only when both the annotation is exactly Any and the corresponding base position (param by name, *args, **kwargs, or return — unwrapping Coroutine for async bases, considering every overload) is explicitly annotated Any. Everything else still reports: undictated positions, missing @OverRide, missing base member, unannotated base positions, and nested Any like list[Any]. Fixes meta#4548
6010136 to
bbb0940
Compare
Upstream changes grew BindingClass by one word since the branch was authored, so the rebase needs the layout assertion bumped to match.
|
Diff from mypy_primer, showing the effect of this PR on open source code: ============================================================
SUMMARY
============================================================
Total: +0 new errors, -3704 fixed errors
By preset: +0/-0 (default), +0/-0 (strict)
Projects with changes (7):
django-stubs: +0 -404
pwndbg: +0 -2
schemathesis: +0 -11
zulip: +0 -211
core: +0 -2959
xarray: +0 -50
django-modern-rest: +0 -67
============================================================
FULL DIFF DETAILS
------------------------------------------------------------
django-stubs (https://github.com/typeddjango/django-stubs)
- ERROR django-stubs/conf/__init__.pyi:23:41-44: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/conf/__init__.pyi:43:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/admin/widgets.pyi:53:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/admin/widgets.pyi:73:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/admin/widgets.pyi:87:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/admin/widgets.pyi:91:46-49: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/admin/widgets.pyi:93:35-38: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/admin/widgets.pyi:97:10-13: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/admin/widgets.pyi:127:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/admin/widgets.pyi:131:10-13: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/admin/widgets.pyi:152:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/auth/admin.pyi:15:97-100: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/auth/admin.pyi:25:76-79: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/auth/backends.pyi:28:110-113: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/auth/backends.pyi:32:110-113: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/auth/forms.pyi:23:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/auth/views.pyi:37:53-56: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/auth/views.pyi:37:68-71: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/contenttypes/fields.pyi:40:46-49: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/contenttypes/fields.pyi:44:47-50: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/contenttypes/fields.pyi:48:33-36: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/contenttypes/fields.pyi:48:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/contenttypes/fields.pyi:61:31-34: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/contenttypes/fields.pyi:120:74-77: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/contenttypes/management/commands/remove_stale_contenttypes.pyi:8:33-36: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/backends/mysql/operations.pyi:36:30-33: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/backends/mysql/operations.pyi:36:38-41: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/backends/mysql/operations.pyi:38:31-34: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/backends/mysql/operations.pyi:38:43-46: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/backends/mysql/operations.pyi:38:61-64: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/backends/mysql/operations.pyi:40:50-53: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/backends/oracle/operations.pyi:37:36-39: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/backends/oracle/operations.pyi:37:44-47: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/backends/oracle/operations.pyi:41:30-33: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/backends/oracle/operations.pyi:41:38-41: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/backends/oracle/operations.pyi:43:31-34: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/backends/oracle/operations.pyi:43:43-46: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/backends/oracle/operations.pyi:43:61-64: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/backends/oracle/operations.pyi:43:69-72: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/backends/oracle/operations.pyi:45:43-46: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/backends/oracle/operations.pyi:45:55-58: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/backends/oracle/operations.pyi:45:70-73: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/backends/oracle/operations.pyi:47:48-51: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/backends/oracle/operations.pyi:47:56-59: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/backends/oracle/operations.pyi:49:35-38: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/backends/oracle/operations.pyi:51:34-37: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/backends/oracle/operations.pyi:53:62-65: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/backends/oracle/operations.pyi:53:70-73: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/backends/oracle/operations.pyi:55:50-53: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/backends/oracle/operations.pyi:55:58-61: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/backends/oracle/operations.pyi:57:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/backends/oracle/operations.pyi:57:53-56: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/backends/postgis/operations.pyi:57:35-38: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/backends/postgis/operations.pyi:61:30-33: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/backends/postgis/operations.pyi:61:38-41: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/backends/postgis/operations.pyi:63:31-34: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/backends/postgis/operations.pyi:63:64-67: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/backends/postgis/operations.pyi:63:72-75: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/backends/postgis/operations.pyi:65:43-46: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/backends/postgis/operations.pyi:65:55-58: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/backends/postgis/operations.pyi:65:70-73: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/backends/postgis/operations.pyi:74:48-51: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/backends/postgis/operations.pyi:74:56-59: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/backends/postgis/operations.pyi:76:35-38: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/backends/postgis/operations.pyi:78:34-37: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/backends/postgis/operations.pyi:83:50-53: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/backends/postgis/operations.pyi:83:58-61: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/backends/postgis/operations.pyi:85:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/backends/postgis/operations.pyi:85:53-56: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/backends/spatialite/base.pyi:22:47-50: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/backends/spatialite/base.pyi:22:55-58: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/backends/spatialite/operations.pyi:31:35-38: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/backends/spatialite/operations.pyi:33:30-33: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/backends/spatialite/operations.pyi:35:31-34: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/backends/spatialite/operations.pyi:35:43-46: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/backends/spatialite/operations.pyi:35:61-64: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/backends/spatialite/operations.pyi:35:69-72: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/backends/spatialite/operations.pyi:44:48-51: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/backends/spatialite/operations.pyi:44:56-59: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/backends/spatialite/operations.pyi:46:35-38: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/backends/spatialite/operations.pyi:48:34-37: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/backends/spatialite/operations.pyi:50:50-53: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/backends/spatialite/operations.pyi:50:58-61: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/models/aggregates.pyi:14:117-120: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/models/fields.pyi:66:40-43: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/models/fields.pyi:66:92-95: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/models/fields.pyi:69:37-40: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/models/fields.pyi:69:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/models/fields.pyi:113:19-22: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/models/fields.pyi:178:35-38: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/models/fields.pyi:178:43-46: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/models/functions.pyi:58:88-91: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/models/functions.pyi:61:98-101: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/models/functions.pyi:100:98-101: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/models/functions.pyi:126:98-101: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/models/functions.pyi:170:98-101: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/models/functions.pyi:177:88-91: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/models/functions.pyi:183:98-101: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/models/functions.pyi:215:98-101: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/models/functions.pyi:241:98-101: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/models/lookups.pyi:97:37-40: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/models/lookups.pyi:97:54-57: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/models/lookups.pyi:97:62-65: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/models/lookups.pyi:116:42-45: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/models/lookups.pyi:116:59-62: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/models/lookups.pyi:116:67-70: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/models/lookups.pyi:118:37-40: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/models/lookups.pyi:118:54-57: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/models/lookups.pyi:118:62-65: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/models/proxy.pyi:9:64-67: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/models/sql/conversion.pyi:17:37-40: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/models/sql/conversion.pyi:17:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/models/sql/conversion.pyi:19:40-43: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/models/sql/conversion.pyi:19:87-90: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/models/sql/conversion.pyi:29:37-40: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/models/sql/conversion.pyi:29:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/models/sql/conversion.pyi:31:40-43: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/models/sql/conversion.pyi:31:87-90: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/forms/fields.pyi:22:28-31: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/forms/fields.pyi:22:36-39: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/forms/widgets.pyi:22:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/forms/widgets.pyi:34:32-35: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/forms/widgets.pyi:34:40-43: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/forms/widgets.pyi:36:34-37: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/forms/widgets.pyi:36:42-45: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/gdal/field.pyi:31:24-27: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/gdal/field.pyi:39:24-27: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/gdal/field.pyi:48:24-27: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/gdal/field.pyi:53:24-27: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/gdal/field.pyi:58:24-27: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/management/commands/inspectdb.pyi:10:70-73: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/management/commands/ogrinspect.pyi:32:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/management/commands/ogrinspect.pyi:32:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/serializers/geojson.pyi:13:33-36: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/serializers/geojson.pyi:17:33-36: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/serializers/geojson.pyi:17:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/messages/storage/cookie.pyi:16:36-39: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/messages/storage/cookie.pyi:21:48-51: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/postgres/aggregates/general.pyi:36:50-53: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/postgres/aggregates/general.pyi:41:50-53: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/postgres/aggregates/general.pyi:48:50-53: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/postgres/fields/array.pyi:47:31-34: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/postgres/fields/ranges.pyi:38:37-40: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/postgres/fields/ranges.pyi:40:32-35: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/postgres/fields/ranges.pyi:40:40-43: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/postgres/forms/array.pyi:29:28-31: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/postgres/forms/array.pyi:31:36-39: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/postgres/forms/array.pyi:31:44-47: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/postgres/forms/array.pyi:50:79-82: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/postgres/forms/array.pyi:56:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/postgres/forms/array.pyi:72:28-31: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/postgres/forms/hstore.pyi:12:36-39: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/postgres/forms/hstore.pyi:12:44-47: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/postgres/forms/ranges.pyi:12:33-36: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/postgres/forms/ranges.pyi:24:36-39: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/postgres/forms/ranges.pyi:24:44-47: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/postgres/indexes.pyi:19:103-106: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/sessions/backends/base.pyi:29:38-41: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/sessions/backends/base.pyi:29:46-49: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/sessions/backends/base.pyi:36:32-35: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/sessions/backends/base.pyi:39:38-41: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/sessions/backends/base.pyi:39:46-49: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/sessions/backends/base.pyi:45:51-54: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/sessions/management/commands/clearsessions.pyi:8:33-36: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/staticfiles/management/commands/collectstatic.pyi:27:33-36: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/staticfiles/management/commands/findstatic.pyi:8:50-53: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/staticfiles/storage.pyi:58:50-53: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/core/management/base.pyi:94:51-54: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/core/management/base.pyi:103:47-50: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/core/management/commands/check.pyi:8:57-60: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/core/management/commands/compilemessages.pyi:17:33-36: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/core/management/commands/createcachetable.pyi:9:57-60: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/core/management/commands/dbshell.pyi:8:33-36: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/core/management/commands/diffsettings.pyi:11:33-36: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/core/management/commands/flush.pyi:11:33-36: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/core/management/commands/inspectdb.pyi:12:33-36: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/core/management/commands/sendtestemail.pyi:9:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/core/management/commands/sendtestemail.pyi:9:70-73: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/core/management/commands/shell.pyi:10:33-36: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/core/management/commands/sqlflush.pyi:10:33-36: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/core/management/commands/sqlmigrate.pyi:9:30-33: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/core/management/commands/sqlmigrate.pyi:9:46-49: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/core/management/commands/squashmigrations.pyi:13:33-36: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/core/management/commands/startapp.pyi:10:33-36: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/core/management/commands/startproject.pyi:10:33-36: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/core/management/templates.pyi:18:91-94: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/core/serializers/pyyaml.pyi:17:33-36: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/core/serializers/xml_serializer.pyi:15:33-36: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/core/serializers/xml_serializer.pyi:17:31-34: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/core/serializers/xml_serializer.pyi:19:33-36: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/core/serializers/xml_serializer.pyi:19:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/core/serializers/xml_serializer.pyi:21:36-39: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/core/serializers/xml_serializer.pyi:21:48-51: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/core/serializers/xml_serializer.pyi:23:37-40: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/core/serializers/xml_serializer.pyi:23:49-52: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/core/servers/basehttp.pyi:19:58-61: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/core/servers/basehttp.pyi:40:47-50: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/core/validators.pyi:46:31-34: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/core/validators.pyi:62:31-34: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/db/backends/ddl_references.pyi:24:39-42: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/db/backends/ddl_references.pyi:24:51-54: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/db/backends/ddl_references.pyi:96:39-42: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/db/backends/ddl_references.pyi:96:51-54: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/db/backends/mysql/base.pyi:55:47-50: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/db/backends/mysql/base.pyi:55:55-58: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/db/backends/mysql/operations.pyi:18:68-71: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/db/backends/mysql/operations.pyi:20:66-69: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/db/backends/mysql/operations.pyi:22:56-59: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/db/backends/mysql/operations.pyi:24:56-59: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/db/backends/mysql/operations.pyi:26:72-75: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/db/backends/mysql/operations.pyi:28:70-73: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/db/backends/mysql/operations.pyi:30:66-69: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/db/backends/mysql/operations.pyi:36:43-46: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/db/backends/mysql/operations.pyi:36:53-56: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/db/backends/mysql/operations.pyi:36:66-69: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/db/backends/mysql/operations.pyi:61:49-52: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/db/backends/mysql/operations.pyi:61:59-62: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/db/backends/mysql/operations.pyi:61:69-72: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/db/backends/mysql/operations.pyi:63:74-77: Explicit `Any` is not allowed [explicit-any]
... (truncated 185 lines) ...
pwndbg (https://github.com/pwndbg/pwndbg)
- ERROR pwndbg/dbg_mod/gdb/__init__.py:2155:31-34: Explicit `Any` is not allowed [explicit-any]
- ERROR pwndbg/dbg_mod/lldb/__init__.py:2621:31-34: Explicit `Any` is not allowed [explicit-any]
schemathesis (https://github.com/schemathesis/schemathesis)
- ERROR src/schemathesis/specs/graphql/schemas.py:353:15-18: Explicit `Any` is not allowed [explicit-any]
- ERROR src/schemathesis/specs/graphql/schemas.py:374:91-94: Explicit `Any` is not allowed [explicit-any]
- ERROR src/schemathesis/specs/grpc/schemas.py:479:15-18: Explicit `Any` is not allowed [explicit-any]
- ERROR src/schemathesis/specs/openapi/schemas.py:669:91-94: Explicit `Any` is not allowed [explicit-any]
- ERROR src/schemathesis/specs/openapi/schemas.py:719:15-18: Explicit `Any` is not allowed [explicit-any]
- ERROR src/schemathesis/transport/asgi.py:19:86-89: Explicit `Any` is not allowed [explicit-any]
- ERROR src/schemathesis/transport/grpc.py:80:19-22: Explicit `Any` is not allowed [explicit-any]
- ERROR src/schemathesis/transport/requests.py:127:52-55: Explicit `Any` is not allowed [explicit-any]
- ERROR src/schemathesis/transport/requests.py:217:86-89: Explicit `Any` is not allowed [explicit-any]
- ERROR src/schemathesis/transport/wsgi.py:74:52-55: Explicit `Any` is not allowed [explicit-any]
- ERROR src/schemathesis/transport/wsgi.py:126:19-22: Explicit `Any` is not allowed [explicit-any]
zulip (https://github.com/zulip/zulip)
- ERROR analytics/management/commands/check_analytics_state.py:35:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR analytics/management/commands/check_analytics_state.py:35:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR analytics/management/commands/clear_analytics_tables.py:19:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR analytics/management/commands/clear_analytics_tables.py:19:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR analytics/management/commands/clear_single_stat.py:20:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR analytics/management/commands/clear_single_stat.py:20:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR analytics/management/commands/populate_analytics_db.py:66:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR analytics/management/commands/populate_analytics_db.py:66:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR analytics/management/commands/update_analytics_counts.py:43:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR analytics/management/commands/update_analytics_counts.py:43:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR corporate/management/commands/initialize_fixed_price_plan.py:48:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR corporate/management/commands/initialize_fixed_price_plan.py:48:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR corporate/management/commands/link_customer_to_stripe_id.py:27:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR corporate/management/commands/link_customer_to_stripe_id.py:27:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/lib/captcha.py:27:16-19: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/lib/management.py:115:72-75: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/lib/management.py:127:30-33: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/lib/management.py:127:46-49: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/lib/test_classes.py:305:34-37: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/lib/test_classes.py:305:47-50: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/lib/test_classes.py:305:57-60: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/lib/test_runner.py:299:60-63: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/lib/test_runner.py:322:63-66: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/lib/test_runner.py:376:19-22: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/add_users_to_streams.py:24:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/add_users_to_streams.py:24:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/archive_messages.py:16:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/audit_fts_indexes.py:11:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/backup.py:24:72-75: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/backup.py:36:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/backup.py:36:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/bulk_change_user_name.py:24:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/change_auth_backends.py:33:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/change_password.py:37:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/change_password.py:37:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/change_realm_subdomain.py:32:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/change_realm_subdomain.py:32:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/change_user_email.py:20:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/change_user_role.py:54:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/change_user_role.py:54:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/check_redis.py:54:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/check_redis.py:54:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/compilemessages.py:30:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/convert_mattermost_data.py:58:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/convert_mattermost_data.py:58:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/convert_microsoft_teams_data.py:45:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/convert_microsoft_teams_data.py:45:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/convert_rocketchat_data.py:29:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/convert_rocketchat_data.py:29:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/convert_slack_data.py:49:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/convert_slack_data.py:49:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/create_default_stream_groups.py:41:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/create_default_stream_groups.py:41:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/create_realm.py:50:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/create_realm.py:50:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/create_realm_internal_bots.py:18:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/create_realm_internal_bots.py:18:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/create_stream.py:22:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/create_user.py:33:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/create_user.py:33:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/deactivate_realm.py:32:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/deactivate_realm.py:32:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/deactivate_user.py:28:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/deactivate_user.py:28:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/delete_external_auth_ids.py:41:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/delete_external_auth_ids.py:41:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/delete_old_unclaimed_attachments.py:50:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/delete_old_unclaimed_attachments.py:50:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/delete_realm.py:22:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/delete_user.py:54:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/delete_user.py:54:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/deliver_scheduled_emails.py:37:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/deliver_scheduled_emails.py:37:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/deliver_scheduled_messages.py:23:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/deliver_scheduled_messages.py:23:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/edit_linkifiers.py:45:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/email_mirror.py:87:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/email_server.py:56:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/email_server.py:56:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/enqueue_digest_emails.py:25:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/enqueue_digest_emails.py:25:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/enqueue_file.py:55:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/export.py:122:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/export.py:122:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/export_search.py:134:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/export_search.py:134:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/export_single_user.py:32:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/export_single_user.py:32:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/fetch_tor_exit_nodes.py:49:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/fetch_tor_exit_nodes.py:49:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/fill_memcached_caches.py:18:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/generate_realm_creation_link.py:22:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/generate_realm_creation_link.py:22:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/get_migration_status.py:31:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/get_migration_status.py:31:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/import.py:65:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/import.py:65:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/list_realms.py:26:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/list_realms.py:26:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/logout_all_users.py:40:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/logout_all_users.py:40:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/makemessages.py:135:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/makemessages.py:135:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/merge_streams.py:23:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/process_queue.py:57:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/process_queue.py:57:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/promote_new_full_members.py:15:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/promote_new_full_members.py:15:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/purge_queue.py:21:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/query_ldap.py:16:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/rate_limit.py:43:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/rate_limit.py:43:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/reactivate_realm.py:18:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/realm_domain.py:31:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/register_server.py:60:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/register_server.py:60:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/remove_users_from_stream.py:24:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/remove_users_from_stream.py:24:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/reset_authentication_attempt_count.py:19:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/reset_authentication_attempt_count.py:19:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/restore_messages.py:55:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/restore_messages.py:55:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/runtornado.py:57:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/runtornado.py:57:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/runtusd.py:32:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/runtusd.py:32:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/scrub_realm.py:19:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/send_custom_email.py:113:22-25: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/send_password_reset_email.py:34:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/send_realm_reactivation_email.py:19:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/send_test_email.py:17:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/send_to_email_mirror.py:69:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/send_to_email_mirror.py:69:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/send_webhook_fixture_message.py:67:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/send_welcome_bot_message.py:23:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/send_zulip_update_announcements.py:32:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/send_zulip_update_announcements.py:32:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/set_owner_full_content_access.py:32:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/set_owner_full_content_access.py:32:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/show_admins.py:18:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/show_admins.py:18:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/soft_deactivate_users.py:61:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/soft_deactivate_users.py:61:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/sync_ldap_user_data.py:80:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/sync_ldap_user_data.py:80:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/thumbnail.py:47:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/thumbnail.py:47:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/transfer_uploads_to_s3.py:23:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/transfer_uploads_to_s3.py:23:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/unarchive_channel.py:37:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/update_channel_recently_active_status.py:21:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/update_channel_recently_active_status.py:21:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/update_subscriber_counts.py:40:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/update_subscriber_counts.py:40:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/tests/test_auth_backends.py:3087:23-26: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/tests/test_auth_backends.py:4669:18-21: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/tests/test_auth_backends.py:4670:23-26: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/tests/test_auth_backends.py:4686:23-26: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/tests/test_auth_backends.py:4852:23-26: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/tests/test_auth_backends.py:5066:19-22: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/tests/test_auth_backends.py:5082:19-22: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/tests/test_auth_backends.py:5106:23-26: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/tests/test_auth_backends.py:5759:18-21: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/tests/test_auth_backends.py:5761:23-26: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/tests/test_auth_backends.py:5809:23-26: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/tests/test_outgoing_http.py:24:19-22: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/tests/test_outgoing_http.py:43:19-22: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/tests/test_slack_message_conversion.py:19:34-37: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/tests/test_slack_message_conversion.py:19:47-50: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/views/documentation.py:91:42-45: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/views/documentation.py:184:42-45: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/views/video_calls.py:396:61-64: Explicit `Any` is not allowed [explicit-any]
- ERROR zilencer/management/commands/add_mock_conversation.py:155:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR zilencer/management/commands/calculate_first_visible_message_id.py:28:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR zilencer/management/commands/calculate_first_visible_message_id.py:28:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR zilencer/management/commands/compare_messages.py:22:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR zilencer/management/commands/compare_messages.py:22:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR zilencer/management/commands/downgrade_small_realms_behind_on_payments.py:14:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR zilencer/management/commands/downgrade_small_realms_behind_on_payments.py:14:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR zilencer/management/commands/invoice_plans.py:24:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR zilencer/management/commands/invoice_plans.py:24:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR zilencer/management/commands/manage_push_registration_encryption_keys.py:37:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR zilencer/management/commands/manage_push_registration_encryption_keys.py:37:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR zilencer/management/commands/mark_all_messages_unread.py:17:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR zilencer/management/commands/mark_all_messages_unread.py:17:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR zilencer/management/commands/populate_billing_realms.py:88:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR zilencer/management/commands/populate_billing_realms.py:88:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR zilencer/management/commands/populate_db.py:361:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR zilencer/management/commands/populate_db.py:361:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR zilencer/management/commands/print_initial_password.py:26:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR zilencer/management/commands/probe_remote_realms_for_communities_directory.py:14:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR zilencer/management/commands/probe_remote_realms_for_communities_directory.py:14:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR zilencer/management/commands/profile_request.py:51:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR zilencer/management/commands/profile_request.py:51:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR zilencer/management/commands/queue_rate.py:40:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR zilencer/management/commands/queue_rate.py:40:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR zilencer/management/commands/render_messages.py:37:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR zilencer/management/commands/render_messages.py:37:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR zilencer/management/commands/switch_realm_from_standard_to_plus_plan.py:20:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR zilencer/management/commands/switch_realm_from_standard_to_plus_plan.py:20:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR zilencer/management/commands/sync_api_key.py:17:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR zilencer/management/commands/sync_api_key.py:17:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR zproject/backends.py:3237:19-22: Explicit `Any` is not allowed [explicit-any]
- ERROR zproject/backends.py:3439:22-25: Explicit `Any` is not allowed [explicit-any]
- ERROR zproject/backends.py:3439:37-40: Explicit `Any` is not allowed [explicit-any]
- ERROR zproject/backends.py:3710:19-22: Explicit `Any` is not allowed [explicit-any]
- ERROR zproject/backends.py:3959:22-25: Explicit `Any` is not allowed [explicit-any]
- ERROR zproject/backends.py:3959:37-40: Explicit `Any` is not allowed [explicit-any]
- ERROR zproject/backends.py:4290:19-22: Explicit `Any` is not allowed [explicit-any]
- ERROR zproject/backends.py:4424:22-25: Explicit `Any` is not allowed [explicit-any]
- ERROR zproject/backends.py:4424:37-40: Explicit `Any` is not allowed [explicit-any]
core (https://github.com/home-assistant/core)
- ERROR homeassistant/auth/mfa_modules/insecure_example.py:59:64-67: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/auth/mfa_modules/insecure_example.py:59:72-75: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/auth/mfa_modules/notify.py:180:64-67: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/auth/mfa_modules/notify.py:180:72-75: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/auth/mfa_modules/totp.py:130:64-67: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/auth/providers/__init__.py:252:47-50: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/abode/cover.py:42:37-40: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/abode/cover.py:47:36-39: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/abode/light.py:47:33-36: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/abode/light.py:66:34-37: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/abode/lock.py:36:30-33: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/abode/lock.py:41:32-35: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/abode/switch.py:48:33-36: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/abode/switch.py:53:34-37: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/abode/switch.py:97:33-36: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/abode/switch.py:103:34-37: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/acmeda/cover.py:103:49-52: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/acmeda/cover.py:108:48-51: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/acmeda/cover.py:113:48-51: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/acmeda/cover.py:118:56-59: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/acmeda/cover.py:123:54-57: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/acmeda/cover.py:128:53-56: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/acmeda/cover.py:133:53-56: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/acmeda/cover.py:138:61-64: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/actron_air/climate.py:176:53-56: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/actron_air/climate.py:265:53-56: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/actron_air/switch.py:111:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/actron_air/switch.py:117:46-49: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/adax/climate.py:115:53-56: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/adax/climate.py:189:53-56: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/adguard/switch.py:110:46-49: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/adguard/switch.py:123:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/adguard/update.py:77:60-63: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/ads/cover.py:153:36-39: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/ads/cover.py:159:44-47: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/ads/cover.py:168:36-39: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/ads/cover.py:176:37-40: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/ads/light.py:161:33-36: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/ads/light.py:179:34-37: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/ads/switch.py:61:33-36: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/ads/switch.py:66:34-37: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/advantage_air/climate.py:259:53-56: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/advantage_air/climate.py:364:53-56: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/advantage_air/cover.py:82:48-51: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/advantage_air/cover.py:89:49-52: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/advantage_air/cover.py:94:56-59: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/advantage_air/cover.py:130:48-51: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/advantage_air/cover.py:135:49-52: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/advantage_air/light.py:84:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/advantage_air/light.py:89:46-49: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/advantage_air/light.py:116:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/advantage_air/light.py:143:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/advantage_air/switch.py:65:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/advantage_air/switch.py:70:46-49: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/advantage_air/switch.py:94:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/advantage_air/switch.py:99:46-49: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/advantage_air/switch.py:123:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/advantage_air/switch.py:128:46-49: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/aidot/light.py:100:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/aidot/light.py:148:46-49: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/airgradient/switch.py:135:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/airgradient/switch.py:142:46-49: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/airobot/climate.py:131:53-56: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/airobot/switch.py:95:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/airobot/switch.py:108:46-49: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/airos/update.py:87:19-22: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/airpatrol/climate.py:147:53-56: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/airtouch4/climate.py:307:53-56: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/airtouch5/climate.py:265:53-56: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/airtouch5/climate.py:377:53-56: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/airtouch5/cover.py:105:48-51: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/airtouch5/cover.py:110:49-52: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/airtouch5/cover.py:115:56-59: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/airzone/climate.py:243:53-56: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/airzone/entity.py:84:46-49: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/airzone/entity.py:135:46-49: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/airzone/entity.py:178:46-49: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/airzone/entity.py:221:46-49: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/airzone/switch.py:113:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/airzone/switch.py:119:46-49: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/airzone/water_heater.py:97:46-49: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/airzone/water_heater.py:102:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/airzone/water_heater.py:113:53-56: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/airzone_cloud/climate.py:322:53-56: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/airzone_cloud/climate.py:382:53-56: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/airzone_cloud/entity.py:84:46-49: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/airzone_cloud/entity.py:129:46-49: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/airzone_cloud/entity.py:179:46-49: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/airzone_cloud/entity.py:222:46-49: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/airzone_cloud/entity.py:277:46-49: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/airzone_cloud/entity.py:309:46-49: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/airzone_cloud/entity.py:346:46-49: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/airzone_cloud/switch.py:96:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/airzone_cloud/switch.py:107:46-49: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/airzone_cloud/water_heater.py:113:46-49: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/airzone_cloud/water_heater.py:123:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/airzone_cloud/water_heater.py:139:53-56: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/aladdin_connect/cover.py:56:48-51: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/aladdin_connect/cover.py:67:49-52: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/alexa_devices/light.py:156:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/alexa_devices/light.py:197:46-49: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/alexa_devices/media_player.py:226:19-22: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/alexa_devices/switch.py:232:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/alexa_devices/switch.py:237:46-49: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/amcrest/switch.py:73:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/amcrest/switch.py:78:46-49: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/android_ip_webcam/switch.py:153:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/android_ip_webcam/switch.py:159:46-49: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/androidtv/remote.py:38:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/androidtv/remote.py:48:46-49: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/androidtv/remote.py:58:74-77: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/androidtv_remote/media_player.py:186:69-72: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/androidtv_remote/remote.py:98:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/androidtv_remote/remote.py:115:46-49: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/androidtv_remote/remote.py:121:74-77: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/anel_pwrctrl/switch.py:90:33-36: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/anel_pwrctrl/switch.py:95:34-37: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/aosmith/water_heater.py:146:53-56: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/apache_kafka/__init__.py:79:26-29: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/apple_tv/media_player.py:381:69-72: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/apple_tv/remote.py:63:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/apple_tv/remote.py:68:46-49: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/apple_tv/remote.py:73:74-77: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/apprise/notify.py:71:57-60: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/aprilaire/climate.py:250:53-56: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/aprilaire/coordinator.py:61:56-59: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/aprilaire/humidifier.py:208:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/aprilaire/humidifier.py:219:46-49: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/apsystems/switch.py:51:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/apsystems/switch.py:56:46-49: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/aqualogic/switch.py:63:33-36: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/aqualogic/switch.py:70:34-37: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/arcam_fmj/media_player.py:197:69-72: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/arest/switch.py:129:33-36: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/arest/switch.py:141:34-37: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/arest/switch.py:177:33-36: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/arest/switch.py:189:34-37: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/atag/climate.py:88:53-56: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/atag/water_heater.py:53:53-56: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/august/lock.py:54:42-45: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/august/lock.py:59:42-45: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/august/lock.py:64:44-47: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/automation/entity.py:451:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/automation/entity.py:457:46-49: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/avea/light.py:232:33-36: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/avea/light.py:247:34-37: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/aws/notify.py:145:69-72: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/aws/notify.py:178:69-72: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/aws/notify.py:216:69-72: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/aws/notify.py:255:69-72: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/aws_s3/backup.py:121:19-22: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/aws_s3/backup.py:146:19-22: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/aws_s3/backup.py:305:19-22: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/aws_s3/backup.py:327:50-53: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/aws_s3/backup.py:337:19-22: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/axis/light.py:102:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/axis/light.py:114:46-49: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/axis/switch.py:71:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/axis/switch.py:76:46-49: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/azure_service_bus/notify.py:98:64-67: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/azure_storage/backup.py:120:19-22: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/azure_storage/backup.py:141:19-22: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/azure_storage/backup.py:167:19-22: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/azure_storage/backup.py:181:50-53: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/azure_storage/backup.py:199:19-22: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/backblaze_b2/backup.py:260:41-44: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/backblaze_b2/backup.py:294:19-22: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/backblaze_b2/backup.py:439:67-70: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/backblaze_b2/backup.py:472:50-53: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/backblaze_b2/backup.py:521:64-67: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/backup/backup.py:71:19-22: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/backup/backup.py:83:19-22: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/backup/backup.py:89:50-53: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/backup/backup.py:99:19-22: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/backup/backup.py:147:67-70: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/baf/climate.py:59:53-56: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/baf/fan.py:84:19-22: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/baf/fan.py:96:46-49: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/baf/light.py:53:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/baf/light.py:61:46-49: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/baf/light.py:95:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/baf/switch.py:131:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/baf/switch.py:136:46-49: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/balboa/climate.py:144:53-56: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/balboa/fan.py:51:46-49: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/balboa/fan.py:60:19-22: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/balboa/light.py:44:46-49: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/balboa/light.py:49:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/balboa/switch.py:42:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/balboa/switch.py:47:46-49: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/bang_olufsen/media_player.py:809:19-22: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/besen/switch.py:43:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/besen/switch.py:49:46-49: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/blebox/climate.py:138:53-56: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/blebox/cover.py:154:48-51: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/blebox/cover.py:160:49-52: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/blebox/cover.py:166:53-56: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/blebox/cover.py:173:54-57: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/blebox/cover.py:180:56-59: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/blebox/cover.py:187:48-51: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/blebox/cover.py:193:61-64: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/blebox/light.py:189:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/blebox/light.py:253:46-49: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/blebox/switch.py:55:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/blebox/switch.py:61:46-49: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/blebox/update.py:123:60-63: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/blink/switch.py:71:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/blink/switch.py:89:46-49: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/blue_current/switch.py:157:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/blue_current/switch.py:164:46-49: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/bluesound/media_player.py:662:69-72: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/bluetooth/passive_update_coordinator.py:64:56-59: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/bond/cover.py:81:56-59: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/bond/cover.py:89:48-51: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/bond/cover.py:94:49-52: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/bond/cover.py:99:48-51: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/bond/cover.py:104:53-56: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/bond/cover.py:109:54-57: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/bond/cover.py:114:53-56: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/bond/fan.py:174:19-22: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/bond/fan.py:192:46-49: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/bond/light.py:154:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/bond/light.py:177:46-49: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/bond/light.py:228:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/bond/light.py:233:46-49: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/bond/light.py:247:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/bond/light.py:252:46-49: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/bond/light.py:273:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/bond/light.py:284:46-49: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/bond/switch.py:40:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/bond/switch.py:45:46-49: Explicit `Any` is not allowed [explicit-any]
... (truncated 2728 lines) ...
xarray (https://github.com/pydata/xarray)
- ERROR xarray/core/dataarray.py:4105:19-22: Explicit `Any` is not allowed [explicit-any]
- ERROR xarray/core/dataset.py:7119:19-22: Explicit `Any` is not allowed [explicit-any]
- ERROR xarray/core/datatree.py:398:19-22: Explicit `Any` is not allowed [explicit-any]
- ERROR xarray/core/datatree.py:2262:19-22: Explicit `Any` is not allowed [explicit-any]
- ERROR xarray/core/groupby.py:1686:19-22: Explicit `Any` is not allowed [explicit-any]
- ERROR xarray/core/groupby.py:1783:19-22: Explicit `Any` is not allowed [explicit-any]
- ERROR xarray/core/groupby.py:1877:19-22: Explicit `Any` is not allowed [explicit-any]
- ERROR xarray/core/groupby.py:1958:19-22: Explicit `Any` is not allowed [explicit-any]
- ERROR xarray/core/indexes.py:980:36-39: Explicit `Any` is not allowed [explicit-any]
- ERROR xarray/core/indexing.py:813:58-61: Explicit `Any` is not allowed [explicit-any]
- ERROR xarray/core/indexing.py:820:53-56: Explicit `Any` is not allowed [explicit-any]
- ERROR xarray/core/indexing.py:975:62-65: Explicit `Any` is not allowed [explicit-any]
- ERROR xarray/core/indexing.py:980:57-60: Explicit `Any` is not allowed [explicit-any]
- ERROR xarray/core/indexing.py:1034:62-65: Explicit `Any` is not allowed [explicit-any]
- ERROR xarray/core/indexing.py:1038:57-60: Explicit `Any` is not allowed [explicit-any]
- ERROR xarray/core/indexing.py:1803:57-60: Explicit `Any` is not allowed [explicit-any]
- ERROR xarray/core/indexing.py:1808:62-65: Explicit `Any` is not allowed [explicit-any]
- ERROR xarray/core/indexing.py:1866:57-60: Explicit `Any` is not allowed [explicit-any]
- ERROR xarray/core/indexing.py:1870:62-65: Explicit `Any` is not allowed [explicit-any]
- ERROR xarray/core/indexing.py:1963:57-60: Explicit `Any` is not allowed [explicit-any]
- ERROR xarray/core/indexing.py:1972:62-65: Explicit `Any` is not allowed [explicit-any]
- ERROR xarray/core/indexing.py:2316:57-60: Explicit `Any` is not allowed [explicit-any]
- ERROR xarray/core/indexing.py:2340:62-65: Explicit `Any` is not allowed [explicit-any]
- ERROR xarray/core/indexing.py:2363:24-27: Explicit `Any` is not allowed [explicit-any]
- ERROR xarray/core/resample.py:276:19-22: Explicit `Any` is not allowed [explicit-any]
- ERROR xarray/core/resample.py:318:19-22: Explicit `Any` is not allowed [explicit-any]
- ERROR xarray/core/resample.py:415:19-22: Explicit `Any` is not allowed [explicit-any]
- ERROR xarray/core/resample.py:486:19-22: Explicit `Any` is not allowed [explicit-any]
- ERROR xarray/core/variable.py:2900:28-31: Explicit `Any` is not allowed [explicit-any]
- ERROR xarray/core/variable.py:2901:26-29: Explicit `Any` is not allowed [explicit-any]
- ERROR xarray/namedarray/core.py:987:19-22: Explicit `Any` is not allowed [explicit-any]
- ERROR xarray/namedarray/daskmanager.py:69:73-76: Explicit `Any` is not allowed [explicit-any]
- ERROR xarray/namedarray/daskmanager.py:88:37-40: Explicit `Any` is not allowed [explicit-any]
- ERROR xarray/namedarray/daskmanager.py:95:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR xarray/namedarray/daskmanager.py:102:28-31: Explicit `Any` is not allowed [explicit-any]
- ERROR xarray/namedarray/daskmanager.py:139:19-22: Explicit `Any` is not allowed [explicit-any]
- ERROR xarray/namedarray/daskmanager.py:158:16-19: Explicit `Any` is not allowed [explicit-any]
- ERROR xarray/namedarray/daskmanager.py:167:19-22: Explicit `Any` is not allowed [explicit-any]
- ERROR xarray/namedarray/daskmanager.py:168:10-13: Explicit `Any` is not allowed [explicit-any]
- ERROR xarray/namedarray/daskmanager.py:190:16-19: Explicit `Any` is not allowed [explicit-any]
- ERROR xarray/namedarray/daskmanager.py:195:19-22: Explicit `Any` is not allowed [explicit-any]
- ERROR xarray/namedarray/daskmanager.py:196:10-13: Explicit `Any` is not allowed [explicit-any]
- ERROR xarray/namedarray/daskmanager.py:215:16-19: Explicit `Any` is not allowed [explicit-any]
- ERROR xarray/namedarray/daskmanager.py:225:19-22: Explicit `Any` is not allowed [explicit-any]
- ERROR xarray/namedarray/daskmanager.py:247:16-19: Explicit `Any` is not allowed [explicit-any]
- ERROR xarray/namedarray/daskmanager.py:248:19-22: Explicit `Any` is not allowed [explicit-any]
- ERROR xarray/namedarray/daskmanager.py:258:18-21: Explicit `Any` is not allowed [explicit-any]
- ERROR xarray/namedarray/daskmanager.py:260:10-13: Explicit `Any` is not allowed [explicit-any]
- ERROR xarray/namedarray/daskmanager.py:294:73-76: Explicit `Any` is not allowed [explicit-any]
- ERROR xarray/namedarray/daskmanager.py:295:10-13: Explicit `Any` is not allowed [explicit-any]
django-modern-rest (https://github.com/wemake-services/django-modern-rest)
- ERROR dmr/components.py:422:18-21: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/components.py:525:18-21: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/components.py:695:18-21: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/components.py:825:18-21: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/components.py:901:18-21: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/components.py:1018:18-21: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/controller.py:327:36-39: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/controller.py:382:50-53: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/controller.py:382:65-68: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/controller.py:399:16-19: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/controller.py:400:19-22: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/controller.py:544:16-19: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/controller.py:545:19-22: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/controller.py:567:16-19: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/controller.py:568:19-22: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/internal/json.py:44:26-29: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/internal/json.py:44:34-37: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/management/commands/dmr_export_schema.py:70:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/management/commands/dmr_export_schema.py:70:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/openapi/views/base.py:60:23-26: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/parsers.py:161:10-13: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/parsers.py:414:10-13: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/plugins/msgspec/components.py:81:18-21: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/plugins/msgspec/components.py:82:10-13: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/plugins/msgspec/json.py:35:10-13: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/plugins/msgspec/json.py:96:23-26: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/plugins/msgspec/msgpack.py:34:10-13: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/plugins/msgspec/msgpack.py:93:23-26: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/plugins/msgspec/serializer.py:96:20-23: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/plugins/msgspec/serializer.py:112:10-13: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/plugins/msgspec/serializer.py:125:23-26: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/plugins/msgspec/serializer.py:130:10-13: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/plugins/msgspec/serializer.py:196:21-24: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/plugins/msgspec/serializer.py:197:10-13: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/plugins/pydantic/serializer.py:145:20-23: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/plugins/pydantic/serializer.py:160:43-46: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/plugins/pydantic/serializer.py:160:51-54: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/plugins/pydantic/serializer.py:193:10-13: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/plugins/pydantic/serializer.py:208:23-26: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/plugins/pydantic/serializer.py:213:10-13: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/plugins/pydantic/serializer.py:302:21-24: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/plugins/pydantic/serializer.py:303:10-13: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/plugins/pydantic/serializer.py:368:35-38: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/plugins/pydantic/serializer.py:394:10-13: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/renderers.py:134:23-26: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/renderers.py:182:23-26: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/security/django_session/concrete_views.py:72:23-26: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/security/django_session/concrete_views.py:126:23-26: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/security/jwt/concrete_views/body.py:82:23-26: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/security/jwt/concrete_views/body.py:136:23-26: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/security/jwt/concrete_views/body.py:195:23-26: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/security/jwt/concrete_views/body.py:248:23-26: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/security/jwt/concrete_views/body.py:304:23-26: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/security/jwt/concrete_views/body.py:348:23-26: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/security/jwt/concrete_views/cookie.py:100:23-26: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/security/jwt/concrete_views/cookie.py:171:23-26: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/security/jwt/concrete_views/cookie.py:238:23-26: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/security/jwt/concrete_views/cookie.py:294:23-26: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/security/jwt/concrete_views/cookie.py:352:23-26: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/security/jwt/concrete_views/cookie.py:408:23-26: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/security/token/concrete_views.py:109:23-26: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/security/token/concrete_views.py:183:23-26: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/streaming/jsonl/controller.py:62:59-62: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/streaming/jsonl/renderer.py:53:23-26: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/streaming/sse/controller.py:69:59-62: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/streaming/sse/renderer.py:67:23-26: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/streaming/validation.py:138:21-24: Explicit `Any` is not allowed [explicit-any] |
Fixes #4548
Problem
With
explicit-any = "error", a@typing.overridemethod whose base signature is annotated withAnymust repeat thatAny— narrowing or dropping it would break the override — yet the rule fired on exactly those annotations:The signature is fixed by typeshed's
json.JSONEncoder.default((self, o: Any) -> Any), so the diagnostic points at code that cannot be changed. Ruff exempts@overridemethods in its equivalent lint (ANN401) for the same reason.Change
is_override(name-only decorator check) when it registers method annotations; those annotations now carry the method's name when they belong to an@overridemethod.explicit-anyfromsolve_annotation(which has the class context) instead ofexpr_untype; a position is exempt only when the annotation is exactlyAnyand the corresponding base position is explicitly annotatedAny:*args/**kwargsand return positions included),Coroutine[Any, Any, T],@override,@overridewith no base member (bad-override still fires), base positions that merely lack annotations, and nestedAnylikelist[Any].The base's own explicit
Anys still report when the base is user code in the checked project (in the issue's case the base is in typeshed and not checked) — only the dictated override positions are exempt.Test plan
testcase!s inpyrefly/lib/test/inference.rscovering: exemption (plain/args-kwargs/overload/typing_extensions/async), still-reporting (undictated positions, no decorator, no base member, unannotated base param, nestedAny, per-position granularity)explicit-any = "error"cargo test -p pyrefly --lib -- --skip test::lspgreen (the twomissing-sourceLSP interaction failures are pre-existing onmain)