Skip to content

Commit

Permalink
Fix the linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
JayjeetAtGithub committed Mar 9, 2022
1 parent e6a7f5c commit bbb19be
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions coffea/processor/executor.py
Original file line number Diff line number Diff line change
Expand Up @@ -1131,9 +1131,9 @@ def _chunk_generator(self, fileset: Dict, treename: str) -> Generator:
break
yield from iter(chunks)
else:
if not config.get('skyhook', None):
if not config.get("skyhook", None):
print("No skyhook config found, using defaults")
config['skyhook'] = dict()
config["skyhook"] = dict()

import pyarrow.dataset as ds

Expand All @@ -1146,10 +1146,10 @@ def _chunk_generator(self, fileset: Dict, treename: str) -> Generator:
for filename in filelist:
# If skyhook config is provided and is not empty,
if self.use_skyhook:
ceph_config_path = config['skyhook'].get(
ceph_config_path = config["skyhook"].get(
"ceph_config_path", "/etc/ceph/ceph.conf"
)
ceph_data_pool = config['skyhook'].get(
ceph_data_pool = config["skyhook"].get(
"ceph_data_pool", "cephfs_data"
)
filename = f"{ceph_config_path}:{ceph_data_pool}:{filename}"
Expand Down

0 comments on commit bbb19be

Please sign in to comment.