-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add xdoctest * Added requirements for coverage
- Loading branch information
Showing
5 changed files
with
50 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
[build-system] | ||
requires = [ "setuptools>=41.0.1",] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[tool.mypy] | ||
ignore_missing_imports = true | ||
|
||
[tool.pytest.ini_options] | ||
addopts = "--xdoctest --ignore-glob=setup.py" | ||
norecursedirs = ".git build __pycache__ docs" | ||
filterwarnings = [ "default", ] | ||
|
||
[tool.coverage.run] | ||
branch = true | ||
source = ["ovos_dinkum_listener"] | ||
|
||
[tool.coverage.report] | ||
exclude_lines = [ | ||
"pragma: no cover", | ||
".* # pragma: no cover", | ||
".* # nocover", | ||
"def __repr__", | ||
"raise AssertionError", | ||
"raise NotImplementedError", | ||
"if 0:", | ||
"if trace is not None", | ||
"verbose = .*", | ||
"^ *raise", | ||
"^ *pass *$", | ||
"if _debug:", | ||
"if __name__ == .__main__.:", | ||
] | ||
omit = [ | ||
"*/setup.py", | ||
] | ||
|
||
[tool.xdoctest] | ||
options = '' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
pytest~=7.1 | ||
ovos-vad-plugin-webrtcvad | ||
ovos-vad-plugin-webrtcvad | ||
xdoctest~=1.1.5 | ||
pytest-cov>=3.0.0 | ||
coverage>=7.2.7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,6 @@ | |
# | ||
import os | ||
import os.path | ||
from pathlib import Path | ||
|
||
from setuptools import setup | ||
|
||
|