Skip to content

Commit e38ec01

Browse files
committed
py(deps): Add textframe extras with syrupy dependency
why: Allow opt-in installation of textframe pytest plugin. what: - Add [project.optional-dependencies] textframe = ["syrupy>=4.0.0"] - Add [project.entry-points.pytest11] libtmux-textframe entry point - Downstream users can now: pip install libtmux[textframe]
1 parent 9962338 commit e38ec01

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,12 @@ lint = [
113113
"mypy",
114114
]
115115

116+
[project.optional-dependencies]
117+
textframe = ["syrupy>=4.0.0"]
118+
116119
[project.entry-points.pytest11]
117120
libtmux = "libtmux.pytest_plugin"
121+
libtmux-textframe = "libtmux.textframe.plugin"
118122

119123
[build-system]
120124
requires = ["hatchling"]

0 commit comments

Comments
 (0)