Skip to content

Commit

Permalink
Rename the extra for non-GPL format support in the pyproject.toml
Browse files Browse the repository at this point in the history
We're still waiting on the upstream fix for #962 which will
allow installing the extra with either form, but as-is, this is
technically not valid in a pyproject.toml (and is throwing some
schemastore errors) because keys here have to use hyphens, not
underscores.

See https://packaging.python.org/en/latest/specifications/declaring-project-metadata/#dependencies-optional-dependencies
  • Loading branch information
Julian committed Jul 29, 2022
1 parent 71087fc commit 438c8fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ format = [
"uri_template",
"webcolors>=1.11",
]
format_nongpl = [
format-nongpl = [
"fqdn",
"idna",
"isoduration",
Expand Down

0 comments on commit 438c8fb

Please sign in to comment.