-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
60 lines (52 loc) · 1.46 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
51
52
53
54
55
56
57
58
59
[tool.poetry]
name = "complexheart-criteria"
version = "0.1.0"
description = "Small implementation of a filter criteria pattern in Python for Complex Heart SDK. Compose several filters using fluent interface."
authors = [
"Unay Santisteban <usantisteban@othercode.es>",
]
license = "Apache-2.0"
readme = "./README.md"
repository = "https://github.com/ComplexHeart/py-criteria"
packages = [
{ include = "complexheart" },
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
]
keywords = [
"specification-pattern",
"criteria",
]
[tool.poetry.dependencies]
python = "^3.8"
[tool.poetry.dev-dependencies]
flake8 = "^4.0.1"
coverage = { extras = ["toml"], version = "^6.3.1" }
pytest = "^6.2.5"
pytest-cov = "^3.0.0"
pytest-mock = "^3.7.0"
[build-system]
requires = ["poetry-core>=1.0.0", "setuptools>=42"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
testpaths = "tests"
addopts = "--cov=complexheart --cov-report=term-missing:skip-covered --cov-report=html --cov-report=xml"
[tool.coverage.run]
omit = ["tests/*", "venv*/*", "setup.py"]
relative_files = true
branch = true
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __str__",
"def __repr__",
"import",
"raise NotImplementedError",
"if __name__ == .__main__.:",
]
[tool.coverage.html]
skip_covered = true