synapse guest module: generate coverage report
This commit is contained in:
@@ -29,6 +29,7 @@ dev =
|
||||
tox
|
||||
twisted
|
||||
aiounittest
|
||||
coverage
|
||||
# for type checking
|
||||
mypy == 1.10.0
|
||||
pydantic == 2.4.2
|
||||
@@ -38,6 +39,11 @@ dev =
|
||||
isort == 5.9.3
|
||||
|
||||
|
||||
[coverage:run]
|
||||
relative_files = True
|
||||
branch = True
|
||||
|
||||
|
||||
[flake8]
|
||||
# see https://pycodestyle.readthedocs.io/en/latest/intro.html#error-codes
|
||||
# for error codes. The ones we ignore are:
|
||||
|
||||
@@ -9,7 +9,8 @@ isolated_build = true
|
||||
extras = dev
|
||||
|
||||
commands =
|
||||
python -m twisted.trial tests
|
||||
coverage run -m twisted.trial tests
|
||||
coverage xml
|
||||
|
||||
[testenv:check_codestyle]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user