Exempt base-dictated Any positions in @override methods from explicit-any - #4798
nitishagar wants to merge 1 commit into
Conversation
…-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 facebook#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 facebook#4548
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.) |
|
Diff from mypy_primer, showing the effect of this PR on open source code: ============================================================
SUMMARY
============================================================
Total: +0 new errors, -3586 fixed errors
By preset: +0/-0 (default), +0/-0 (strict)
Projects with changes (6):
pwndbg: +0 -2
django-stubs: +0 -404
schemathesis: +0 -9
zulip: +0 -205
core: +0 -2892
django-modern-rest: +0 -74
============================================================
FULL DIFF DETAILS
------------------------------------------------------------
pwndbg (https://github.com/pwndbg/pwndbg)
- ERROR pwndbg/dbg_mod/gdb/__init__.py:2143:31-34: Explicit `Any` is not allowed [explicit-any]
- ERROR pwndbg/dbg_mod/lldb/__init__.py:2596:31-34: Explicit `Any` is not allowed [explicit-any]
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:41:46-49: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/contenttypes/fields.pyi:45:47-50: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/contenttypes/fields.pyi:49:33-36: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/contenttypes/fields.pyi:49:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/contenttypes/fields.pyi:62:31-34: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/contenttypes/fields.pyi:121: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:83:40-43: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/models/fields.pyi:83:92-95: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/models/fields.pyi:86:37-40: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/models/fields.pyi:86:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/models/fields.pyi:146:19-22: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/models/fields.pyi:211:35-38: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/contrib/gis/db/models/fields.pyi:211: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:64: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:98:51-54: Explicit `Any` is not allowed [explicit-any]
- ERROR django-stubs/core/management/base.pyi:107: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) ...
schemathesis (https://github.com/schemathesis/schemathesis)
- ERROR src/schemathesis/specs/graphql/schemas.py:374:19-22: Explicit `Any` is not allowed [explicit-any]
- ERROR src/schemathesis/specs/graphql/schemas.py:385:79-82: Explicit `Any` is not allowed [explicit-any]
- ERROR src/schemathesis/specs/openapi/schemas.py:608:79-82: Explicit `Any` is not allowed [explicit-any]
- ERROR src/schemathesis/specs/openapi/schemas.py:653:19-22: 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/requests.py:60:52-55: Explicit `Any` is not allowed [explicit-any]
- ERROR src/schemathesis/transport/requests.py:171:86-89: Explicit `Any` is not allowed [explicit-any]
- ERROR src/schemathesis/transport/wsgi.py:41:52-55: Explicit `Any` is not allowed [explicit-any]
- ERROR src/schemathesis/transport/wsgi.py:102: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_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:113:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/export.py:113: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:131:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/management/commands/makemessages.py:131: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:3088:23-26: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/tests/test_auth_backends.py:4670:18-21: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/tests/test_auth_backends.py:4671:23-26: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/tests/test_auth_backends.py:4687:23-26: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/tests/test_auth_backends.py:4853:23-26: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/tests/test_auth_backends.py:5067:19-22: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/tests/test_auth_backends.py:5078:61-64: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/tests/test_auth_backends.py:5095:23-26: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/tests/test_auth_backends.py:5517:18-21: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/tests/test_auth_backends.py:5519:23-26: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/tests/test_auth_backends.py:5567: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:90:42-45: Explicit `Any` is not allowed [explicit-any]
- ERROR zerver/views/documentation.py:183:42-45: 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:367:29-32: Explicit `Any` is not allowed [explicit-any]
- ERROR zilencer/management/commands/populate_db.py:367: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/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:3149:19-22: Explicit `Any` is not allowed [explicit-any]
- ERROR zproject/backends.py:3351:22-25: Explicit `Any` is not allowed [explicit-any]
- ERROR zproject/backends.py:3351:37-40: Explicit `Any` is not allowed [explicit-any]
- ERROR zproject/backends.py:3622:19-22: Explicit `Any` is not allowed [explicit-any]
- ERROR zproject/backends.py:3871:22-25: Explicit `Any` is not allowed [explicit-any]
- ERROR zproject/backends.py:3871:37-40: Explicit `Any` is not allowed [explicit-any]
- ERROR zproject/backends.py:4296:22-25: Explicit `Any` is not allowed [explicit-any]
- ERROR zproject/backends.py:4296: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:176:64-67: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/auth/mfa_modules/notify.py:176: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/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:47:33-36: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/abode/switch.py:52:34-37: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/abode/switch.py:77:33-36: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/abode/switch.py:83: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:114:53-56: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/adax/climate.py:188:53-56: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/adguard/switch.py:117:46-49: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/adguard/switch.py:129:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/adguard/update.py:64: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:260:53-56: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/advantage_air/climate.py:365:53-56: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/advantage_air/cover.py:83:48-51: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/advantage_air/cover.py:90:49-52: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/advantage_air/cover.py:95:56-59: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/advantage_air/cover.py:131:48-51: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/advantage_air/cover.py:136: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:66:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/advantage_air/switch.py:71:46-49: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/advantage_air/switch.py:95:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/advantage_air/switch.py:100:46-49: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/advantage_air/switch.py:124:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/advantage_air/switch.py:129:46-49: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/aidot/light.py:94:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/aidot/light.py:125:46-49: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/airgradient/switch.py:136:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/airgradient/switch.py:143:46-49: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/airobot/climate.py:132:53-56: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/airobot/switch.py:96:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/airobot/switch.py:109:46-49: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/airos/update.py:86:19-22: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/airpatrol/climate.py:148: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:264:53-56: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/airtouch5/climate.py:376: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:86:46-49: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/airzone/entity.py:139:46-49: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/airzone/entity.py:182:46-49: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/airzone/entity.py:225: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/media_player.py:226:19-22: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/alexa_devices/switch.py:152:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/alexa_devices/switch.py:157: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:354: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:195: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:53:42-45: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/august/lock.py:58:42-45: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/august/lock.py:63:44-47: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/automation/__init__.py:666:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/automation/__init__.py:672: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:118:19-22: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/aws_s3/backup.py:140:19-22: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/aws_s3/backup.py:299:19-22: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/aws_s3/backup.py:321:50-53: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/aws_s3/backup.py:331: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:95: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:138:19-22: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/azure_storage/backup.py:160:19-22: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/azure_storage/backup.py:171:50-53: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/azure_storage/backup.py:189:19-22: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/backblaze_b2/backup.py:215:41-44: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/backblaze_b2/backup.py:248:19-22: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/backblaze_b2/backup.py:385:67-70: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/backblaze_b2/backup.py:418:50-53: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/backblaze_b2/backup.py:467: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:48:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/baf/light.py:56:46-49: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/baf/light.py:88: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:802:19-22: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/besen/switch.py:42:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/besen/switch.py:48: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:155:48-51: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/blebox/cover.py:161:49-52: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/blebox/cover.py:167:53-56: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/blebox/cover.py:174:54-57: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/blebox/cover.py:181:56-59: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/blebox/cover.py:188:48-51: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/blebox/cover.py:194:61-64: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/blebox/light.py:190:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/blebox/light.py:254:46-49: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/blebox/switch.py:56:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/blebox/switch.py:62:46-49: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/blebox/update.py:124: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:88:46-49: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/blue_current/switch.py:156:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/blue_current/switch.py:163:46-49: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/bluesound/media_player.py:718: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]
- ERROR homeassistant/components/bosch_alarm/switch.py:113:45-48: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/bosch_alarm/switch.py:124:46-49: Explicit `Any` is not allowed [explicit-any]
- ERROR homeassistant/components/bosch_alarm/switch.py:159:45-48: Explicit `Any` is not allowed [explicit-any]
... (truncated 2661 lines) ...
django-modern-rest (https://github.com/wemake-services/django-modern-rest)
- ERROR dmr/components.py:290:22-25: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/components.py:311:16-19: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/components.py:373:22-25: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/components.py:422:16-19: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/components.py:438:16-19: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/components.py:524:22-25: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/components.py:541:16-19: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/components.py:653:22-25: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/components.py:668:16-19: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/components.py:726:22-25: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/components.py:733:16-19: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/components.py:839:22-25: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/components.py:900:16-19: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/components.py:916:16-19: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/controller.py:248:36-39: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/controller.py:297:50-53: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/controller.py:297:65-68: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/controller.py:314:16-19: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/controller.py:315:19-22: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/controller.py:459:16-19: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/controller.py:460:19-22: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/controller.py:482:16-19: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/controller.py:483:19-22: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/files.py:88:16-19: 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:145:16-19: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/parsers.py:146:10-13: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/parsers.py:277:16-19: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/parsers.py:308:16-19: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/parsers.py:345:16-19: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/parsers.py:394:16-19: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/parsers.py:395:10-13: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/plugins/msgspec/json.py:31:16-19: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/plugins/msgspec/json.py:32:10-13: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/plugins/msgspec/json.py:81:23-26: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/plugins/msgspec/msgpack.py:30:16-19: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/plugins/msgspec/msgpack.py:31:10-13: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/plugins/msgspec/msgpack.py:74:23-26: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/plugins/msgspec/schema.py:46:16-19: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/plugins/msgspec/schema.py:62:33-36: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/plugins/msgspec/serializer.py:82:20-23: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/plugins/msgspec/serializer.py:97:16-19: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/plugins/msgspec/serializer.py:98:10-13: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/plugins/msgspec/serializer.py:111:23-26: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/plugins/msgspec/serializer.py:112:16-19: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/plugins/msgspec/serializer.py:116:10-13: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/plugins/msgspec/serializer.py:153:21-24: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/plugins/msgspec/serializer.py:154:10-13: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/plugins/pydantic/schema.py:49:16-19: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/plugins/pydantic/schema.py:69:33-36: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/plugins/pydantic/serializer.py:132:20-23: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/plugins/pydantic/serializer.py:147:43-46: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/plugins/pydantic/serializer.py:147:51-54: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/plugins/pydantic/serializer.py:183:16-19: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/plugins/pydantic/serializer.py:184:10-13: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/plugins/pydantic/serializer.py:197:23-26: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/plugins/pydantic/serializer.py:198:16-19: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/plugins/pydantic/serializer.py:202:10-13: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/plugins/pydantic/serializer.py:245:21-24: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/plugins/pydantic/serializer.py:246:10-13: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/plugins/pydantic/serializer.py:311:35-38: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/plugins/pydantic/serializer.py:334:16-19: Explicit `Any` is not allowed [explicit-any]
- ERROR dmr/plugins/pydantic/serializer.py:335: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/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:65: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:132: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)