-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
90 lines (79 loc) · 2.04 KB
/
pyproject.toml
File metadata and controls
90 lines (79 loc) · 2.04 KB
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
[project]
name = "complex-heart-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."
readme = "README.md"
license = "MIT"
requires-python = ">=3.11"
authors = [
{ name = "Unay Santisteban", email = "usantisteban@othercode.es" }
]
keywords = [
"specification-pattern",
"criteria",
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Libraries",
"Typing :: Typed",
]
dependencies = []
[project.urls]
Homepage = "https://github.com/ComplexHeart/py-criteria"
Repository = "https://github.com/ComplexHeart/py-criteria.git"
Issues = "https://github.com/ComplexHeart/py-criteria/issues"
[build-system]
requires = ["setuptools>=70.0.0"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
where = ["src"]
[dependency-groups]
dev = [
"pytest>=8.0.0",
"pytest-cov>=6.0.0",
"pytest-mock>=3.14.0",
"ruff>=0.9.0",
"mypy>=1.0.0",
]
[tool.ruff]
target-version = "py311"
line-length = 120
indent-width = 4
exclude = [
".eggs",
".git",
".pytest_cache",
".ruff_cache",
".venv",
"build",
"dist",
]
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B", "SIM", "RUF"]
[tool.pytest.ini_options]
pythonpath = [".", "src"]
testpaths = ["tests"]
addopts = "--cov=complexheart --cov-report=term-missing --cov-report=xml"
[tool.coverage.run]
branch = true
source = ["src/complexheart"]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"pragma: no branch",
"if TYPE_CHECKING:",
"def __repr__",
"raise NotImplementedError",
]
[tool.mypy]
python_version = "3.11"
strict = false
warn_return_any = true
warn_unused_ignores = true
disallow_untyped_defs = false