Skip to content

Commit 8449fbf

Browse files
committed
Move example-pytest-selfie over to uv.
1 parent ea3d4f9 commit 8449fbf

File tree

3 files changed

+784
-23
lines changed

3 files changed

+784
-23
lines changed
Lines changed: 29 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,36 @@
1-
[tool.poetry]
1+
[project]
22
name = "example-pytest-selfie"
33
version = "0.1.0"
44
description = "An example project for using the pytest plugin for selfie snapshot testing."
5-
authors = ["Selina Delgado <[email protected]>","Harvir Sahota <[email protected]>","Ned Twigg <[email protected]>","Edwin Ye <[email protected]>"]
6-
license = "Apache-2.0"
7-
package-mode = false
5+
authors = [
6+
{ name = "Edwin Ye", email = "[email protected]" },
7+
{ name = "Harvir Sahota", email = "[email protected]" },
8+
{ name = "Ned Twigg", email = "[email protected]" },
9+
{ name = "Selina Delgado", email = "[email protected]"}
10+
]
11+
license = { text = "Apache-2.0" }
12+
readme = "README.md"
13+
requires-python = ">=3.9"
14+
dependencies = [
15+
"flask>=3.0.3",
16+
"openai>=1.0.0",
17+
]
818

9-
[tool.poetry.dependencies]
10-
flask = "^3.0.3"
11-
openai = "^1.0.0"
12-
python = "^3.9"
19+
[tool.uv.sources]
20+
selfie-lib = { path = "../selfie-lib", editable = true }
21+
pytest-selfie = { path = "../pytest-selfie", editable = true }
1322

14-
[tool.poetry.group.dev.dependencies]
15-
ruff = "^0.5.0"
16-
pyright = "^1.1.350"
17-
pytest = "^8.0.0"
18-
selfie-lib = { path = "../selfie-lib", develop = true }
19-
pytest-selfie = { path = "../pytest-selfie", develop = true }
20-
markdownify = "^0.12.1"
21-
beautifulsoup4 = "^4.12.3"
22-
werkzeug = "^3.0.3"
23-
24-
[build-system]
25-
requires = ["poetry-core"]
26-
build-backend = "poetry.core.masonry.api"
23+
[dependency-groups]
24+
dev = [
25+
"beautifulsoup4>=4.12.3",
26+
"markdownify>=0.12.1",
27+
"pyright>=1.1.350",
28+
"pytest-selfie>=0.1.0",
29+
"pytest>=8.0.0",
30+
"ruff>=0.5.0",
31+
"selfie-lib>=0.1.0",
32+
"werkzeug>=3.0.3",
33+
]
2734

2835
[tool.ruff]
29-
lint.extend-select = ["I"]
36+
lint.extend-select = ["I"]
Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,8 @@
1-
{"typeCheckingMode": "basic", "disableBytesTypePromotions": false}
1+
{
2+
"venvPath": ".",
3+
"venv": ".venv",
4+
"extraPaths": [
5+
"../selfie-lib",
6+
"../pytest-selfie"
7+
]
8+
}

0 commit comments

Comments
 (0)