Skip to content

Commit dd53476

Browse files
authored
Merge pull request #19 from BarnabasG/initial
1.3.3 Optional dependencies
2 parents 5676264 + 1ea6e26 commit dd53476

2 files changed

Lines changed: 38 additions & 14 deletions

File tree

pyproject.toml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,25 @@
11
[project]
22
name = "pytest-api-cov"
3-
version = "1.3.2"
3+
version = "1.3.3"
44
description = "Pytest Plugin to provide API Coverage statistics for Python Web Frameworks"
55
readme = "README.md"
66
authors = [{ name = "Barnaby Gill", email = "barnabasgill@gmail.com" }]
77
license = { text = "Apache-2.0" }
88
requires-python = ">=3.10"
99

1010
dependencies = [
11-
"fastapi>=0.68.0",
12-
"flask>=2.0.0",
13-
"httpx>=0.20.0",
1411
"pydantic>=2.0.0",
1512
"rich>=10.0.0",
16-
"starlette>=0.14.0",
1713
"tomli>=1.2.0",
1814
"pytest>=6.0.0",
1915
"PyYAML>=6.0",
2016
]
2117

18+
[project.optional-dependencies]
19+
django = ["django>=4.0.0"]
20+
fastapi = ["fastapi>=0.68.0", "httpx>=0.20.0", "starlette>=0.14.0"]
21+
flask = ["flask>=2.0.0"]
22+
2223
[project.urls]
2324
Source = "https://github.com/BarnabasG/api-coverage"
2425

@@ -34,6 +35,10 @@ dev = [
3435
"vulture>=2.14",
3536
"types-PyYAML>=6.0",
3637
"django>=4.0.0",
38+
"fastapi>=0.68.0",
39+
"flask>=2.0.0",
40+
"httpx>=0.20.0",
41+
"starlette>=0.14.0",
3742
]
3843

3944
# API COVERAGE

uv.lock

Lines changed: 28 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)