Skip to content

Commit 0d1db63

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent c5b601f commit 0d1db63

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

conda_metadata_app/app_config.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,10 @@ def apply_filter(self, package_names: Iterable[str]) -> Iterable[str]:
9898
if not self.allowed_names and not self.allowed_prefixes:
9999
return package_names
100100
return filter(
101-
lambda package_name: package_name in self.allowed_names
102-
or any(package_name.startswith(prefix) for prefix in self.allowed_prefixes),
101+
lambda package_name: (
102+
package_name in self.allowed_names
103+
or any(package_name.startswith(prefix) for prefix in self.allowed_prefixes)
104+
),
103105
package_names,
104106
)
105107

0 commit comments

Comments
 (0)