Skip to content

Commit 3987741

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

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

jupyter_packaging/setupbase.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -752,7 +752,7 @@ def run(self):
752752
package_data = self.distribution.package_data
753753
package_spec = package_data_spec or {}
754754

755-
for (key, patterns) in package_spec.items():
755+
for key, patterns in package_spec.items():
756756
files = _get_package_data(key, patterns)
757757
if exclude is not None:
758758
files = [f for f in files if not exclude(f)]
@@ -828,12 +828,12 @@ def _get_data_files(
828828

829829
# Extract the existing data files into a staging object.
830830
file_data = defaultdict(list)
831-
for (path, files) in existing or []:
831+
for path, files in existing or []:
832832
file_data[path] = files
833833

834834
# Extract the files and assign them to the proper data
835835
# files path.
836-
for (path, dname, pattern) in data_specs or []:
836+
for path, dname, pattern in data_specs or []:
837837
dname = Path(dname)
838838
if dname.is_absolute():
839839
dname = dname.relative_to(top)
@@ -854,7 +854,7 @@ def _get_data_files(
854854

855855
# Construct the data files spec.
856856
data_files = []
857-
for (path, files) in file_data.items():
857+
for path, files in file_data.items():
858858
data_files.append((path, files))
859859
return data_files
860860

0 commit comments

Comments
 (0)