Make untyped decorator its own code#19911
Conversation
i also remembered how it is error codes are suppose to work exactly, which makea this make sense
This comment has been minimized.
This comment has been minimized.
This is not really how I expected this to work, but no matter... I guess you opt into this behavior, sort of, and ignoring overbroad code is sort of like having unused ignores, conceptually, sort of. So, okay... |
Add a new test that uses this new error code to be extra sure it's working?
Yeah this reasoning makes sense to me, just like how |
This comment has been minimized.
This comment has been minimized.
Co-authored-by: A5rocks <[email protected]>
Well... that's not me 😅 |
This comment has been minimized.
This comment has been minimized.
|
Sounds good to me! |
|
Diff from mypy_primer, showing the effect of this PR on open source code: pylox (https://github.com/sco1/pylox)
- tool/generate_tests.py:43: error: Untyped decorator makes function "main" untyped [misc]
+ tool/generate_tests.py:43: error: Untyped decorator makes function "main" untyped [untyped-decorator]
- tool/generate_ast.py:178: error: Untyped decorator makes function "main" untyped [misc]
+ tool/generate_ast.py:178: error: Untyped decorator makes function "main" untyped [untyped-decorator]
- pylox/lox.py:117: error: Untyped decorator makes function "main" untyped [misc]
+ pylox/lox.py:117: error: Untyped decorator makes function "main" untyped [untyped-decorator]
starlette (https://github.com/encode/starlette)
- tests/test_status.py:6: error: Untyped decorator makes function "test_deprecated_types" untyped [misc]
+ tests/test_status.py:6: error: Untyped decorator makes function "test_deprecated_types" untyped [untyped-decorator]
- tests/test_datastructures.py:308: error: Untyped decorator makes function "test_upload_file_file_input" untyped [misc]
+ tests/test_datastructures.py:308: error: Untyped decorator makes function "test_upload_file_file_input" untyped [untyped-decorator]
- tests/test_datastructures.py:322: error: Untyped decorator makes function "test_upload_file_without_size" untyped [misc]
+ tests/test_datastructures.py:322: error: Untyped decorator makes function "test_upload_file_without_size" untyped [untyped-decorator]
- tests/test_datastructures.py:336: error: Untyped decorator makes function "test_uploadfile_rolling" untyped [misc]
+ tests/test_datastructures.py:336: error: Untyped decorator makes function "test_uploadfile_rolling" untyped [untyped-decorator]
- tests/test_datastructures.py:337: error: Untyped decorator makes function "test_uploadfile_rolling" untyped [misc]
+ tests/test_datastructures.py:337: error: Untyped decorator makes function "test_uploadfile_rolling" untyped [untyped-decorator]
- tests/test_datastructures.py:385: error: Untyped decorator makes function "test_upload_file_repr" untyped [misc]
+ tests/test_datastructures.py:385: error: Untyped decorator makes function "test_upload_file_repr" untyped [untyped-decorator]
- tests/test_datastructures.py:392: error: Untyped decorator makes function "test_upload_file_repr_headers" untyped [misc]
+ tests/test_datastructures.py:392: error: Untyped decorator makes function "test_upload_file_repr_headers" untyped [untyped-decorator]
- tests/test__utils.py:94: error: Untyped decorator makes function "test_get_route_path" untyped [misc]
+ tests/test__utils.py:94: error: Untyped decorator makes function "test_get_route_path" untyped [untyped-decorator]
- starlette/templating.py:119: error: Untyped decorator makes function "url_for" untyped [misc]
+ starlette/templating.py:119: error: Untyped decorator makes function "url_for" untyped [untyped-decorator]
- tests/test_websockets.py:77: error: Untyped decorator makes function "test_websocket_headers" untyped [misc]
+ tests/test_websockets.py:77: error: Untyped decorator makes function "test_websocket_headers" untyped [untyped-decorator]
- tests/test_websockets.py:261: error: Untyped decorator makes function "test_client_disconnect_on_send" untyped [misc]
+ tests/test_websockets.py:261: error: Untyped decorator makes function "test_client_disconnect_on_send" untyped [untyped-decorator]
- tests/test_testclient.py:305: error: Untyped decorator makes function "test_query_params" untyped [misc]
+ tests/test_testclient.py:305: error: Untyped decorator makes function "test_query_params" untyped [untyped-decorator]
- tests/test_testclient.py:316: error: Untyped decorator makes function "test_domain_restricted_cookies" untyped [misc]
+ tests/test_testclient.py:316: error: Untyped decorator makes function "test_domain_restricted_cookies" untyped [untyped-decorator]
- tests/test_routing.py:166: error: Untyped decorator makes function "client" untyped [misc]
+ tests/test_routing.py:166: error: Untyped decorator makes function "client" untyped [untyped-decorator]
- tests/test_routing.py:174: error: Untyped decorator makes function "test_router" untyped [misc]
+ tests/test_routing.py:174: error: Untyped decorator makes function "test_router" untyped [untyped-decorator]
- tests/test_routing.py:885: error: Untyped decorator makes function "test_route_name" untyped [misc]
+ tests/test_routing.py:885: error: Untyped decorator makes function "test_route_name" untyped [untyped-decorator]
- tests/test_routing.py:972: error: Untyped decorator makes function "test_base_route_middleware" untyped [misc]
+ tests/test_routing.py:972: error: Untyped decorator makes function "test_base_route_middleware" untyped [untyped-decorator]
- tests/test_responses.py:250: error: Untyped decorator makes function "test_file_response_on_head_method" untyped [misc]
+ tests/test_responses.py:250: error: Untyped decorator makes function "test_file_response_on_head_method" untyped [untyped-decorator]
- tests/test_responses.py:357: error: Untyped decorator makes function "test_file_response_with_pathsend" untyped [misc]
+ tests/test_responses.py:357: error: Untyped decorator makes function "test_file_response_with_pathsend" untyped [untyped-decorator]
- tests/test_responses.py:421: error: Untyped decorator makes function "test_set_cookie_raises_for_invalid_python_version" untyped [misc]
+ tests/test_responses.py:421: error: Untyped decorator makes function "test_set_cookie_raises_for_invalid_python_version" untyped [untyped-decorator]
- tests/test_responses.py:461: error: Untyped decorator makes function "test_expires_on_set_cookie" untyped [misc]
+ tests/test_responses.py:461: error: Untyped decorator makes function "test_expires_on_set_cookie" untyped [untyped-decorator]
- tests/test_responses.py:595: error: Untyped decorator makes function "test_streaming_response_stops_if_receiving_http_disconnect" untyped [misc]
+ tests/test_responses.py:595: error: Untyped decorator makes function "test_streaming_response_stops_if_receiving_http_disconnect" untyped [untyped-decorator]
- tests/test_responses.py:626: error: Untyped decorator makes function "test_streaming_response_on_client_disconnects" untyped [misc]
+ tests/test_responses.py:626: error: Untyped decorator makes function "test_streaming_response_on_client_disconnects" untyped [untyped-decorator]
- tests/test_responses.py:670: error: Untyped decorator makes function "readme_file" untyped [misc]
+ tests/test_responses.py:670: error: Untyped decorator makes function "readme_file" untyped [untyped-decorator]
- tests/test_responses.py:677: error: Untyped decorator makes function "file_response_client" untyped [misc]
+ tests/test_responses.py:677: error: Untyped decorator makes function "file_response_client" untyped [untyped-decorator]
- tests/test_responses.py:801: error: Untyped decorator makes function "test_file_response_multi_small_chunk_size" untyped [misc]
+ tests/test_responses.py:801: error: Untyped decorator makes function "test_file_response_multi_small_chunk_size" untyped [untyped-decorator]
- tests/test_requests.py:44: error: Untyped decorator makes function "test_request_headers" untyped [misc]
+ tests/test_requests.py:44: error: Untyped decorator makes function "test_request_headers" untyped [untyped-decorator]
- tests/test_requests.py:68: error: Untyped decorator makes function "test_request_client" untyped [misc]
+ tests/test_requests.py:68: error: Untyped decorator makes function "test_request_client" untyped [untyped-decorator]
- tests/test_requests.py:372: error: Untyped decorator makes function "test_cookies_edge_cases" untyped [misc]
+ tests/test_requests.py:372: error: Untyped decorator makes function "test_cookies_edge_cases" untyped [untyped-decorator]
- tests/test_requests.py:409: error: Untyped decorator makes function "test_cookies_invalid" untyped [misc]
+ tests/test_requests.py:409: error: Untyped decorator makes function "test_cookies_invalid" untyped [untyped-decorator]
- tests/test_requests.py:545: error: Untyped decorator makes function "test_request_rcv" untyped [misc]
+ tests/test_requests.py:545: error: Untyped decorator makes function "test_request_rcv" untyped [untyped-decorator]
- tests/test_requests.py:558: error: Untyped decorator makes function "test_request_rcv" untyped [misc]
+ tests/test_requests.py:558: error: Untyped decorator makes function "test_request_rcv" untyped [untyped-decorator]
- tests/test_requests.py:572: error: Untyped decorator makes function "test_request_stream_called_twice" untyped [misc]
+ tests/test_requests.py:572: error: Untyped decorator makes function "test_request_stream_called_twice" untyped [untyped-decorator]
- tests/test_formparsers.py:340: error: Untyped decorator makes function "mock_spooled_temporary_file" untyped [misc]
+ tests/test_formparsers.py:340: error: Untyped decorator makes function "mock_spooled_temporary_file" untyped [untyped-decorator]
- tests/test_formparsers.py:478: error: Untyped decorator makes function "test_missing_boundary_parameter" untyped [misc]
+ tests/test_formparsers.py:478: error: Untyped decorator makes function "test_missing_boundary_parameter" untyped [untyped-decorator]
- tests/test_formparsers.py:506: error: Untyped decorator makes function "test_missing_name_parameter_on_content_disposition" untyped [misc]
+ tests/test_formparsers.py:506: error: Untyped decorator makes function "test_missing_name_parameter_on_content_disposition" untyped [untyped-decorator]
- tests/test_formparsers.py:534: error: Untyped decorator makes function "test_too_many_fields_raise" untyped [misc]
+ tests/test_formparsers.py:534: error: Untyped decorator makes function "test_too_many_fields_raise" untyped [untyped-decorator]
- tests/test_formparsers.py:561: error: Untyped decorator makes function "test_too_many_files_raise" untyped [misc]
+ tests/test_formparsers.py:561: error: Untyped decorator makes function "test_too_many_files_raise" untyped [untyped-decorator]
- tests/test_formparsers.py:588: error: Untyped decorator makes function "test_too_many_files_single_field_raise" untyped [misc]
+ tests/test_formparsers.py:588: error: Untyped decorator makes function "test_too_many_files_single_field_raise" untyped [untyped-decorator]
- tests/test_formparsers.py:617: error: Untyped decorator makes function "test_too_many_files_and_fields_raise" untyped [misc]
+ tests/test_formparsers.py:617: error: Untyped decorator makes function "test_too_many_files_and_fields_raise" untyped [untyped-decorator]
- tests/test_formparsers.py:645: error: Untyped decorator makes function "test_max_fields_is_customizable_low_raises" untyped [misc]
+ tests/test_formparsers.py:645: error: Untyped decorator makes function "test_max_fields_is_customizable_low_raises" untyped [untyped-decorator]
- tests/test_formparsers.py:675: error: Untyped decorator makes function "test_max_files_is_customizable_low_raises" untyped [misc]
+ tests/test_formparsers.py:675: error: Untyped decorator makes function "test_max_files_is_customizable_low_raises" untyped [untyped-decorator]
- tests/test_formparsers.py:729: error: Untyped decorator makes function "test_max_part_size_exceeds_limit" untyped [misc]
+ tests/test_formparsers.py:729: error: Untyped decorator makes function "test_max_part_size_exceeds_limit" untyped [untyped-decorator]
- tests/test_formparsers.py:766: error: Untyped decorator makes function "test_max_part_size_exceeds_custom_limit" untyped [misc]
+ tests/test_formparsers.py:766: error: Untyped decorator makes function "test_max_part_size_exceeds_custom_limit" untyped [untyped-decorator]
- tests/test_exceptions.py:78: error: Untyped decorator makes function "client" untyped [misc]
+ tests/test_exceptions.py:78: error: Untyped decorator makes function "client" untyped [untyped-decorator]
- tests/test_endpoints.py:25: error: Untyped decorator makes function "client" untyped [misc]
+ tests/test_endpoints.py:25: error: Untyped decorator makes function "client" untyped [untyped-decorator]
- tests/test_convertors.py:15: error: Untyped decorator makes function "refresh_convertor_types" untyped [misc]
+ tests/test_convertors.py:15: error: Untyped decorator makes function "refresh_convertor_types" untyped [untyped-decorator]
- tests/test_convertors.py:32: error: Untyped decorator makes function "app" untyped [misc]
+ tests/test_convertors.py:32: error: Untyped decorator makes function "app" untyped [untyped-decorator]
- tests/test_convertors.py:62: error: Untyped decorator makes function "test_default_float_convertor" untyped [misc]
+ tests/test_convertors.py:62: error: Untyped decorator makes function "test_default_float_convertor" untyped [untyped-decorator]
- tests/test_convertors.py:76: error: Untyped decorator makes function "test_default_uuid_convertor" untyped [misc]
+ tests/test_convertors.py:76: error: Untyped decorator makes function "test_default_uuid_convertor" untyped [untyped-decorator]
- tests/test_concurrency.py:15: error: Untyped decorator makes function "test_run_until_first_complete" untyped [misc]
+ tests/test_concurrency.py:15: error: Untyped decorator makes function "test_run_until_first_complete" untyped [untyped-decorator]
- tests/test_concurrency.py:49: error: Untyped decorator makes function "test_iterate_in_threadpool" untyped [misc]
+ tests/test_concurrency.py:49: error: Untyped decorator makes function "test_iterate_in_threadpool" untyped [untyped-decorator]
- tests/test_applications.py:139: error: Untyped decorator makes function "client" untyped [misc]
+ tests/test_applications.py:139: error: Untyped decorator makes function "client" untyped [untyped-decorator]
- tests/test_applications.py:413: error: Untyped decorator makes function "test_app_async_gen_lifespan" untyped [misc]
+ tests/test_applications.py:413: error: Untyped decorator makes function "test_app_async_gen_lifespan" untyped [untyped-decorator]
- tests/test_applications.py:435: error: Untyped decorator makes function "test_app_sync_gen_lifespan" untyped [misc]
+ tests/test_applications.py:435: error: Untyped decorator makes function "test_app_sync_gen_lifespan" untyped [untyped-decorator]
- tests/conftest.py:12: error: Untyped decorator makes function "test_client_factory" untyped [misc]
+ tests/conftest.py:12: error: Untyped decorator makes function "test_client_factory" untyped [untyped-decorator]
- tests/middleware/test_gzip.py:166: error: Untyped decorator makes function "test_gzip_ignored_for_pathsend_responses" untyped [misc]
+ tests/middleware/test_gzip.py:166: error: Untyped decorator makes function "test_gzip_ignored_for_pathsend_responses" untyped [untyped-decorator]
- tests/middleware/test_base.py:219: error: Untyped decorator makes function "test_contextvars" untyped [misc]
+ tests/middleware/test_base.py:219: error: Untyped decorator makes function "test_contextvars" untyped [untyped-decorator]
- tests/middleware/test_base.py:254: error: Untyped decorator makes function "test_run_background_tasks_even_if_client_disconnects" untyped [misc]
+ tests/middleware/test_base.py:254: error: Untyped decorator makes function "test_run_background_tasks_even_if_client_disconnects" untyped [untyped-decorator]
- tests/middleware/test_base.py:345: error: Untyped decorator makes function "test_do_not_block_on_background_tasks" untyped [misc]
+ tests/middleware/test_base.py:345: error: Untyped decorator makes function "test_do_not_block_on_background_tasks" untyped [untyped-decorator]
- tests/middleware/test_base.py:400: error: Untyped decorator makes function "test_run_context_manager_exit_even_if_client_disconnects" untyped [misc]
+ tests/middleware/test_base.py:400: error: Untyped decorator makes function "test_run_context_manager_exit_even_if_client_disconnects" untyped [untyped-decorator]
- tests/middleware/test_base.py:762: error: Untyped decorator makes function "test_read_request_stream_in_dispatch_wrapping_app_calls_body" untyped [misc]
+ tests/middleware/test_base.py:762: error: Untyped decorator makes function "test_read_request_stream_in_dispatch_wrapping_app_calls_body" untyped [untyped-decorator]
- tests/middleware/test_base.py:879: error: Untyped decorator makes function "test_read_request_disconnected_client" untyped [misc]
+ tests/middleware/test_base.py:879: error: Untyped decorator makes function "test_read_request_disconnected_client" untyped [untyped-decorator]
- tests/middleware/test_base.py:923: error: Untyped decorator makes function "test_read_request_disconnected_after_consuming_steam" untyped [misc]
+ tests/middleware/test_base.py:923: error: Untyped decorator makes function "test_read_request_disconnected_after_consuming_steam" untyped [untyped-decorator]
- tests/middleware/test_base.py:1048: error: Untyped decorator makes function "test_multiple_middlewares_stacked_client_disconnected" untyped [misc]
+ tests/middleware/test_base.py:1048: error: Untyped decorator makes function "test_multiple_middlewares_stacked_client_disconnected" untyped [untyped-decorator]
- tests/middleware/test_base.py:1154: error: Untyped decorator makes function "test_poll_for_disconnect_repeated" untyped [misc]
... (truncated 5 lines) ...
schemathesis (https://github.com/schemathesis/schemathesis)
+ src/schemathesis/pytest/plugin.py:264: error: Unused "type: ignore" comment [unused-ignore]
+ src/schemathesis/pytest/plugin.py:264: error: Untyped decorator makes function "pytest_exception_interact" untyped [untyped-decorator]
+ src/schemathesis/pytest/plugin.py:264: note: Error code "untyped-decorator" not covered by "type: ignore" comment
+ src/schemathesis/cli/commands/run/__init__.py:40: error: Unused "type: ignore" comment [unused-ignore]
+ src/schemathesis/cli/commands/run/__init__.py:40: error: Untyped decorator makes function "run" untyped [untyped-decorator]
+ src/schemathesis/cli/commands/run/__init__.py:40: note: Error code "untyped-decorator" not covered by "type: ignore" comment
+ src/schemathesis/cli/commands/run/__init__.py:415: error: Unused "type: ignore" comment [unused-ignore]
+ src/schemathesis/cli/commands/run/__init__.py:415: error: Untyped decorator makes function "run" untyped [untyped-decorator]
+ src/schemathesis/cli/commands/run/__init__.py:415: note: Error code "untyped-decorator" not covered by "type: ignore" comment
+ src/schemathesis/cli/commands/__init__.py:22: error: Unused "type: ignore" comment [unused-ignore]
+ src/schemathesis/cli/commands/__init__.py:22: error: Untyped decorator makes function "schemathesis" untyped [untyped-decorator]
+ src/schemathesis/cli/commands/__init__.py:22: note: Error code "untyped-decorator" not covered by "type: ignore" comment
+ src/schemathesis/cli/commands/__init__.py:23: error: Unused "type: ignore" comment [unused-ignore]
+ src/schemathesis/cli/commands/__init__.py:23: error: Untyped decorator makes function "schemathesis" untyped [untyped-decorator]
+ src/schemathesis/cli/commands/__init__.py:23: note: Error code "untyped-decorator" not covered by "type: ignore" comment
+ src/schemathesis/cli/commands/__init__.py:30: error: Unused "type: ignore" comment [unused-ignore]
+ src/schemathesis/cli/commands/__init__.py:30: error: Untyped decorator makes function "schemathesis" untyped [untyped-decorator]
+ src/schemathesis/cli/commands/__init__.py:30: note: Error code "untyped-decorator" not covered by "type: ignore" comment
+ src/schemathesis/cli/commands/__init__.py:31: error: Unused "type: ignore" comment [unused-ignore]
+ src/schemathesis/cli/commands/__init__.py:31: error: Untyped decorator makes function "schemathesis" untyped [untyped-decorator]
+ src/schemathesis/cli/commands/__init__.py:31: note: Error code "untyped-decorator" not covered by "type: ignore" comment
cki-lib (https://gitlab.com/cki-project/cki-lib)
- tests/test_yaml.py:143: error: Untyped decorator makes function "test_include_url" untyped [misc]
+ tests/test_yaml.py:143: error: Untyped decorator makes function "test_include_url" untyped [untyped-decorator]
- tests/test_session.py:182: error: Untyped decorator makes function "test_headers" untyped [misc]
+ tests/test_session.py:182: error: Untyped decorator makes function "test_headers" untyped [untyped-decorator]
- tests/test_gitlab.py:223: error: Untyped decorator makes function "test_setup" untyped [misc]
+ tests/test_gitlab.py:223: error: Untyped decorator makes function "test_setup" untyped [untyped-decorator]
- tests/test_gitlab.py:252: error: Untyped decorator makes function "test_query" untyped [misc]
+ tests/test_gitlab.py:252: error: Untyped decorator makes function "test_query" untyped [untyped-decorator]
- tests/test_gitlab.py:266: error: Untyped decorator makes function "test_query_auth" untyped [misc]
+ tests/test_gitlab.py:266: error: Untyped decorator makes function "test_query_auth" untyped [untyped-decorator]
- tests/test_gitlab.py:281: error: Untyped decorator makes function "test_query_token" untyped [misc]
+ tests/test_gitlab.py:281: error: Untyped decorator makes function "test_query_token" untyped [untyped-decorator]
- tests/test_gitlab.py:292: error: Untyped decorator makes function "test_query_auth_longest" untyped [misc]
+ tests/test_gitlab.py:292: error: Untyped decorator makes function "test_query_auth_longest" untyped [untyped-decorator]
- tests/test_gitlab.py:308: error: Untyped decorator makes function "test_query_error" untyped [misc]
+ tests/test_gitlab.py:308: error: Untyped decorator makes function "test_query_error" untyped [untyped-decorator]
- tests/test_gitlab.py:380: error: Untyped decorator makes function "test_main" untyped [misc]
+ tests/test_gitlab.py:380: error: Untyped decorator makes function "test_main" untyped [untyped-decorator]
core (https://github.com/home-assistant/core)
- homeassistant/core.py:359: error: Untyped decorator makes function "job_type" untyped [misc]
+ homeassistant/core.py:359: error: Untyped decorator makes function "job_type" untyped [untyped-decorator]
- homeassistant/core.py:477: error: Untyped decorator makes function "is_running" untyped [misc]
+ homeassistant/core.py:477: error: Untyped decorator makes function "is_running" untyped [untyped-decorator]
- homeassistant/core.py:482: error: Untyped decorator makes function "is_stopping" untyped [misc]
+ homeassistant/core.py:482: error: Untyped decorator makes function "is_stopping" untyped [untyped-decorator]
- homeassistant/core.py:1273: error: Untyped decorator makes function "_as_dict" untyped [misc]
+ homeassistant/core.py:1273: error: Untyped decorator makes function "_as_dict" untyped [untyped-decorator]
- homeassistant/core.py:1290: error: Untyped decorator makes function "_as_read_only_dict" untyped [misc]
+ homeassistant/core.py:1290: error: Untyped decorator makes function "_as_read_only_dict" untyped [untyped-decorator]
- homeassistant/core.py:1295: error: Untyped decorator makes function "json_fragment" untyped [misc]
+ homeassistant/core.py:1295: error: Untyped decorator makes function "json_fragment" untyped [untyped-decorator]
- homeassistant/core.py:1311: error: Untyped decorator makes function "idx" untyped [misc]
+ homeassistant/core.py:1311: error: Untyped decorator makes function "idx" untyped [untyped-decorator]
- homeassistant/core.py:1350: error: Untyped decorator makes function "time_fired" untyped [misc]
+ homeassistant/core.py:1350: error: Untyped decorator makes function "time_fired" untyped [untyped-decorator]
- homeassistant/core.py:1355: error: Untyped decorator makes function "_as_dict" untyped [misc]
+ homeassistant/core.py:1355: error: Untyped decorator makes function "_as_dict" untyped [untyped-decorator]
- homeassistant/core.py:1380: error: Untyped decorator makes function "_as_read_only_dict" untyped [misc]
+ homeassistant/core.py:1380: error: Untyped decorator makes function "_as_read_only_dict" untyped [untyped-decorator]
- homeassistant/core.py:1396: error: Untyped decorator makes function "json_fragment" untyped [misc]
+ homeassistant/core.py:1396: error: Untyped decorator makes function "json_fragment" untyped [untyped-decorator]
- homeassistant/core.py:1852: error: Untyped decorator makes function "name" untyped [misc]
+ homeassistant/core.py:1852: error: Untyped decorator makes function "name" untyped [untyped-decorator]
- homeassistant/core.py:1859: error: Untyped decorator makes function "last_changed_timestamp" untyped [misc]
+ homeassistant/core.py:1859: error: Untyped decorator makes function "last_changed_timestamp" untyped [untyped-decorator]
- homeassistant/core.py:1864: error: Untyped decorator makes function "last_reported_timestamp" untyped [misc]
+ homeassistant/core.py:1864: error: Untyped decorator makes function "last_reported_timestamp" untyped [untyped-decorator]
- homeassistant/core.py:1882: error: Untyped decorator makes function "_as_dict" untyped [misc]
+ homeassistant/core.py:1882: error: Untyped decorator makes function "_as_dict" untyped [untyped-decorator]
- homeassistant/core.py:1923: error: Untyped decorator makes function "_as_read_only_dict" untyped [misc]
+ homeassistant/core.py:1923: error: Untyped decorator makes function "_as_read_only_dict" untyped [untyped-decorator]
- homeassistant/core.py:1938: error: Untyped decorator makes function "as_dict_json" untyped [misc]
+ homeassistant/core.py:1938: error: Untyped decorator makes function "as_dict_json" untyped [untyped-decorator]
- homeassistant/core.py:1943: error: Untyped decorator makes function "json_fragment" untyped [misc]
+ homeassistant/core.py:1943: error: Untyped decorator makes function "json_fragment" untyped [untyped-decorator]
- homeassistant/core.py:1948: error: Untyped decorator makes function "as_compressed_state" untyped [misc]
+ homeassistant/core.py:1948: error: Untyped decorator makes function "as_compressed_state" untyped [untyped-decorator]
- homeassistant/core.py:1977: error: Untyped decorator makes function "as_compressed_state_json" untyped [misc]
+ homeassistant/core.py:1977: error: Untyped decorator makes function "as_compressed_state_json" untyped [untyped-decorator]
- homeassistant/loader.py:779: error: Untyped decorator makes function "manifest_json_fragment" untyped [misc]
+ homeassistant/loader.py:779: error: Untyped decorator makes function "manifest_json_fragment" untyped [untyped-decorator]
- homeassistant/loader.py:784: error: Untyped decorator makes function "name" untyped [misc]
+ homeassistant/loader.py:784: error: Untyped decorator makes function "name" untyped [untyped-decorator]
- homeassistant/loader.py:789: error: Untyped decorator makes function "disabled" untyped [misc]
+ homeassistant/loader.py:789: error: Untyped decorator makes function "disabled" untyped [untyped-decorator]
- homeassistant/loader.py:794: error: Untyped decorator makes function "domain" untyped [misc]
+ homeassistant/loader.py:794: error: Untyped decorator makes function "domain" untyped [untyped-decorator]
- homeassistant/loader.py:799: error: Untyped decorator makes function "dependencies" untyped [misc]
+ homeassistant/loader.py:799: error: Untyped decorator makes function "dependencies" untyped [untyped-decorator]
- homeassistant/loader.py:804: error: Untyped decorator makes function "after_dependencies" untyped [misc]
+ homeassistant/loader.py:804: error: Untyped decorator makes function "after_dependencies" untyped [untyped-decorator]
- homeassistant/loader.py:809: error: Untyped decorator makes function "requirements" untyped [misc]
+ homeassistant/loader.py:809: error: Untyped decorator makes function "requirements" untyped [untyped-decorator]
- homeassistant/loader.py:814: error: Untyped decorator makes function "config_flow" untyped [misc]
+ homeassistant/loader.py:814: error: Untyped decorator makes function "config_flow" untyped [untyped-decorator]
- homeassistant/loader.py:819: error: Untyped decorator makes function "documentation" untyped [misc]
+ homeassistant/loader.py:819: error: Untyped decorator makes function "documentation" untyped [untyped-decorator]
- homeassistant/loader.py:824: error: Untyped decorator makes function "issue_tracker" untyped [misc]
+ homeassistant/loader.py:824: error: Untyped decorator makes function "issue_tracker" untyped [untyped-decorator]
- homeassistant/loader.py:829: error: Untyped decorator makes function "loggers" untyped [misc]
+ homeassistant/loader.py:829: error: Untyped decorator makes function "loggers" untyped [untyped-decorator]
- homeassistant/loader.py:834: error: Untyped decorator makes function "quality_scale" untyped [misc]
+ homeassistant/loader.py:834: error: Untyped decorator makes function "quality_scale" untyped [untyped-decorator]
- homeassistant/loader.py:842: error: Untyped decorator makes function "iot_class" untyped [misc]
+ homeassistant/loader.py:842: error: Untyped decorator makes function "iot_class" untyped [untyped-decorator]
- homeassistant/loader.py:847: error: Untyped decorator makes function "integration_type" untyped [misc]
+ homeassistant/loader.py:847: error: Untyped decorator makes function "integration_type" untyped [untyped-decorator]
- homeassistant/loader.py:856: error: Untyped decorator makes function "import_executor" untyped [misc]
+ homeassistant/loader.py:856: error: Untyped decorator makes function "import_executor" untyped [untyped-decorator]
- homeassistant/loader.py:863: error: Untyped decorator makes function "has_conditions" untyped [misc]
+ homeassistant/loader.py:863: error: Untyped decorator makes function "has_conditions" untyped [untyped-decorator]
- homeassistant/loader.py:868: error: Untyped decorator makes function "has_services" untyped [misc]
+ homeassistant/loader.py:868: error: Untyped decorator makes function "has_services" untyped [untyped-decorator]
- homeassistant/loader.py:873: error: Untyped decorator makes function "has_translations" untyped [misc]
+ homeassistant/loader.py:873: error: Untyped decorator makes function "has_translations" untyped [untyped-decorator]
- homeassistant/loader.py:878: error: Untyped decorator makes function "has_triggers" untyped [misc]
+ homeassistant/loader.py:878: error: Untyped decorator makes function "has_triggers" untyped [untyped-decorator]
- homeassistant/loader.py:940: error: Untyped decorator makes function "single_config_entry" untyped [misc]
+ homeassistant/loader.py:940: error: Untyped decorator makes function "single_config_entry" untyped [untyped-decorator]
- homeassistant/components/recorder/models/state.py:61: error: Untyped decorator makes function "attributes" untyped [misc]
+ homeassistant/components/recorder/models/state.py:61: error: Untyped decorator makes function "attributes" untyped [untyped-decorator]
- homeassistant/components/recorder/models/state.py:68: error: Untyped decorator makes function "_last_changed_ts" untyped [misc]
+ homeassistant/components/recorder/models/state.py:68: error: Untyped decorator makes function "_last_changed_ts" untyped [untyped-decorator]
- homeassistant/components/recorder/models/state.py:73: error: Untyped decorator makes function "last_changed" untyped [misc]
+ homeassistant/components/recorder/models/state.py:73: error: Untyped decorator makes function "last_changed" untyped [untyped-decorator]
- homeassistant/components/recorder/models/state.py:80: error: Untyped decorator makes function "_last_reported_ts" untyped [misc]
+ homeassistant/components/recorder/models/state.py:80: error: Untyped decorator makes function "_last_reported_ts" untyped [untyped-decorator]
- homeassistant/components/recorder/models/state.py:85: error: Untyped decorator makes function "last_reported" untyped [misc]
+ homeassistant/components/recorder/models/state.py:85: error: Untyped decorator makes function "last_reported" untyped [untyped-decorator]
- homeassistant/components/recorder/models/state.py:92: error: Untyped decorator makes function "last_updated" untyped [misc]
+ homeassistant/components/recorder/models/state.py:92: error: Untyped decorator makes function "last_updated" untyped [untyped-decorator]
- homeassistant/components/recorder/models/state.py:99: error: Untyped decorator makes function "last_updated_timestamp" untyped [misc]
+ homeassistant/components/recorder/models/state.py:99: error: Untyped decorator makes function "last_updated_timestamp" untyped [untyped-decorator]
- homeassistant/components/recorder/models/state.py:106: error: Untyped decorator makes function "last_changed_timestamp" untyped [misc]
+ homeassistant/components/recorder/models/state.py:106: error: Untyped decorator makes function "last_changed_timestamp" untyped [untyped-decorator]
- homeassistant/components/recorder/models/state.py:114: error: Untyped decorator makes function "last_reported_timestamp" untyped [misc]
+ homeassistant/components/recorder/models/state.py:114: error: Untyped decorator makes function "last_reported_timestamp" untyped [untyped-decorator]
- homeassistant/components/http/security_filter.py:55: error: Untyped decorator makes function "security_filter_middleware" untyped [misc]
+ homeassistant/components/http/security_filter.py:55: error: Untyped decorator makes function "security_filter_middleware" untyped [untyped-decorator]
- homeassistant/components/http/headers.py:35: error: Untyped decorator makes function "headers_middleware" untyped [misc]
+ homeassistant/components/http/headers.py:35: error: Untyped decorator makes function "headers_middleware" untyped [untyped-decorator]
- homeassistant/components/http/forwarded.py:70: error: Untyped decorator makes function "forwarded_middleware" untyped [misc]
+ homeassistant/components/http/forwarded.py:70: error: Untyped decorator makes function "forwarded_middleware" untyped [untyped-decorator]
- homeassistant/components/backup/agent.py:31: error: Untyped decorator makes function "agent_id" untyped [misc]
+ homeassistant/components/backup/agent.py:31: error: Untyped decorator makes function "agent_id" untyped [untyped-decorator]
- homeassistant/helpers/frame.py:59: error: Untyped decorator makes function "line_number" untyped [misc]
+ homeassistant/helpers/frame.py:59: error: Untyped decorator makes function "line_number" untyped [untyped-decorator]
- homeassistant/helpers/frame.py:64: error: Untyped decorator makes function "filename" untyped [misc]
+ homeassistant/helpers/frame.py:64: error: Untyped decorator makes function "filename" untyped [untyped-decorator]
- homeassistant/helpers/frame.py:69: error: Untyped decorator makes function "line" untyped [misc]
+ homeassistant/helpers/frame.py:69: error: Untyped decorator makes function "line" untyped [untyped-decorator]
- homeassistant/components/http/request_context.py:20: error: Untyped decorator makes function "request_context_middleware" untyped [misc]
+ homeassistant/components/http/request_context.py:20: error: Untyped decorator makes function "request_context_middleware" untyped [untyped-decorator]
- homeassistant/helpers/device_registry.py:393: error: Untyped decorator makes function "json_repr" untyped [misc]
+ homeassistant/helpers/device_registry.py:393: error: Untyped decorator makes function "json_repr" untyped [untyped-decorator]
- homeassistant/helpers/device_registry.py:409: error: Untyped decorator makes function "as_storage_fragment" untyped [misc]
+ homeassistant/helpers/device_registry.py:409: error: Untyped decorator makes function "as_storage_fragment" untyped [untyped-decorator]
- homeassistant/helpers/device_registry.py:508: error: Untyped decorator makes function "as_storage_fragment" untyped [misc]
+ homeassistant/helpers/device_registry.py:508: error: Untyped decorator makes function "as_storage_fragment" untyped [untyped-decorator]
- homeassistant/auth/models.py:82: error: Untyped decorator makes function "permissions" untyped [misc]
+ homeassistant/auth/models.py:82: error: Untyped decorator makes function "permissions" untyped [untyped-decorator]
- homeassistant/auth/models.py:92: error: Untyped decorator makes function "is_admin" untyped [misc]
+ homeassistant/auth/models.py:92: error: Untyped decorator makes function "is_admin" untyped [untyped-decorator]
- homeassistant/helpers/entity_registry.py:263: error: Untyped decorator makes function "display_json_repr" untyped [misc]
+ homeassistant/helpers/entity_registry.py:263: error: Untyped decorator makes function "display_json_repr" untyped [untyped-decorator]
- homeassistant/helpers/entity_registry.py:283: error: Untyped decorator makes function "as_partial_dict" untyped [misc]
+ homeassistant/helpers/entity_registry.py:283: error: Untyped decorator makes function "as_partial_dict" untyped [untyped-decorator]
- homeassistant/helpers/entity_registry.py:313: error: Untyped decorator makes function "extended_dict" untyped [misc]
+ homeassistant/helpers/entity_registry.py:313: error: Untyped decorator makes function "extended_dict" untyped [untyped-decorator]
- homeassistant/helpers/entity_registry.py:328: error: Untyped decorator makes function "partial_json_repr" untyped [misc]
+ homeassistant/helpers/entity_registry.py:328: error: Untyped decorator makes function "partial_json_repr" untyped [untyped-decorator]
- homeassistant/helpers/entity_registry.py:344: error: Untyped decorator makes function "as_storage_fragment" untyped [misc]
+ homeassistant/helpers/entity_registry.py:344: error: Untyped decorator makes function "as_storage_fragment" untyped [untyped-decorator]
- homeassistant/helpers/entity_registry.py:448: error: Untyped decorator makes function "as_storage_fragment" untyped [misc]
+ homeassistant/helpers/entity_registry.py:448: error: Untyped decorator makes function "as_storage_fragment" untyped [untyped-decorator]
- homeassistant/helpers/area_registry.py:89: error: Untyped decorator makes function "json_fragment" untyped [misc]
+ homeassistant/helpers/area_registry.py:89: error: Untyped decorator makes function "json_fragment" untyped [untyped-decorator]
- homeassistant/helpers/template/__init__.py:924: error: Untyped decorator makes function "entity_id" untyped [misc]
+ homeassistant/helpers/template/__init__.py:924: error: Untyped decorator makes function "entity_id" untyped [untyped-decorator]
- homeassistant/helpers/entity.py:574: error: Untyped decorator makes function "should_poll" untyped [misc]
... (truncated 737 lines) ...
sphinx (https://github.com/sphinx-doc/sphinx)
- sphinx/testing/fixtures.py:44:2: error: Untyped decorator makes function "rootdir" untyped [misc]
+ sphinx/testing/fixtures.py:44:2: error: Untyped decorator makes function "rootdir" untyped [untyped-decorator]
- sphinx/testing/fixtures.py:71:2: error: Untyped decorator makes function "app_params" untyped [misc]
+ sphinx/testing/fixtures.py:71:2: error: Untyped decorator makes function "app_params" untyped [untyped-decorator]
- sphinx/testing/fixtures.py:127:2: error: Untyped decorator makes function "test_params" untyped [misc]
+ sphinx/testing/fixtures.py:127:2: error: Untyped decorator makes function "test_params" untyped [untyped-decorator]
- sphinx/testing/fixtures.py:150:2: error: Untyped decorator makes function "app" untyped [misc]
+ sphinx/testing/fixtures.py:150:2: error: Untyped decorator makes function "app" untyped [untyped-decorator]
- sphinx/testing/fixtures.py:173:2: error: Untyped decorator makes function "status" untyped [misc]
+ sphinx/testing/fixtures.py:173:2: error: Untyped decorator makes function "status" untyped [untyped-decorator]
- sphinx/testing/fixtures.py:179:2: error: Untyped decorator makes function "warning" untyped [misc]
+ sphinx/testing/fixtures.py:179:2: error: Untyped decorator makes function "warning" untyped [untyped-decorator]
- sphinx/testing/fixtures.py:185:2: error: Untyped decorator makes function "make_app" untyped [misc]
+ sphinx/testing/fixtures.py:185:2: error: Untyped decorator makes function "make_app" untyped [untyped-decorator]
- sphinx/testing/fixtures.py:213:2: error: Untyped decorator makes function "shared_result" untyped [misc]
+ sphinx/testing/fixtures.py:213:2: error: Untyped decorator makes function "shared_result" untyped [untyped-decorator]
- sphinx/testing/fixtures.py:218:2: error: Untyped decorator makes function "_shared_result_cache" untyped [misc]
+ sphinx/testing/fixtures.py:218:2: error: Untyped decorator makes function "_shared_result_cache" untyped [untyped-decorator]
- sphinx/testing/fixtures.py:223:2: error: Untyped decorator makes function "if_graphviz_found" untyped [misc]
+ sphinx/testing/fixtures.py:223:2: error: Untyped decorator makes function "if_graphviz_found" untyped [untyped-decorator]
- sphinx/testing/fixtures.py:240:2: error: Untyped decorator makes function "sphinx_test_tempdir" untyped [misc]
+ sphinx/testing/fixtures.py:240:2: error: Untyped decorator makes function "sphinx_test_tempdir" untyped [untyped-decorator]
- sphinx/testing/fixtures.py:246:2: error: Untyped decorator makes function "rollback_sysmodules" untyped [misc]
+ sphinx/testing/fixtures.py:246:2: error: Untyped decorator makes function "rollback_sysmodules" untyped [untyped-decorator]
urllib3 (https://github.com/urllib3/urllib3)
- dummyserver/app.py:37: error: Untyped decorator makes function "index" untyped [misc]
+ dummyserver/app.py:37: error: Untyped decorator makes function "index" untyped [untyped-decorator]
- dummyserver/app.py:38: error: Untyped decorator makes function "index" untyped [misc]
+ dummyserver/app.py:38: error: Untyped decorator makes function "index" untyped [untyped-decorator]
- dummyserver/app.py:39: error: Untyped decorator makes function "index" untyped [misc]
+ dummyserver/app.py:39: error: Untyped decorator makes function "index" untyped [untyped-decorator]
- dummyserver/app.py:44: error: Untyped decorator makes function "alpn_protocol" untyped [misc]
+ dummyserver/app.py:44: error: Untyped decorator makes function "alpn_protocol" untyped [untyped-decorator]
- dummyserver/app.py:51: error: Untyped decorator makes function "certificate" untyped [misc]
+ dummyserver/app.py:51: error: Untyped decorator makes function "certificate" untyped [untyped-decorator]
- dummyserver/app.py:59: error: Untyped decorator makes function "specific_method" untyped [misc]
+ dummyserver/app.py:59: error: Untyped decorator makes function "specific_method" untyped [untyped-decorator]
- dummyserver/app.py:60: error: Untyped decorator makes function "specific_method" untyped [misc]
+ dummyserver/app.py:60: error: Untyped decorator makes function "specific_method" untyped [untyped-decorator]
- dummyserver/app.py:73: error: Untyped decorator makes function "upload" untyped [misc]
+ dummyserver/app.py:73: error: Untyped decorator makes function "upload" untyped [untyped-decorator]
- dummyserver/app.py:104: error: Untyped decorator makes function "chunked" untyped [misc]
+ dummyserver/app.py:104: error: Untyped decorator makes function "chunked" untyped [untyped-decorator]
- dummyserver/app.py:113: error: Untyped decorator makes function "chunked_gzip" untyped [misc]
+ dummyserver/app.py:113: error: Untyped decorator makes function "chunked_gzip" untyped [untyped-decorator]
- dummyserver/app.py:125: error: Untyped decorator makes function "keepalive" untyped [misc]
+ dummyserver/app.py:125: error: Untyped decorator makes function "keepalive" untyped [untyped-decorator]
- dummyserver/app.py:135: error: Untyped decorator makes function "echo" untyped [misc]
+ dummyserver/app.py:135: error: Untyped decorator makes function "echo" untyped [untyped-decorator]
- dummyserver/app.py:144: error: Untyped decorator makes function "echo_json" untyped [misc]
+ dummyserver/app.py:144: error: Untyped decorator makes function "echo_json" untyped [untyped-decorator]
- dummyserver/app.py:145: error: Untyped decorator makes function "echo_json" untyped [misc]
+ dummyserver/app.py:145: error: Untyped decorator makes function "echo_json" untyped [untyped-decorator]
- dummyserver/app.py:154: error: Untyped decorator makes function "echo_uri" untyped [misc]
+ dummyserver/app.py:154: error: Untyped decorator makes function "echo_uri" untyped [untyped-decorator]
- dummyserver/app.py:155: error: Untyped decorator makes function "echo_uri" untyped [misc]
+ dummyserver/app.py:155: error: Untyped decorator makes function "echo_uri" untyped [untyped-decorator]
- dummyserver/app.py:162: error: Untyped decorator makes function "echo_params" untyped [misc]
+ dummyserver/app.py:162: error: Untyped decorator makes function "echo_params" untyped [untyped-decorator]
- dummyserver/app.py:170: error: Untyped decorator makes function "headers" untyped [misc]
+ dummyserver/app.py:170: error: Untyped decorator makes function "headers" untyped [untyped-decorator]
- dummyserver/app.py:175: error: Untyped decorator makes function "headers_and_params" untyped [misc]
+ dummyserver/app.py:175: error: Untyped decorator makes function "headers_and_params" untyped [untyped-decorator]
- dummyserver/app.py:185: error: Untyped decorator makes function "multi_headers" untyped [misc]
+ dummyserver/app.py:185: error: Untyped decorator makes function "multi_headers" untyped [untyped-decorator]
- dummyserver/app.py:190: error: Untyped decorator makes function "multi_redirect" untyped [misc]
+ dummyserver/app.py:190: error: Untyped decorator makes function "multi_redirect" untyped [untyped-decorator]
- dummyserver/app.py:205: error: Untyped decorator makes function "encodingrequest" untyped [misc]
+ dummyserver/app.py:205: error: Untyped decorator makes function "encodingrequest" untyped [untyped-decorator]
- dummyserver/app.py:229: error: Untyped decorator makes function "redirect" untyped [misc]
+ dummyserver/app.py:229: error: Untyped decorator makes function "redirect" untyped [untyped-decorator]
- dummyserver/app.py:230: error: Untyped decorator makes function "redirect" untyped [misc]
+ dummyserver/app.py:230: error: Untyped decorator makes function "redirect" untyped [untyped-decorator]
- dummyserver/app.py:242: error: Untyped decorator makes function "redirect_after" untyped [misc]
+ dummyserver/app.py:242: error: Untyped decorator makes function "redirect_after" untyped [untyped-decorator]
- dummyserver/app.py:258: error: Untyped decorator makes function "retry_after" untyped [misc]
+ dummyserver/app.py:258: error: Untyped decorator makes function "retry_after" untyped [untyped-decorator]
- dummyserver/app.py:272: error: Untyped decorator makes function "status" untyped [misc]
+ dummyserver/app.py:272: error: Untyped decorator makes function "status" untyped [untyped-decorator]
- dummyserver/app.py:273: error: Untyped decorator makes function "status" untyped [misc]
+ dummyserver/app.py:273: error: Untyped decorator makes function "status" untyped [untyped-decorator]
- dummyserver/app.py:281: error: Untyped decorator makes function "source_address" untyped [misc]
+ dummyserver/app.py:281: error: Untyped decorator makes function "source_address" untyped [untyped-decorator]
- dummyserver/app.py:287: error: Untyped decorator makes function "successful_retry" untyped [misc]
+ dummyserver/app.py:287: error: Untyped decorator makes function "successful_retry" untyped [untyped-decorator]
- dummyserver/app.py:305: error: Untyped decorator makes function "apply_caching" untyped [misc]
+ dummyserver/app.py:305: error: Untyped decorator makes function "apply_caching" untyped [untyped-decorator]
- dummyserver/app.py:312: error: Untyped decorator makes function "slow" untyped [misc]
+ dummyserver/app.py:312: error: Untyped decorator makes function "slow" untyped [untyped-decorator]
- dummyserver/app.py:318: error: Untyped decorator makes function "dripfeed" untyped [misc]
+ dummyserver/app.py:318: error: Untyped decorator makes function "dripfeed" untyped [untyped-decorator]
- dummyserver/app.py:334: error: Untyped decorator makes function "bigfile" untyped [misc]
+ dummyserver/app.py:334: error: Untyped decorator makes function "bigfile" untyped [untyped-decorator]
- dummyserver/app.py:342: error: Untyped decorator makes function "mediumfile" untyped [misc]
+ dummyserver/app.py:342: error: Untyped decorator makes function "mediumfile" untyped [untyped-decorator]
- dummyserver/app.py:349: error: Untyped decorator makes function "pyodide_upload" untyped [misc]
+ dummyserver/app.py:349: error: Untyped decorator makes function "pyodide_upload" untyped [untyped-decorator]
- dummyserver/app.py:436: error: Untyped decorator makes function "pyodide" untyped [misc]
+ dummyserver/app.py:436: error: Untyped decorator makes function "pyodide" untyped [untyped-decorator]
- dummyserver/app.py:465: error: Untyped decorator makes function "wheel" untyped [misc]
+ dummyserver/app.py:465: error: Untyped decorator makes function "wheel" untyped [untyped-decorator]
- noxfile.py:92: error: Untyped decorator makes function "test" untyped [misc]
+ noxfile.py:92: error: Untyped decorator makes function "test" untyped [untyped-decorator]
- noxfile.py:109: error: Untyped decorator makes function "test_integration" untyped [misc]
+ noxfile.py:109: error: Untyped decorator makes function "test_integration" untyped [untyped-decorator]
- noxfile.py:116: error: Untyped decorator makes function "test_brotlipy" untyped [misc]
+ noxfile.py:116: error: Untyped decorator makes function "test_brotlipy" untyped [untyped-decorator]
- noxfile.py:144: error: Untyped decorator makes function "downstream_botocore" untyped [misc]
+ noxfile.py:144: error: Untyped decorator makes function "downstream_botocore" untyped [untyped-decorator]
- noxfile.py:163: error: Untyped decorator makes function "downstream_requests" untyped [misc]
+ noxfile.py:163: error: Untyped decorator makes function "downstream_requests" untyped [untyped-decorator]
- noxfile.py:183: error: Untyped decorator makes function "format" untyped [misc]
... (truncated 437 lines) ...``` |
Since this apparently comes up a lot, it shouldn't just be misc (it is, however, a subcode of misc, at least at the moment, for extra backwards compatibility).
Fixes #19148
I didn't add any tests for this and it seems like our old tests don't have codes enabled because they didn't have to be changed. I did add documentation for this, as required by the relevant test.