-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
115 lines (101 loc) · 2.82 KB
/
pyproject.toml
File metadata and controls
115 lines (101 loc) · 2.82 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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
[project]
name = "pyssertive"
dynamic = ["version"]
description = "Fluent, chainable assertions for Django tests. Inspired by Laravel's elegant testing API."
readme = "README.md"
license = { text = "MIT" }
requires-python = ">=3.10"
authors = [
{ name = "Unay Santisteban", email = "usantisteban@othercode.io" }
]
keywords = ["django", "testing", "assertions", "fluent", "pytest"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Framework :: Django",
"Framework :: Django :: 4.2",
"Framework :: Django :: 5.2",
"Framework :: Django :: 6.0",
"Framework :: Pytest",
"Topic :: Software Development :: Testing",
"Typing :: Typed",
]
dependencies = [
"Django>=4.2",
"beautifulsoup4>=4.12",
"grimp>=3.0",
"jsonschema>=4.26.0",
"typing_extensions>=4.0; python_version < '3.11'",
]
[project.urls]
Homepage = "https://github.com/othercodes/pyssertive"
Repository = "https://github.com/othercodes/pyssertive.git"
Issues = "https://github.com/othercodes/pyssertive/issues"
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[tool.hatch.version]
source = "vcs"
fallback-version = "0.0.0.dev0"
[tool.hatch.build.hooks.vcs]
version-file = "src/pyssertive/_version.py"
[tool.hatch.build.targets.wheel]
packages = ["src/pyssertive"]
[dependency-groups]
dev = [
"pytest>=8.0.0",
"pytest-django>=4.8.0",
"pytest-cov>=6.0.0",
"ruff>=0.15.9",
"mypy>=1.0.0",
"django-stubs>=5.0.0",
]
[tool.ruff]
target-version = "py310"
line-length = 120
indent-width = 4
exclude = [
".eggs",
".git",
".pytest_cache",
".ruff_cache",
".venv",
"build",
"dist",
"src/pyssertive/_version.py",
]
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B", "SIM", "RUF"]
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "tests.app.settings"
pythonpath = [".", "src"]
addopts = "--cov=pyssertive --cov-report=term-missing --cov-fail-under=100"
[tool.coverage.run]
branch = true
source = ["src/pyssertive"]
omit = ["src/pyssertive/_version.py"]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"pragma: no branch",
"if TYPE_CHECKING:",
"@overload",
]
[tool.mypy]
python_version = "3.10"
exclude = ["src/pyssertive/_version\\.py$"]
plugins = ["mypy_django_plugin.main"]
strict = false
warn_return_any = true
warn_unused_ignores = true
disallow_untyped_defs = false
[tool.django-stubs]
django_settings_module = "tests.app.settings"