From 05b82a29d1b2f33f16dfa434f5b513c71a42dde0 Mon Sep 17 00:00:00 2001 From: Zhihan Zhang Date: Wed, 16 Aug 2023 18:48:25 +0200 Subject: [PATCH] Fix format --- fawltydeps/extract_declared_dependencies.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/fawltydeps/extract_declared_dependencies.py b/fawltydeps/extract_declared_dependencies.py index c83a666b..f7b8f336 100644 --- a/fawltydeps/extract_declared_dependencies.py +++ b/fawltydeps/extract_declared_dependencies.py @@ -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 ]