Add Scalene

This commit is contained in:
Olivier Wilkinson (reivilibre) 2022-12-19 20:01:22 +00:00
parent 16d70d0627
commit 5ebd31c349
3 changed files with 2261 additions and 2134 deletions

View file

@ -177,6 +177,9 @@ ignore_missing_imports = True
[mypy-saml2.*]
ignore_missing_imports = True
[mypy-scalene.*]
ignore_missing_imports = True
[mypy-service_identity.*]
ignore_missing_imports = True

4388
poetry.lock generated

File diff suppressed because it is too large Load diff

View file

@ -210,6 +210,8 @@ parameterized = { version = ">=0.7.4", optional = true }
idna = { version = ">=2.5", optional = true }
pyicu = { version = ">=2.10.2", optional = true }
scalene = { version = ">=1.5.16", optional = true, python = ">=3.8,<4.0.0" }
[tool.poetry.extras]
# NB: Packages that should be part of `pip install matrix-synapse[all]` need to be specified
# twice: once here, and once in the `all` extra.
@ -236,6 +238,8 @@ test = ["parameterized", "idna"]
# Debian-based distributions).
user-search = ["pyicu"]
scalene = ["scalene"]
# The duplication here is awful. I hate hate hate hate hate it. However, for now I want
# to ensure you can still `pip install matrix-synapse[all]` like today. Two motivations:
# 1) for new installations, I want instructions in existing documentation and tutorials