Skip to content

DNM: check current impact of --local-partial-types#20817

Closed
ilevkivskyi wants to merge 1 commit intopython:masterfrom
ilevkivskyi:test-local-partial
Closed

DNM: check current impact of --local-partial-types#20817
ilevkivskyi wants to merge 1 commit intopython:masterfrom
ilevkivskyi:test-local-partial

Conversation

@ilevkivskyi
Copy link
Member

No description provided.

@github-actions
Copy link
Contributor

Diff from mypy_primer, showing the effect of this PR on open source code:

beartype (https://github.com/beartype/beartype)
+ beartype/_check/checkmake.py:107: error: Need type annotation for "PITH_KIND_NONFUNC_OBJECT" (hint: "PITH_KIND_NONFUNC_OBJECT: <type> | None = ...")  [var-annotated]
+ beartype/_check/checkmake.py:766: error: Cannot determine type of "PITH_KIND_NONFUNC_OBJECT"  [has-type]

pyinstrument (https://github.com/joerick/pyinstrument)
+ pyinstrument/magic/magic.py:24: error: Need type annotation for "_active_profiler" (hint: "_active_profiler: <type> | None = ...")  [var-annotated]

spack (https://github.com/spack/spack)
+ lib/spack/spack/util/debug.py:60: error: Need type annotation for "_original_stdin" (hint: "_original_stdin: <type> | None = ...")  [var-annotated]
+ lib/spack/spack/paths.py:147: error: Need type annotation for "spack_working_dir" (hint: "spack_working_dir: <type> | None = ...")  [var-annotated]
+ lib/spack/spack/util/archive.py:22: error: Need type annotation for "myfileobj" (hint: "myfileobj: <type> | None = ...")  [var-annotated]
+ lib/spack/spack/report.py:13: error: Need type annotation for "reporter" (hint: "reporter: <type> | None = ...")  [var-annotated]
+ lib/spack/spack/report.py:14: error: Need type annotation for "report_file" (hint: "report_file: <type> | None = ...")  [var-annotated]
+ lib/spack/spack/container/images.py:15: error: Need type annotation for "_data" (hint: "_data: <type> | None = ...")  [var-annotated]
+ lib/spack/spack/ci/generator_registry.py:10: error: Need type annotation for "_generators" (hint: "_generators: dict[<type>, <type>] = ...")  [var-annotated]
+ lib/spack/spack/util/spack_yaml.py:326: error: Need type annotation for "saved" (hint: "saved: <type> | None = ...")  [var-annotated]
+ lib/spack/spack/util/path.py:322: error: Need type annotation for "_filter_re" (hint: "_filter_re: <type> | None = ...")  [var-annotated]
+ lib/spack/spack/util/gpg.py:18: error: Need type annotation for "GPG" (hint: "GPG: <type> | None = ...")  [var-annotated]
+ lib/spack/spack/util/gpg.py:20: error: Need type annotation for "GPGCONF" (hint: "GPGCONF: <type> | None = ...")  [var-annotated]
+ lib/spack/spack/util/gpg.py:22: error: Need type annotation for "SOCKET_DIR" (hint: "SOCKET_DIR: <type> | None = ...")  [var-annotated]
+ lib/spack/spack/util/gpg.py:24: error: Need type annotation for "GNUPGHOME" (hint: "GNUPGHOME: <type> | None = ...")  [var-annotated]
+ lib/spack/spack/stage.py:188: error: Need type annotation for "_stage_root" (hint: "_stage_root: <type> | None = ...")  [var-annotated]
+ lib/spack/spack/multimethod.py:39: error: Need type annotation for "_locals" (hint: "_locals: <type> | None = ...")  [var-annotated]
+ lib/spack/spack/database.py:112: error: Need type annotation for "_DEFAULT_PKG_LOCK_TIMEOUT" (hint: "_DEFAULT_PKG_LOCK_TIMEOUT: <type> | None = ...")  [var-annotated]
+ lib/spack/spack/package_base.py:143: error: Need type annotation for "detectable_packages"  [var-annotated]
+ lib/spack/spack/package_base.py:673: error: Need type annotation for "_verbose" (hint: "_verbose: <type> | None = ...")  [var-annotated]
+ lib/spack/spack/installer.py:1232: error: Need type annotation for "tmpdir" (hint: "tmpdir: <type> | None = ...")  [var-annotated]
+ lib/spack/spack/installer.py:1233: error: Need type annotation for "backup_dir" (hint: "backup_dir: <type> | None = ...")  [var-annotated]
+ lib/spack/spack/bootstrap/core.py:68: error: Need type annotation for "_bootstrap_methods" (hint: "_bootstrap_methods: dict[<type>, <type>] = ...")  [var-annotated]
+ lib/spack/spack/environment/depfile.py:102: error: Need type annotation for "_pattern" (hint: "_pattern: <type> | None = ...")  [var-annotated]
+ lib/spack/spack/container/writers.py:30: error: Need type annotation for "_writer_factory" (hint: "_writer_factory: dict[<type>, <type>] = ...")  [var-annotated]
+ lib/spack/spack/cmd/__init__.py:77: error: Need type annotation for "_all_commands" (hint: "_all_commands: <type> | None = ...")  [var-annotated]
+ lib/spack/spack/audit.py:65: error: Need type annotation for "CALLBACKS" (hint: "CALLBACKS: dict[<type>, <type>] = ...")  [var-annotated]
+ lib/spack/spack/audit.py:68: error: Need type annotation for "GROUPS"  [var-annotated]
+ lib/spack/spack/cmd/common/arguments.py:26: error: Need type annotation for "_arguments" (hint: "_arguments: dict[<type>, <type>] = ...")  [var-annotated]
+ lib/spack/spack/test/installer.py:1021: error: Need type annotation for "_old_complete_task" (hint: "_old_complete_task: <type> | None = ...")  [var-annotated]
+ lib/spack/spack/cmd/list.py:28: error: Need type annotation for "formatters" (hint: "formatters: dict[<type>, <type>] = ...")  [var-annotated]
+ lib/spack/spack/cmd/env.py:1073: error: Need type annotation for "subcommand_functions" (hint: "subcommand_functions: dict[<type>, <type>] = ...")  [var-annotated]
+ lib/spack/spack/test/mirror.py:35: error: Need type annotation for "repos" (hint: "repos: dict[<type>, <type>] = ...")  [var-annotated]

hydpy (https://github.com/hydpy-dev/hydpy)
+ hydpy/auxs/interptools.py:221: error: Need type annotation for "TIME" (hint: "TIME: <type> | None = ...")  [var-annotated]

spark (https://github.com/apache/spark)
+ python/pyspark/_globals.py:55: error: Need type annotation for "__instance" (hint: "__instance: <type> | None = ...")  [var-annotated]
+ python/pyspark/errors/utils.py:49: error: Need type annotation for "_enable_debugging_cache" (hint: "_enable_debugging_cache: <type> | None = ...")  [var-annotated]
+ python/pyspark/util.py:888: error: Need type annotation for "_is_remote_only" (hint: "_is_remote_only: <type> | None = ...")  [var-annotated]
+ python/pyspark/shuffle.py:42: error: Need type annotation for "process" (hint: "process: <type> | None = ...")  [var-annotated]
+ python/pyspark/sql/types.py:450: error: Need type annotation for "tz_info" (hint: "tz_info: <type> | None = ...")  [var-annotated]
+ python/pyspark/pandas/typedef/typehints.py:130: error: Need type annotation for "name" (hint: "name: <type> | None = ...")  [var-annotated]
+ python/pyspark/pandas/typedef/typehints.py:131: error: Need type annotation for "tpe" (hint: "tpe: <type> | None = ...")  [var-annotated]
+ python/pyspark/pandas/typedef/typehints.py:136: error: Need type annotation for "name" (hint: "name: <type> | None = ...")  [var-annotated]
+ python/pyspark/pandas/typedef/typehints.py:137: error: Need type annotation for "tpe" (hint: "tpe: <type> | None = ...")  [var-annotated]
+ python/pyspark/pandas/typedef/typehints.py:702: error: Unused "type: ignore" comment  [unused-ignore]
+ python/pyspark/pandas/typedef/typehints.py:865: error: Unused "type: ignore" comment  [unused-ignore]
+ python/pyspark/pandas/typedef/typehints.py:868: error: Unused "type: ignore" comment  [unused-ignore]
+ python/pyspark/pandas/typedef/typehints.py:879: error: Unused "type: ignore" comment  [unused-ignore]
+ python/pyspark/pandas/typedef/typehints.py:881: error: Unused "type: ignore" comment  [unused-ignore]
+ python/pyspark/streaming/util.py:38: error: Need type annotation for "_emptyRDD" (hint: "_emptyRDD: <type> | None = ...")  [var-annotated]
+ python/pyspark/streaming/context.py:61: error: Need type annotation for "_transformerSerializer" (hint: "_transformerSerializer: <type> | None = ...")  [var-annotated]
+ python/pyspark/streaming/context.py:64: error: Need type annotation for "_activeContext" (hint: "_activeContext: <type> | None = ...")  [var-annotated]
+ python/pyspark/sql/connect/streaming/worker/listener_worker.py:49: error: Need type annotation for "spark" (hint: "spark: <type> | None = ...")  [var-annotated]
+ python/pyspark/sql/connect/streaming/worker/foreach_batch_worker.py:41: error: Need type annotation for "spark" (hint: "spark: <type> | None = ...")  [var-annotated]

tornado (https://github.com/tornadoweb/tornado)
- tornado/netutil.py:518: error: Unused "type: ignore" comment  [unused-ignore]
+ tornado/platform/asyncio.py:390: error: Need type annotation for "_AnyThreadEventLoopPolicy" (hint: "_AnyThreadEventLoopPolicy: <type> | None = ...")  [var-annotated]
+ tornado/process.py:80: error: Need type annotation for "_task_id" (hint: "_task_id: <type> | None = ...")  [var-annotated]
+ tornado/autoreload.py:103: error: Need type annotation for "_watched_files" (hint: "_watched_files: set[<type>] = ...")  [var-annotated]
+ tornado/autoreload.py:104: error: Need type annotation for "_reload_hooks" (hint: "_reload_hooks: list[<type>] = ...")  [var-annotated]
+ tornado/autoreload.py:111: error: Need type annotation for "_original_spec" (hint: "_original_spec: <type> | None = ...")  [var-annotated]
+ tornado/test/web_test.py:89: error: Need type annotation for "Handler" (hint: "Handler: <type> | None = ...")  [var-annotated]
+ tornado/test/httpserver_test.py:78: error: Need type annotation for "Handler" (hint: "Handler: <type> | None = ...")  [var-annotated]

mongo-python-driver (https://github.com/mongodb/mongo-python-driver)
+ pymongo/_asyncio_lock.py:18: error: Need type annotation for "_loop" (hint: "_loop: <type> | None = ...")  [var-annotated]
+ pymongo/periodic_executor.py:265: error: Need type annotation for "_EXECUTORS" (hint: "_EXECUTORS: set[<type>] = ...")  [var-annotated]
+ pymongo/message.py:1575: error: Need type annotation for "conn_mgr" (hint: "conn_mgr: <type> | None = ...")  [var-annotated]
+ pymongo/message.py:1576: error: Need type annotation for "cursor_id" (hint: "cursor_id: <type> | None = ...")  [var-annotated]
+ pymongo/synchronous/monitor.py:504: error: Need type annotation for "_MONITORS" (hint: "_MONITORS: set[<type>] = ...")  [var-annotated]
+ pymongo/asynchronous/monitor.py:506: error: Need type annotation for "_MONITORS" (hint: "_MONITORS: set[<type>] = ...")  [var-annotated]

prefect (https://github.com/PrefectHQ/prefect)
+ src/prefect/server/database/_migrations/versions/sqlite/2025_06_13_164506_8bb517bae6f9_drop_task_run_state_id_foreign_key_.py:14: error: Need type annotation for "branch_labels" (hint: "branch_labels: <type> | None = ...")  [var-annotated]
+ src/prefect/server/database/_migrations/versions/sqlite/2025_06_13_164506_8bb517bae6f9_drop_task_run_state_id_foreign_key_.py:15: error: Need type annotation for "depends_on" (hint: "depends_on: <type> | None = ...")  [var-annotated]
+ src/prefect/server/database/_migrations/versions/sqlite/2025_05_04_193544_3c841a1800a1_add_scope_leader_idx_to_.py:14: error: Need type annotation for "branch_labels" (hint: "branch_labels: <type> | None = ...")  [var-annotated]
+ src/prefect/server/database/_migrations/versions/sqlite/2025_05_04_193544_3c841a1800a1_add_scope_leader_idx_to_.py:15: error: Need type annotation for "depends_on" (hint: "depends_on: <type> | None = ...")  [var-annotated]
+ src/prefect/server/database/_migrations/versions/sqlite/2025_02_05_152431_07ecde74d74d_add_slug_column_to_deployment_schedule.py:15: error: Need type annotation for "branch_labels" (hint: "branch_labels: <type> | None = ...")  [var-annotated]
+ src/prefect/server/database/_migrations/versions/sqlite/2025_02_05_152431_07ecde74d74d_add_slug_column_to_deployment_schedule.py:16: error: Need type annotation for "depends_on" (hint: "depends_on: <type> | None = ...")  [var-annotated]
+ src/prefect/server/database/_migrations/versions/sqlite/2024_12_04_144924_a49711513ad4_sync_orm_models_and_migrations.py:16: error: Need type annotation for "branch_labels" (hint: "branch_labels: <type> | None = ...")  [var-annotated]
+ src/prefect/server/database/_migrations/versions/sqlite/2024_12_04_144924_a49711513ad4_sync_orm_models_and_migrations.py:17: error: Need type annotation for "depends_on" (hint: "depends_on: <type> | None = ...")  [var-annotated]
+ src/prefect/server/database/_migrations/versions/sqlite/2024_08_14_145052_f93e1439f022_add_deployment_concurrency_limit.py:15: error: Need type annotation for "branch_labels" (hint: "branch_labels: <type> | None = ...")  [var-annotated]
+ src/prefect/server/database/_migrations/versions/sqlite/2024_08_14_145052_f93e1439f022_add_deployment_concurrency_limit.py:16: error: Need type annotation for "depends_on" (hint: "depends_on: <type> | None = ...")  [var-annotated]
+ src/prefect/server/database/_migrations/versions/sqlite/2024_07_15_145350_354f1ede7e9f_adding_scope_to_followers.py:15: error: Need type annotation for "branch_labels" (hint: "branch_labels: <type> | None = ...")  [var-annotated]
+ src/prefect/server/database/_migrations/versions/sqlite/2024_07_15_145350_354f1ede7e9f_adding_scope_to_followers.py:16: error: Need type annotation for "depends_on" (hint: "depends_on: <type> | None = ...")  [var-annotated]
+ src/prefect/server/database/_migrations/versions/sqlite/2024_05_01_103824_20fbd53b3cef_add_catchup_fields_to_deploymentschedule.py:15: error: Need type annotation for "branch_labels" (hint: "branch_labels: <type> | None = ...")  [var-annotated]
+ src/prefect/server/database/_migrations/versions/sqlite/2024_05_01_103824_20fbd53b3cef_add_catchup_fields_to_deploymentschedule.py:16: error: Need type annotation for "depends_on" (hint: "depends_on: <type> | None = ...")  [var-annotated]
+ src/prefect/server/database/_migrations/versions/sqlite/2024_04_23_094701_75c8f17b8b51_work_status_fields.py:15: error: Need type annotation for "branch_labels" (hint: "branch_labels: <type> | None = ...")  [var-annotated]
+ src/prefect/server/database/_migrations/versions/sqlite/2024_04_23_094701_75c8f17b8b51_work_status_fields.py:16: error: Need type annotation for "depends_on" (hint: "depends_on: <type> | None = ...")  [var-annotated]
+ src/prefect/server/database/_migrations/versions/sqlite/2024_04_04_114538_8644a9595a08_add_deployment_version_to_flow_run.py:15: error: Need type annotation for "branch_labels" (hint: "branch_labels: <type> | None = ...")  [var-annotated]
+ src/prefect/server/database/_migrations/versions/sqlite/2024_04_04_114538_8644a9595a08_add_deployment_version_to_flow_run.py:16: error: Need type annotation for "depends_on" (hint: "depends_on: <type> | None = ...")  [var-annotated]
+ src/prefect/server/database/_migrations/versions/sqlite/2024_01_05_101041_c63a0a6dc787_add_sender_to_flowruninput.py:15: error: Need type annotation for "branch_labels" (hint: "branch_labels: <type> | None = ...")  [var-annotated]
+ src/prefect/server/database/_migrations/versions/sqlite/2024_01_05_101041_c63a0a6dc787_add_sender_to_flowruninput.py:16: error: Need type annotation for "depends_on" (hint: "depends_on: <type> | None = ...")  [var-annotated]
+ src/prefect/server/database/_migrations/versions/sqlite/2023_12_07_121624_35659cc49969_make_flowruninput_flow_run_id_a_foreign_.py:14: error: Need type annotation for "branch_labels" (hint: "branch_labels: <type> | None = ...")  [var-annotated]
+ src/prefect/server/database/_migrations/versions/sqlite/2023_12_07_121624_35659cc49969_make_flowruninput_flow_run_id_a_foreign_.py:15: error: Need type annotation for "depends_on" (hint: "depends_on: <type> | None = ...")  [var-annotated]
+ src/prefect/server/database/_migrations/versions/sqlite/2023_11_20_084708_9c493c02ca6d_add_trgm_index_to_block_document_name.py:14: error: Need type annotation for "branch_labels" (hint: "branch_labels: <type> | None = ...")  [var-annotated]
+ src/prefect/server/database/_migrations/versions/sqlite/2023_11_20_084708_9c493c02ca6d_add_trgm_index_to_block_document_name.py:15: error: Need type annotation for "depends_on" (hint: "depends_on: <type> | None = ...")  [var-annotated]
+ src/prefect/server/database/_migrations/versions/sqlite/2023_10_30_103720_22ef3915ccd8_index_and_backfill_block_type_name.py:15: error: Need type annotation for "branch_labels" (hint: "branch_labels: <type> | None = ...")  [var-annotated]
+ src/prefect/server/database/_migrations/versions/sqlite/2023_10_30_103720_22ef3915ccd8_index_and_backfill_block_type_name.py:16: error: Need type annotation for "depends_on" (hint: "depends_on: <type> | None = ...")  [var-annotated]
+ src/prefect/server/database/_migrations/versions/sqlite/2023_10_30_075026_cef24af2ec34_add_block_type_name_to_block_document.py:15: error: Need type annotation for "branch_labels" (hint: "branch_labels: <type> | None = ...")  [var-annotated]
+ src/prefect/server/database/_migrations/versions/sqlite/2023_10_30_075026_cef24af2ec34_add_block_type_name_to_block_document.py:16: error: Need type annotation for "depends_on" (hint: "depends_on: <type> | None = ...")  [var-annotated]
+ src/prefect/server/database/_migrations/versions/sqlite/2023_09_25_121806_8167af8df781_remove_flow_run_id_requirement_from_task_run.py:14: error: Need type annotation for "branch_labels" (hint: "branch_labels: <type> | None = ...")  [var-annotated]
+ src/prefect/server/database/_migrations/versions/sqlite/2023_09_25_121806_8167af8df781_remove_flow_run_id_requirement_from_task_run.py:15: error: Need type annotation for "depends_on" (hint: "depends_on: <type> | None = ...")  [var-annotated]
+ src/prefect/server/database/_migrations/versions/sqlite/2023_09_21_121806_8167af8df781_make_slot_decay_per_second_not_nullable.py:15: error: Need type annotation for "branch_labels" (hint: "branch_labels: <type> | None = ...")  [var-annotated]
+ src/prefect/server/database/_migrations/versions/sqlite/2023_09_21_121806_8167af8df781_make_slot_decay_per_second_not_nullable.py:16: error: Need type annotation for "depends_on" (hint: "depends_on: <type> | None = ...")  [var-annotated]
+ src/prefect/server/database/_migrations/versions/sqlite/2023_09_20_134145_ef674d598dd3_adds_enforce_parameter_schema_column_to_.py:15: error: Need type annotation for "branch_labels" (hint: "branch_labels: <type> | None = ...")  [var-annotated]
+ src/prefect/server/database/_migrations/versions/sqlite/2023_09_20_134145_ef674d598dd3_adds_enforce_parameter_schema_column_to_.py:16: error: Need type annotation for "depends_on" (hint: "depends_on: <type> | None = ...")  [var-annotated]
+ src/prefect/server/database/_migrations/versions/sqlite/2023_09_06_084729_c2d001b7dd06_.py:15: error: Need type annotation for "branch_labels" (hint: "branch_labels: <type> | None = ...")  [var-annotated]
+ src/prefect/server/database/_migrations/versions/sqlite/2023_09_06_084729_c2d001b7dd06_.py:16: error: Need type annotation for "depends_on" (hint: "depends_on: <type> | None = ...")  [var-annotated]
+ src/prefect/server/database/_migrations/versions/sqlite/2023_04_06_122659_2dbcec43c857_migrate_artifact_data.py:15: error: Need type annotation for "branch_labels" (hint: "branch_labels: <type> | None = ...")  [var-annotated]
+ src/prefect/server/database/_migrations/versions/sqlite/2023_04_06_122659_2dbcec43c857_migrate_artifact_data.py:16: error: Need type annotation for "depends_on" (hint: "depends_on: <type> | None = ...")  [var-annotated]
+ src/prefect/server/database/_migrations/versions/sqlite/2023_04_05_120713_340f457b315f_add_column_to_deployments_for_pull_steps.py:16: error: Need type annotation for "branch_labels" (hint: "branch_labels: <type> | None = ...")  [var-annotated]
+ src/prefect/server/database/_migrations/versions/sqlite/2023_04_05_120713_340f457b315f_add_column_to_deployments_for_pull_steps.py:17: error: Need type annotation for "depends_on" (hint: "depends_on: <type> | None = ...")  [var-annotated]
+ src/prefect/server/database/_migrations/versions/sqlite/2023_04_04_115150_553920ec20e9_add_index_on_log.py:14: error: Need type annotation for "branch_labels" (hint: "branch_labels: <type> | None = ...")  [var-annotated]
+ src/prefect/server/database/_migrations/versions/sqlite/2023_04_04_115150_553920ec20e9_add_index_on_log.py:15: error: Need type annotation for "depends_on" (hint: "depends_on: <type> | None = ...")  [var-annotated]
+ src/prefect/server/database/_migrations/versions/sqlite/2023_03_20_194204_422f8ba9541d_add_artifact_idx.py:14: error: Need type annotation for "branch_labels" (hint: "branch_labels: <type> | None = ...")  [var-annotated]
+ src/prefect/server/database/_migrations/versions/sqlite/2023_03_20_194204_422f8ba9541d_add_artifact_idx.py:15: error: Need type annotation for "depends_on" (hint: "depends_on: <type> | None = ...")  [var-annotated]
+ src/prefect/server/database/_migrations/versions/sqlite/2023_03_20_153925_1d7441c031d0_remove_uq_from_artifact_table.py:14: error: Need type annotation for "branch_labels" (hint: "branch_labels: <type> | None = ...")  [var-annotated]
+ src/prefect/server/database/_migrations/versions/sqlite/2023_03_20_153925_1d7441c031d0_remove_uq_from_artifact_table.py:15: error: Need type annotation for "depends_on" (hint: "depends_on: <type> | None = ...")  [var-annotated]
+ src/prefect/server/database/_migrations/versions/sqlite/2023_03_15_123850_cf1159bd0d3c_add_artifact_description_col.py:15: error: Need type annotation for "branch_labels" (hint: "branch_labels: <type> | None = ...")  [var-annotated]
+ src/prefect/server/database/_migrations/versions/sqlite/2023_03_15_123850_cf1159bd0d3c_add_artifact_description_col.py:16: error: Need type annotation for "depends_on" (hint: "depends_on: <type> | None = ...")  [var-annotated]
+ src/prefect/server/database/_migrations/versions/sqlite/2023_03_01_165551_f3df94dca3cc_remove_flowrun_deployment_fk.py:14: error: Need type annotation for "branch_labels" (hint: "branch_labels: <type> | None = ...")  [var-annotated]
+ src/prefect/server/database/_migrations/versions/sqlite/2023_03_01_165551_f3df94dca3cc_remove_flowrun_deployment_fk.py:15: error: Need type annotation for "depends_on" (hint: "depends_on: <type> | None = ...")  [var-annotated]
+ src/prefect/server/database/_migrations/versions/sqlite/2023_02_08_152028_8d148e44e669_remove_artifact_fk.py:14: error: Need type annotation for "branch_labels" (hint: "branch_labels: <type> | None = ...")  [var-annotated]
+ src/prefect/server/database/_migrations/versions/sqlite/2023_02_08_152028_8d148e44e669_remove_artifact_fk.py:15: error: Need type annotation for "depends_on" (hint: "depends_on: <type> | None = ...")  [var-annotated]
+ src/prefect/server/database/_migrations/versions/sqlite/2023_01_31_132409_bfe42b7090d6_clean_up_work_queue_migration.py:15: error: Need type annotation for "branch_labels" (hint: "branch_labels: <type> | None = ...")  [var-annotated]
+ src/prefect/server/database/_migrations/versions/sqlite/2023_01_31_132409_bfe42b7090d6_clean_up_work_queue_migration.py:16: error: Need type annotation for "depends_on" (hint: "depends_on: <type> | None = ...")  [var-annotated]
+ src/prefect/server/database/_migrations/versions/sqlite/2023_01_31_105442_1678f2fb8b33_work_queue_data_migration.py:15: error: Need type annotation for "branch_labels" (hint: "branch_labels: <type> | None = ...")  [var-annotated]
+ src/prefect/server/database/_migrations/versions/sqlite/2023_01_31_105442_1678f2fb8b33_work_queue_data_migration.py:16: error: Need type annotation for "depends_on" (hint: "depends_on: <type> | None = ...")  [var-annotated]
+ src/prefect/server/database/_migrations/versions/sqlite/2023_01_12_000043_f92143d30c26_migrate_artifact_data.py:15: error: Need type annotation for "branch_labels" (hint: "branch_labels: <type> | None = ...")  [var-annotated]
+ src/prefect/server/database/_migrations/versions/sqlite/2023_01_12_000043_f92143d30c26_migrate_artifact_data.py:16: error: Need type annotation for "depends_on" (hint: "depends_on: <type> | None = ...")  [var-annotated]
+ src/prefect/server/database/_migrations/versions/sqlite/2023_01_12_000043_f92143d30c25_create_migration_index.py:15: error: Need type annotation for "branch_labels" (hint: "branch_labels: <type> | None = ...")  [var-annotated]
+ src/prefect/server/database/_migrations/versions/sqlite/2023_01_12_000043_f92143d30c25_create_migration_index.py:16: error: Need type annotation for "depends_on" (hint: "depends_on: <type> | None = ...")  [var-annotated]
+ src/prefect/server/database/_migrations/versions/sqlite/2022_11_18_161332_7201de756d85_add_flowrun_infrastructure_pid.py:15: error: Need type annotation for "branch_labels" (hint: "branch_labels: <type> | None = ...")  [var-annotated]
+ src/prefect/server/database/_migrations/versions/sqlite/2022_11_18_161332_7201de756d85_add_flowrun_infrastructure_pid.py:16: error: Need type annotation for "depends_on" (hint: "depends_on: <type> | None = ...")  [var-annotated]
+ src/prefect/server/database/_migrations/versions/sqlite/2022_11_10_165921_4f90ad6349bd_add_coalesced_start_time_indices.py:15: error: Need type annotation for "branch_labels" (hint: "branch_labels: <type> | None = ...")  [var-annotated]
+ src/prefect/server/database/_migrations/versions/sqlite/2022_11_10_165921_4f90ad6349bd_add_coalesced_start_time_indices.py:16: error: Need type annotation for "depends_on" (hint: "depends_on: <type> | None = ...")  [var-annotated]
+ src/prefect/server/database/_migrations/versions/sqlite/2022_11_05_180619_a0284438370e_add_index_for_scheduled_deployments.py:14: error: Need type annotation for "branch_labels" (hint: "branch_labels: <type> | None = ...")  [var-annotated]
+ src/prefect/server/database/_migrations/versions/sqlite/2022_11_05_180619_a0284438370e_add_index_for_scheduled_deployments.py:15: error: Need type annotation for "depends_on" (hint: "depends_on: <type> | None = ...")  [var-annotated]
+ src/prefect/server/database/_migrations/versions/sqlite/2022_10_19_155810_af52717cf201_track_retries_restarts.py:15: error: Need type annotation for "branch_labels" (hint: "branch_labels: <type> | None = ...")  [var-annotated]
+ src/prefect/server/database/_migrations/versions/sqlite/2022_10_19_155810_af52717cf201_track_retries_restarts.py:16: error: Need type annotation for "depends_on" (hint: "depends_on: <type> | None = ...")  [var-annotated]
+ src/prefect/server/database/_migrations/versions/sqlite/2022_10_14_172612_ad4b1b4d1e9d_index_deployment_created.py:14: error: Need type annotation for "branch_labels" (hint: "branch_labels: <type> | None = ...")  [var-annotated]
+ src/prefect/server/database/_migrations/versions/sqlite/2022_10_14_172612_ad4b1b4d1e9d_index_deployment_created.py:15: error: Need type annotation for "depends_on" (hint: "depends_on: <type> | None = ...")  [var-annotated]
+ src/prefect/server/database/_migrations/versions/sqlite/2022_08_18_102527_e757138e954a_adds_block_schema_version.py:15: error: Need type annotation for "branch_labels" (hint: "branch_labels: <type> | None = ...")  [var-annotated]

... (truncated 365 lines) ...

PyGithub (https://github.com/PyGithub/PyGithub)
+ tests/Framework.py:133: error: Need type annotation for "__openFile" (hint: "__openFile: <type> | None = ...")  [var-annotated]
+ tests/Framework.py:216: error: Need type annotation for "__openFile" (hint: "__openFile: <type> | None = ...")  [var-annotated]
+ tests/Requester.py:44: error: Need type annotation for "logger" (hint: "logger: <type> | None = ...")  [var-annotated]

pydantic (https://github.com/pydantic/pydantic)
+ pydantic/v1/networks.py:92: error: Need type annotation for "_url_regex_cache" (hint: "_url_regex_cache: <type> | None = ...")  [var-annotated]
+ pydantic/v1/networks.py:93: error: Need type annotation for "_multi_host_url_regex_cache" (hint: "_multi_host_url_regex_cache: <type> | None = ...")  [var-annotated]
+ pydantic/v1/networks.py:94: error: Need type annotation for "_ascii_domain_regex_cache" (hint: "_ascii_domain_regex_cache: <type> | None = ...")  [var-annotated]
+ pydantic/v1/networks.py:95: error: Need type annotation for "_int_domain_regex_cache" (hint: "_int_domain_regex_cache: <type> | None = ...")  [var-annotated]
+ pydantic/v1/networks.py:96: error: Need type annotation for "_host_regex_cache" (hint: "_host_regex_cache: <type> | None = ...")  [var-annotated]

bandersnatch (https://github.com/pypa/bandersnatch)
+ src/bandersnatch_storage_plugins/s3.py: note: In class "S3Storage":
+ src/bandersnatch_storage_plugins/s3.py:120: error: Need type annotation for "resource" (hint: "resource: <type> | None = ...")  [var-annotated]
+ src/bandersnatch/mirror.py: note: In class "Mirror":
+ src/bandersnatch/mirror.py:38: error: Need type annotation for "now" (hint: "now: <type> | None = ...")  [var-annotated]
+ src/bandersnatch/tests/test_configuration.py: note: In class "TestBandersnatchConf":
+ src/bandersnatch/tests/test_configuration.py:24: error: Need type annotation for "tempdir" (hint: "tempdir: <type> | None = ...")  [var-annotated]
+ src/bandersnatch/tests/test_configuration.py:25: error: Need type annotation for "cwd" (hint: "cwd: <type> | None = ...")  [var-annotated]
+ src/bandersnatch/tests/test_filter.py: note: In class "TestBandersnatchFilter":
+ src/bandersnatch/tests/test_filter.py:23: error: Need type annotation for "tempdir" (hint: "tempdir: <type> | None = ...")  [var-annotated]
+ src/bandersnatch/tests/test_filter.py:24: error: Need type annotation for "cwd" (hint: "cwd: <type> | None = ...")  [var-annotated]
+ src/bandersnatch/tests/plugins/test_storage_plugins.py: note: In class "BasePluginTestCase":
+ src/bandersnatch/tests/plugins/test_storage_plugins.py:28: error: Need type annotation for "tempdir" (hint: "tempdir: <type> | None = ...")  [var-annotated]
+ src/bandersnatch/tests/plugins/test_storage_plugins.py:29: error: Need type annotation for "cwd" (hint: "cwd: <type> | None = ...")  [var-annotated]
+ src/bandersnatch/tests/plugins/test_regex_name.py: note: In class "BasePluginTestCase":
+ src/bandersnatch/tests/plugins/test_regex_name.py:16: error: Need type annotation for "tempdir" (hint: "tempdir: <type> | None = ...")  [var-annotated]
+ src/bandersnatch/tests/plugins/test_regex_name.py:17: error: Need type annotation for "cwd" (hint: "cwd: <type> | None = ...")  [var-annotated]
+ src/bandersnatch/tests/plugins/test_prerelease_name.py: note: In class "BasePluginTestCase":
+ src/bandersnatch/tests/plugins/test_prerelease_name.py:16: error: Need type annotation for "tempdir" (hint: "tempdir: <type> | None = ...")  [var-annotated]
+ src/bandersnatch/tests/plugins/test_prerelease_name.py:17: error: Need type annotation for "cwd" (hint: "cwd: <type> | None = ...")  [var-annotated]
+ src/bandersnatch/tests/plugins/test_latest_release.py: note: In class "BasePluginTestCase":
+ src/bandersnatch/tests/plugins/test_latest_release.py:15: error: Need type annotation for "tempdir" (hint: "tempdir: <type> | None = ...")  [var-annotated]
+ src/bandersnatch/tests/plugins/test_latest_release.py:16: error: Need type annotation for "cwd" (hint: "cwd: <type> | None = ...")  [var-annotated]
+ src/bandersnatch/tests/plugins/test_filename.py: note: In class "BasePluginTestCase":
+ src/bandersnatch/tests/plugins/test_filename.py:15: error: Need type annotation for "tempdir" (hint: "tempdir: <type> | None = ...")  [var-annotated]
+ src/bandersnatch/tests/plugins/test_filename.py:16: error: Need type annotation for "cwd" (hint: "cwd: <type> | None = ...")  [var-annotated]
+ src/bandersnatch/tests/plugins/test_blocklist_name.py: note: In class "TestBlockListProject":
+ src/bandersnatch/tests/plugins/test_blocklist_name.py:18: error: Need type annotation for "tempdir" (hint: "tempdir: <type> | None = ...")  [var-annotated]
+ src/bandersnatch/tests/plugins/test_blocklist_name.py:19: error: Need type annotation for "cwd" (hint: "cwd: <type> | None = ...")  [var-annotated]
+ src/bandersnatch/tests/plugins/test_blocklist_name.py: note: In class "TestBlockListRelease":
+ src/bandersnatch/tests/plugins/test_blocklist_name.py:149: error: Need type annotation for "tempdir" (hint: "tempdir: <type> | None = ...")  [var-annotated]
+ src/bandersnatch/tests/plugins/test_blocklist_name.py:150: error: Need type annotation for "cwd" (hint: "cwd: <type> | None = ...")  [var-annotated]

aiohttp (https://github.com/aio-libs/aiohttp)
+ aiohttp/http_exceptions.py:22:5: error: Need type annotation for "headers" (hint: "headers: <type> | None = ...")  [var-annotated]
+ aiohttp/http_exceptions.py:22:5: note: See https://mypy.rtfd.io/en/stable/_refs.html#code-var-annotated for more info
+ aiohttp/connector.py:242:5: error: Need type annotation for "_source_traceback" (hint: "_source_traceback: <type> | None = ...")  [var-annotated]
+ aiohttp/client_reqrep.py:691:5: error: Need type annotation for "auth" (hint: "auth: <type> | None = ...")  [var-annotated]
+ aiohttp/client_reqrep.py:696:5: error: Need type annotation for "_response" (hint: "_response: <type> | None = ...")  [var-annotated]
+ aiohttp/client_reqrep.py:957:5: error: Need type annotation for "_continue" (hint: "_continue: <type> | None = ...")  [var-annotated]

graphql-core (https://github.com/graphql-python/graphql-core)
+ src/graphql/pyutils/cached_property.py:10: error: Need type annotation for "standard_cached_property" (hint: "standard_cached_property: <type> | None = ...")  [var-annotated]
+ src/graphql/language/visitor.py:52: error: Need type annotation for "IDLE" (hint: "IDLE: <type> | None = ...")  [var-annotated]
+ src/graphql/language/visitor.py:106: error: Need type annotation for "IDLE" (hint: "IDLE: <type> | None = ...")  [var-annotated]

altair (https://github.com/vega/altair)
+ altair/utils/schemapi.py:983: error: Need type annotation for "__instance" (hint: "__instance: <type> | None = ...")  [var-annotated]
+ tools/schemapi/schemapi.py:981: error: Need type annotation for "__instance" (hint: "__instance: <type> | None = ...")  [var-annotated]

starlette (https://github.com/encode/starlette)
+ starlette/responses.py:31: error: Need type annotation for "media_type" (hint: "media_type: <type> | None = ...")  [var-annotated]

scrapy (https://github.com/scrapy/scrapy)
+ tests/test_downloadermiddleware.py:26: error: Need type annotation for "settings_dict" (hint: "settings_dict: <type> | None = ...")  [var-annotated]
+ tests/spiders.py:359: error: Need type annotation for "seed" (hint: "seed: <type> | None = ...")  [var-annotated]
+ tests/spiders.py:360: error: Need type annotation for "callback_func" (hint: "callback_func: <type> | None = ...")  [var-annotated]
+ tests/spiders.py:361: error: Need type annotation for "errback_func" (hint: "errback_func: <type> | None = ...")  [var-annotated]
+ scrapy/pipelines/files.py:153: error: Need type annotation for "AWS_ACCESS_KEY_ID" (hint: "AWS_ACCESS_KEY_ID: <type> | None = ...")  [var-annotated]
+ scrapy/pipelines/files.py:154: error: Need type annotation for "AWS_SECRET_ACCESS_KEY" (hint: "AWS_SECRET_ACCESS_KEY: <type> | None = ...")  [var-annotated]
+ scrapy/pipelines/files.py:155: error: Need type annotation for "AWS_SESSION_TOKEN" (hint: "AWS_SESSION_TOKEN: <type> | None = ...")  [var-annotated]
+ scrapy/pipelines/files.py:156: error: Need type annotation for "AWS_ENDPOINT_URL" (hint: "AWS_ENDPOINT_URL: <type> | None = ...")  [var-annotated]
+ scrapy/pipelines/files.py:157: error: Need type annotation for "AWS_REGION_NAME" (hint: "AWS_REGION_NAME: <type> | None = ...")  [var-annotated]
+ scrapy/pipelines/files.py:158: error: Need type annotation for "AWS_USE_SSL" (hint: "AWS_USE_SSL: <type> | None = ...")  [var-annotated]
+ scrapy/pipelines/files.py:159: error: Need type annotation for "AWS_VERIFY" (hint: "AWS_VERIFY: <type> | None = ...")  [var-annotated]
+ scrapy/pipelines/files.py:275: error: Need type annotation for "GCS_PROJECT_ID" (hint: "GCS_PROJECT_ID: <type> | None = ...")  [var-annotated]
+ scrapy/pipelines/files.py:281: error: Need type annotation for "POLICY" (hint: "POLICY: <type> | None = ...")  [var-annotated]
+ tests/test_downloadermiddleware_httpauth.py:23: error: Need type annotation for "http_auth_domain" (hint: "http_auth_domain: <type> | None = ...")  [var-annotated]
+ scrapy/commands/parse.py:46: error: Need type annotation for "first_response" (hint: "first_response: <type> | None = ...")  [var-annotated]
+ tests/test_scheduler.py:106: error: Need type annotation for "jobdir" (hint: "jobdir: <type> | None = ...")  [var-annotated]
+ tests/test_pipeline_media.py:53: error: Need type annotation for "settings" (hint: "settings: <type> | None = ...")  [var-annotated]
+ tests/test_contracts.py:34: error: Need type annotation for "meta" (hint: "meta: <type> | None = ...")  [var-annotated]
+ tests/test_core_downloader.py:43: error: Need type annotation for "context_factory" (hint: "context_factory: <type> | None = ...")  [var-annotated]

paasta (https://github.com/yelp/paasta)
+ paasta_tools/utils.py:1355: error: Need type annotation for "_log_writer" (hint: "_log_writer: <type> | None = ...")  [var-annotated]
+ paasta_tools/utils.py:1357: error: Need type annotation for "_log_writer_classes" (hint: "_log_writer_classes: dict[<type>, <type>] = ...")  [var-annotated]
+ paasta_tools/monitoring/check_k8s_api_performance.py:24: error: Need type annotation for "LABEL_SELECTOR" (hint: "LABEL_SELECTOR: <type> | None = ...")  [var-annotated]
+ paasta_tools/api/api.py:229: error: Need type annotation for "_app" (hint: "_app: <type> | None = ...")  [var-annotated]
+ paasta_tools/cli/cmds/logs.py:486: error: Need type annotation for "_log_reader_classes" (hint: "_log_reader_classes: dict[<type>, <type>] = ...")  [var-annotated]

cki-lib (https://gitlab.com/cki-project/cki-lib)
+ cki_lib/gitlab.py:41: error: Need type annotation for "PER_PAGE" (hint: "PER_PAGE: <type> | None = ...")  [var-annotated]

operator (https://github.com/canonical/operator)
+ ops/lib/__init__.py:41: error: Need type annotation for "_libraries" (hint: "_libraries: <type> | None = ...")  [var-annotated]
- ops/lib/__init__.py:86: error: "None" has no attribute "get"  [attr-defined]
+ ops/lib/__init__.py:86: error: Item "None" of "Any | None" has no attribute "get"  [union-attr]

parso (https://github.com/davidhalter/parso)
+ parso/python/errors.py:1008: error: Need type annotation for "_fstring_grammar" (hint: "_fstring_grammar: <type> | None = ...")  [var-annotated]

CPython (cases_generator) (https://github.com/python/cpython)
+ Tools/cases_generator/analyzer.py:255: error: Need type annotation for "instruction_size" (hint: "instruction_size: <type> | None = ...")  [var-annotated]

pytest (https://github.com/pytest-dev/pytest)
+ src/_pytest/nodes.py:675: error: Need type annotation for "nextitem" (hint: "nextitem: <type> | None = ...")  [var-annotated]
+ src/_pytest/capture.py:629: error: Need type annotation for "_state" (hint: "_state: <type> | None = ...")  [var-annotated]
+ src/_pytest/doctest.py:65: error: Need type annotation for "RUNNER_CLASS" (hint: "RUNNER_CLASS: <type> | None = ...")  [var-annotated]
+ testing/test_pytester.py:32: error: Need type annotation for "excinfo" (hint: "excinfo: <type> | None = ...")  [var-annotated]
+ testing/test_pytester.py:45: error: Need type annotation for "excinfo" (hint: "excinfo: <type> | None = ...")  [var-annotated]
+ testing/test_config.py:1562: error: Need type annotation for "files" (hint: "files: <type> | None = ...")  [var-annotated]
+ testing/test_junitxml.py:1005: error: Need type annotation for "workerinput" (hint: "workerinput: <type> | None = ...")  [var-annotated]
+ testing/test_junitxml.py:1015: error: Need type annotation for "junitprefix" (hint: "junitprefix: <type> | None = ...")  [var-annotated]

mitmproxy (https://github.com/mitmproxy/mitmproxy)
+ mitmproxy/io/compat.py:281: error: Need type annotation for "_websocket_handshakes" (hint: "_websocket_handshakes: dict[<type>, <type>] = ...")  [var-annotated]
+ mitmproxy/utils/asyncio_utils.py:11: error: Need type annotation for "_KEEP_ALIVE" (hint: "_KEEP_ALIVE: set[<type>] = ...")  [var-annotated]
+ examples/addons/websocket-inject-message.py:37: error: Need type annotation for "tasks" (hint: "tasks: set[<type>] = ...")  [var-annotated]

sympy (https://github.com/sympy/sympy)
+ sympy/polys/polyconfig.py:28: error: Need type annotation for "_current_config" (hint: "_current_config: dict[<type>, <type>] = ...")  [var-annotated]
+ sympy/utilities/timeutils.py:47: error: Need type annotation for "_timestack" (hint: "_timestack: <type> | None = ...")  [var-annotated]
+ sympy/testing/tests/diagnose_imports.py:123: error: Need type annotation for "sorted_messages" (hint: "sorted_messages: list[<type>] = ...")  [var-annotated]
+ sympy/core/tests/test_logic.py:9: error: Need type annotation for "U" (hint: "U: <type> | None = ...")  [var-annotated]
+ sympy/core/tests/test_facts.py:8: error: Need type annotation for "U" (hint: "U: <type> | None = ...")  [var-annotated]
+ sympy/logic/boolalg.py:610: error: Need type annotation for "nargs" (hint: "nargs: <type> | None = ...")  [var-annotated]
+ sympy/assumptions/assume.py:381: error: Need type annotation for "handler" (hint: "handler: <type> | None = ...")  [var-annotated]
+ sympy/combinatorics/graycode.py:52: error: Need type annotation for "_rank" (hint: "_rank: <type> | None = ...")  [var-annotated]
+ sympy/combinatorics/free_groups.py:386: error: Need type annotation for "_hash" (hint: "_hash: <type> | None = ...")  [var-annotated]
+ sympy/printing/pretty/stringpict.py:20: error: Need type annotation for "_GLOBAL_WRAP_LINE" (hint: "_GLOBAL_WRAP_LINE: <type> | None = ...")  [var-annotated]
+ sympy/functions/elementary/piecewise.py:128: error: Need type annotation for "nargs" (hint: "nargs: <type> | None = ...")  [var-annotated]
+ sympy/combinatorics/subsets.py:30: error: Need type annotation for "_rank_binary" (hint: "_rank_binary: <type> | None = ...")  [var-annotated]
+ sympy/combinatorics/subsets.py:31: error: Need type annotation for "_rank_lex" (hint: "_rank_lex: <type> | None = ...")  [var-annotated]
+ sympy/combinatorics/subsets.py:32: error: Need type annotation for "_rank_graycode" (hint: "_rank_graycode: <type> | None = ...")  [var-annotated]
+ sympy/combinatorics/subsets.py:33: error: Need type annotation for "_subset" (hint: "_subset: <type> | None = ...")  [var-annotated]
+ sympy/combinatorics/subsets.py:34: error: Need type annotation for "_superset" (hint: "_superset: <type> | None = ...")  [var-annotated]
+ sympy/combinatorics/coset_table.py:50: error: Need type annotation for "coset_table_limit" (hint: "coset_table_limit: <type> | None = ...")  [var-annotated]
+ sympy/assumptions/relation/equality.py:56: error: Need type annotation for "handler" (hint: "handler: <type> | None = ...")  [var-annotated]
+ sympy/assumptions/relation/equality.py:100: error: Need type annotation for "handler" (hint: "handler: <type> | None = ...")  [var-annotated]
+ sympy/assumptions/relation/equality.py:144: error: Need type annotation for "handler" (hint: "handler: <type> | None = ...")  [var-annotated]
+ sympy/assumptions/relation/equality.py:192: error: Need type annotation for "handler" (hint: "handler: <type> | None = ...")  [var-annotated]
+ sympy/assumptions/relation/equality.py:240: error: Need type annotation for "handler" (hint: "handler: <type> | None = ...")  [var-annotated]
+ sympy/assumptions/relation/equality.py:288: error: Need type annotation for "handler" (hint: "handler: <type> | None = ...")  [var-annotated]
+ sympy/printing/pycode.py:83: error: Need type annotation for "modules" (hint: "modules: <type> | None = ...")  [var-annotated]
+ sympy/combinatorics/prufer.py:27: error: Need type annotation for "_prufer_repr" (hint: "_prufer_repr: <type> | None = ...")  [var-annotated]
+ sympy/combinatorics/prufer.py:28: error: Need type annotation for "_tree_repr" (hint: "_tree_repr: <type> | None = ...")  [var-annotated]
+ sympy/combinatorics/prufer.py:29: error: Need type annotation for "_nodes" (hint: "_nodes: <type> | None = ...")  [var-annotated]
+ sympy/combinatorics/prufer.py:30: error: Need type annotation for "_rank" (hint: "_rank: <type> | None = ...")  [var-annotated]
+ sympy/polys/domains/modularinteger.py:19: error: Need type annotation for "mod" (hint: "mod: <type> | None = ...")  [var-annotated]
+ sympy/polys/domains/modularinteger.py:19: error: Need type annotation for "dom" (hint: "dom: <type> | None = ...")  [var-annotated]
+ sympy/polys/domains/modularinteger.py:19: error: Need type annotation for "sym" (hint: "sym: <type> | None = ...")  [var-annotated]
+ sympy/polys/domains/modularinteger.py:19: error: Need type annotation for "_parent" (hint: "_parent: <type> | None = ...")  [var-annotated]
+ sympy/polys/domains/finitefield.py:208: error: Need type annotation for "dom" (hint: "dom: <type> | None = ...")  [var-annotated]
+ sympy/polys/domains/finitefield.py:209: error: Need type annotation for "mod" (hint: "mod: <type> | None = ...")  [var-annotated]
+ sympy/polys/rings.py:806: error: Need type annotation for "_hash" (hint: "_hash: <type> | None = ...")  [var-annotated]
+ sympy/solvers/solveset.py:330: error: Need type annotation for "_trig_inverses" (hint: "_trig_inverses: <type> | None = ...")  [var-annotated]
+ sympy/solvers/solveset.py:331: error: Need type annotation for "_hyp_inverses" (hint: "_hyp_inverses: <type> | None = ...")  [var-annotated]
+ sympy/solvers/ode/single.py:80: error: Need type annotation for "_eq_high_order_free" (hint: "_eq_high_order_free: <type> | None = ...")  [var-annotated]
+ sympy/simplify/trigsimp.py:817: error: Need type annotation for "_trigpat" (hint: "_trigpat: <type> | None = ...")  [var-annotated]
+ sympy/simplify/hyperexpand.py:1951: error: Need type annotation for "_collection" (hint: "_collection: <type> | None = ...")  [var-annotated]
+ sympy/simplify/hyperexpand.py:2196: error: Need type annotation for "_meijercollection" (hint: "_meijercollection: <type> | None = ...")  [var-annotated]
+ sympy/polys/fields.py:360: error: Need type annotation for "_hash" (hint: "_hash: <type> | None = ...")  [var-annotated]
+ sympy/matrices/matrixbase.py:142: error: Need type annotation for "_simplify" (hint: "_simplify: <type> | None = ...")  [var-annotated]
+ sympy/integrals/transforms.py:818: error: Need type annotation for "_allowed" (hint: "_allowed: <type> | None = ...")  [var-annotated]
+ sympy/integrals/meijerint.py:1468: error: Need type annotation for "_lookup_table" (hint: "_lookup_table: <type> | None = ...")  [var-annotated]
+ sympy/functions/elementary/trigonometric.py:1618: error: Need type annotation for "_reciprocal_of" (hint: "_reciprocal_of: <type> | None = ...")  [var-annotated]
+ sympy/functions/elementary/hyperbolic.py:1009: error: Need type annotation for "_reciprocal_of" (hint: "_reciprocal_of: <type> | None = ...")  [var-annotated]
+ sympy/printing/c.py:216: error: Need type annotation for "math_macros" (hint: "math_macros: <type> | None = ...")  [var-annotated]
+ sympy/integrals/manualintegrate.py:1416: error: Need type annotation for "_wilds" (hint: "_wilds: list[<type>] = ...")  [var-annotated]
+ sympy/integrals/heurisch.py:246: error: Need type annotation for "_bessel_table" (hint: "_bessel_table: <type> | None = ...")  [var-annotated]
+ sympy/combinatorics/permutations.py:896: error: Need type annotation for "_array_form" (hint: "_array_form: <type> | None = ...")  [var-annotated]
+ sympy/combinatorics/permutations.py:897: error: Need type annotation for "_cyclic_form" (hint: "_cyclic_form: <type> | None = ...")  [var-annotated]
+ sympy/combinatorics/permutations.py:898: error: Need type annotation for "_cycle_structure" (hint: "_cycle_structure: <type> | None = ...")  [var-annotated]
+ sympy/combinatorics/permutations.py:899: error: Need type annotation for "_size" (hint: "_size: <type> | None = ...")  [var-annotated]
+ sympy/combinatorics/permutations.py:900: error: Need type annotation for "_rank" (hint: "_rank: <type> | None = ...")  [var-annotated]
+ sympy/combinatorics/permutations.py:3050: error: Need type annotation for "print_cyclic" (hint: "print_cyclic: <type> | None = ...")  [var-annotated]
+ sympy/combinatorics/partitions.py:28: error: Need type annotation for "_rank" (hint: "_rank: <type> | None = ...")  [var-annotated]
+ sympy/combinatorics/partitions.py:29: error: Need type annotation for "_partition" (hint: "_partition: <type> | None = ...")  [var-annotated]
+ sympy/combinatorics/partitions.py:334: error: Need type annotation for "_dict" (hint: "_dict: <type> | None = ...")  [var-annotated]
+ sympy/combinatorics/partitions.py:335: error: Need type annotation for "_keys" (hint: "_keys: <type> | None = ...")  [var-annotated]
+ sympy/combinatorics/polyhedron.py:32: error: Need type annotation for "_edges" (hint: "_edges: <type> | None = ...")  [var-annotated]
+ sympy/utilities/codegen.py:539: error: Need type annotation for "printer" (hint: "printer: <type> | None = ...")  [var-annotated]
+ sympy/printing/llvmjitcode.py:152: error: Need type annotation for "exe_engines" (hint: "exe_engines: list[<type>] = ...")  [var-annotated]
+ sympy/printing/llvmjitcode.py:155: error: Need type annotation for "link_names" (hint: "link_names: set[<type>] = ...")  [var-annotated]
+ sympy/parsing/mathematica.py:680: error: Need type annotation for "_regex_tokenizer" (hint: "_regex_tokenizer: <type> | None = ...")  [var-annotated]
+ sympy/matrices/common.py:132: error: Need type annotation for "_simplify" (hint: "_simplify: <type> | None = ...")  [var-annotated]
+ sympy/holonomic/holonomic.py:2195: error: Need type annotation for "_lookup_table" (hint: "_lookup_table: <type> | None = ...")  [var-annotated]
+ sympy/holonomic/holonomic.py:2196: error: Need type annotation for "domain_for_table" (hint: "domain_for_table: <type> | None = ...")  [var-annotated]
+ sympy/utilities/tests/test_lambdify.py:2130: error: Need type annotation for "SIGNATURE" (hint: "SIGNATURE: <type> | None = ...")  [var-annotated]
+ sympy/utilities/tests/test_lambdify.py:2131: error: Need type annotation for "EXPR" (hint: "EXPR: <type> | None = ...")  [var-annotated]
+ sympy/utilities/tests/test_lambdify.py:2132: error: Need type annotation for "SRC" (hint: "SRC: <type> | None = ...")  [var-annotated]
+ sympy/parsing/latex/_parse_latex_antlr.py:13: error: Need type annotation for "MathErrorListener" (hint: "MathErrorListener: <type> | None = ...")  [var-annotated]

comtypes (https://github.com/enthought/comtypes)
+ comtypes/tools/typedesc_base.py:65: error: Need type annotation for "location" (hint: "location: <type> | None = ...")  [var-annotated]

... (truncated 528 lines) ...```

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant