forked from abravalheri/validate-pyproject
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure optional-dependencies use PEP 508 identifiers
- Loading branch information
1 parent
6f47a41
commit 61b668f
Showing
3 changed files
with
12 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
tests/invalid-examples/pretend-setuptools/dependencies/invalid-extra-name.errors.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
`tool.setuptools.dynamic.optional-dependencies` keys must be named by: | ||
|
||
{format: 'pep508-identifier'} |
7 changes: 7 additions & 0 deletions
7
tests/invalid-examples/pretend-setuptools/dependencies/invalid-extra-name.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
[project] | ||
name = "myproj" | ||
version = "42" | ||
dynamic = ["optional-dependencies"] | ||
|
||
[tool.setuptools.dynamic.optional-dependencies."non pep508 compliant"] | ||
file = "extra.txt" |