We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
optional-dependencies
1 parent cf5c720 commit b177c14Copy full SHA for b177c14
pyproject_toml_builder.py
@@ -672,7 +672,10 @@ def __init__(
672
toml_dict["tool"]["setuptools_scm"]["fallback_version"].trivia.comment = comment
673
674
# [project.optional-dependencies][mypy]
675
- if gha_input.auto_mypy_option:
+ if (
676
+ gha_input.auto_mypy_option
677
+ and "optional-dependencies" in toml_dict["project"] # only if there's deps
678
+ ):
679
self.build_mypy_optional_deps(toml_dict["project"]["optional-dependencies"])
680
681
# Automate some README stuff
0 commit comments