-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
50 lines (40 loc) · 1.03 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
[tool.poetry]
name = "testing-examples"
version = "0.1.0"
description = "A collection of examples for testing python code using pytest."
authors = ["Matthew Price <matthew.g.price@ons.gov.uk>"]
license = "MIT"
readme = "README.md"
packages = [{include = "examples"}]
[tool.poetry.dependencies]
python = "^3.11"
coverage = {extras = ["toml"], version = "^7.1.0"}
pytest = "^7.2.1"
pytest-cov = "^4.0.0"
pytest-lazy-fixture = "^0.6.3"
pytest-mock = "^3.10.0"
pyspark = "^3.5.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
xfail_strict = true
[tool.coverage.run]
branch = true
source = ["cprices_utils"]
dynamic_context = 'test_function'
[tool.coverage.report]
fail_under = 0
exclude_lines = [
"pragma: no cover",
"if __name__ == .__main__.:",
"__version__ = ",
]
# List any filepaths here (relative to source defined above) to exclude from
# the final coverage test report.
omit = [
]
skip_empty = true
show_missing = true
[tool.coverage.html]
show_contexts = true