Skip to content

Commit

Permalink
Fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
zz1874 committed Aug 16, 2023
1 parent 2e8d1e4 commit 05b82a2
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions fawltydeps/extract_declared_dependencies.py
Original file line number Diff line number Diff line change
Expand Up @@ -294,9 +294,10 @@ def parse_pyproject_toml(path: Path) -> Iterator[DeclaredDependency]:
dynamic_optional_deps_files = [
file_list
for optional_deps_item in [
optional_deps_section.get("file", {})
for optional_deps_section in
dynamic_section.get("optional-dependencies", {}).values()
optional_deps_section.get("file", {})
for optional_deps_section in dynamic_section.get(
"optional-dependencies", {}
).values()
]
for file_list in optional_deps_item
]
Expand Down

0 comments on commit 05b82a2

Please sign in to comment.