mirror of
https://github.com/element-hq/synapse.git
synced 2026-09-17 10:14:59 +00:00
Fix lints
This commit is contained in:
@@ -494,7 +494,7 @@ Options for each entry include:
|
||||
|
||||
* `bind_addresses` (array|null): A list of local addresses to listen on. The default is "all local interfaces".
|
||||
|
||||
* `type` (string): The type of listener. Normally `http`, but other valid options are [`manhole`](../../manhole.md) and [`metrics`](../../metrics-howto.md).
|
||||
* `type` (string): The type of listener. Normally `http`, but other valid options are [`manhole`](../../manhole.md).
|
||||
|
||||
* `tls` (boolean): Set to true to enable TLS for this listener. Will use the TLS key/cert specified in tls_private_key_path/tls_certificate_path.
|
||||
|
||||
|
||||
@@ -18,11 +18,8 @@
|
||||
# [This file includes modifications made by New Vector Limited]
|
||||
#
|
||||
#
|
||||
from importlib import metadata
|
||||
from typing import Dict, Protocol, Tuple
|
||||
from unittest.mock import patch
|
||||
|
||||
from pkg_resources import parse_version
|
||||
from prometheus_client.core import Sample
|
||||
|
||||
from synapse.metrics import REGISTRY, InFlightGauge, generate_latest
|
||||
|
||||
Reference in New Issue
Block a user