Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Type hints for tests.appservice #14990

Merged
merged 7 commits into from
Feb 6, 2023
Merged

Commits on Feb 5, 2023

  1. Accept a Sequence of events in synapse.appservice

    This avoids some casts/ignores in the tests I'm about to fixup. It seems
    that `List[Mock]` is not a subtype of `List[EventBase]`, but
    `Sequence[Mock]` is a subtype of `Sequence[EventBase]`. So presumably
    `Mock` is considered a subtype of anything, much like `Any`.
    David Robertson committed Feb 5, 2023
    Configuration menu
    Copy the full SHA
    92d3f62 View commit details
    Browse the repository at this point in the history
  2. make tests.appservice.test_scheduler pass mypy

    David Robertson committed Feb 5, 2023
    Configuration menu
    Copy the full SHA
    c3497fd View commit details
    Browse the repository at this point in the history
  3. Extra hints in tests.appservice.test_scheduler

    David Robertson committed Feb 5, 2023
    Configuration menu
    Copy the full SHA
    701a658 View commit details
    Browse the repository at this point in the history
  4. Extra hints in tests.appservice.test_api

    David Robertson committed Feb 5, 2023
    Configuration menu
    Copy the full SHA
    1a7bdb1 View commit details
    Browse the repository at this point in the history
  5. Extra hints in tests.appservice.test_appservice

    David Robertson committed Feb 5, 2023
    Configuration menu
    Copy the full SHA
    e69ca84 View commit details
    Browse the repository at this point in the history
  6. Disallow untyped defs

    David Robertson committed Feb 5, 2023
    Configuration menu
    Copy the full SHA
    b907664 View commit details
    Browse the repository at this point in the history
  7. Changelog

    David Robertson committed Feb 5, 2023
    Configuration menu
    Copy the full SHA
    bea378a View commit details
    Browse the repository at this point in the history