Skip to content

Commit 2c5c46e

Browse files
committed
Fix extras and poetry check --lock
1 parent 4542259 commit 2c5c46e

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

.github/test_projects/extras-and-dependency-groups/poetry.lock

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

.github/test_projects/extras-and-dependency-groups/pyproject.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,10 @@ packages = [{include = "test_project", from = "src"}]
99
[tool.poetry.dependencies]
1010
ni-python-styleguide = ">=0.4.7"
1111
python = "^3.9"
12-
# Using a simple, publicly available package instead
1312
requests = "^2.28.0"
13+
# Optional dependencies for extras
14+
colorama = {version = "^0.4.0", optional = true}
15+
tomli = {version = "^2.0.0", optional = true}
1416

1517
[tool.poetry.extras]
1618
# Small utility packages for testing extras

0 commit comments

Comments
 (0)