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

More types for synapse.util, part 1 #10888

Merged
merged 23 commits into from
Oct 6, 2021

Commits on Sep 22, 2021

  1. Make synapse.util.versionstring pass no-untyped-def

    David Robertson committed Sep 22, 2021
    Configuration menu
    Copy the full SHA
    8cffbb5 View commit details
    Browse the repository at this point in the history
  2. Make synapse.utils.daemonize pass no-untyped-def

    David Robertson committed Sep 22, 2021
    Configuration menu
    Copy the full SHA
    f3ad101 View commit details
    Browse the repository at this point in the history
  3. Additional typing in synapse.util.metrics

    Didn't get this to pass `no-untyped-def`, think I'll need to watch #10847
    David Robertson committed Sep 22, 2021
    Configuration menu
    Copy the full SHA
    0a70837 View commit details
    Browse the repository at this point in the history
  4. Make synapse.util.caches.ttlcache pass no-untyped-defs

    David Robertson committed Sep 22, 2021
    Configuration menu
    Copy the full SHA
    9de84e6 View commit details
    Browse the repository at this point in the history
  5. Make patch_inline_callbacks pass no-untyped-defs

    David Robertson committed Sep 22, 2021
    Configuration menu
    Copy the full SHA
    19bdaec View commit details
    Browse the repository at this point in the history
  6. Make stream_change_cache pass no-untyped-defs

    David Robertson committed Sep 22, 2021
    Configuration menu
    Copy the full SHA
    53dae76 View commit details
    Browse the repository at this point in the history
  7. Make cached_call pass no-untyped-def

    David Robertson committed Sep 22, 2021
    Configuration menu
    Copy the full SHA
    8d1da44 View commit details
    Browse the repository at this point in the history
  8. Make lrucache pass no-untyped-def

    David Robertson committed Sep 22, 2021
    Configuration menu
    Copy the full SHA
    9f9073f View commit details
    Browse the repository at this point in the history
  9. Make response_cache pass no-untyped-def

    David Robertson committed Sep 22, 2021
    Configuration menu
    Copy the full SHA
    894be5f View commit details
    Browse the repository at this point in the history
  10. Make deferred_cache pass no-untyped-def

    David Robertson committed Sep 22, 2021
    Configuration menu
    Copy the full SHA
    0f21b3d View commit details
    Browse the repository at this point in the history
  11. changelog

    David Robertson committed Sep 22, 2021
    Configuration menu
    Copy the full SHA
    79c2ec7 View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2021

  1. Corrections to type annotations (thanks Sean)

    David Robertson committed Sep 23, 2021
    Configuration menu
    Copy the full SHA
    c3b6eff View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2021

  1. Remove unused enumerate_leaves

    David Robertson committed Sep 27, 2021
    Configuration menu
    Copy the full SHA
    5c740ef View commit details
    Browse the repository at this point in the history
  2. Revert measure_func changes

    David Robertson committed Sep 27, 2021
    Configuration menu
    Copy the full SHA
    fe9d045 View commit details
    Browse the repository at this point in the history
  3. I think I missed some linting

    David Robertson committed Sep 27, 2021
    Configuration menu
    Copy the full SHA
    f0802b3 View commit details
    Browse the repository at this point in the history
  4. Let's not annotate DeferredCache.invalidate

    David Robertson committed Sep 27, 2021
    Configuration menu
    Copy the full SHA
    ee5e676 View commit details
    Browse the repository at this point in the history
  5. Restore exception raising in versionstring.py

    David Robertson committed Sep 27, 2021
    Configuration menu
    Copy the full SHA
    9ec04a4 View commit details
    Browse the repository at this point in the history
  6. Merge branch 'develop' into dmr/more-types-for-synapse.util

    David Robertson committed Sep 27, 2021
    Configuration menu
    Copy the full SHA
    1f7a31d View commit details
    Browse the repository at this point in the history
  7. Protocol is in typing_extensions until 3.8

    David Robertson committed Sep 27, 2021
    Configuration menu
    Copy the full SHA
    96b8481 View commit details
    Browse the repository at this point in the history

Commits on Sep 29, 2021

  1. Workaround attrs + slots + generic problem

    David Robertson committed Sep 29, 2021
    Configuration menu
    Copy the full SHA
    723c431 View commit details
    Browse the repository at this point in the history
  2. Use string literals "Deferred[T]" in annotations

    Seems to be required for the "olddeps" step (which runs on Ubuntu bionic)
    David Robertson committed Sep 29, 2021
    Configuration menu
    Copy the full SHA
    cf923f6 View commit details
    Browse the repository at this point in the history
  3. Workaround didn't work, sod it

    David Robertson committed Sep 29, 2021
    Configuration menu
    Copy the full SHA
    59b524b View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2021

  1. Merge branch 'develop' into dmr/more-types-for-synapse.util

    David Robertson committed Oct 4, 2021
    Configuration menu
    Copy the full SHA
    2e82869 View commit details
    Browse the repository at this point in the history