Skip to content

Commit

Permalink
reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
bdpedigo committed Mar 22, 2024
1 parent 31857f8 commit 6045270
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion caveclient/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ def _api_endpoints(
verify=verify,
)
avail_vs_server = set(avail_vs_server)
except: # noqa: E722
except: # noqa: E722
avail_vs_server = None

avail_vs_client = set(endpoint_versions.keys())
Expand Down
2 changes: 1 addition & 1 deletion caveclient/datastack_lookup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def read_map(filename=None):
with open(os.path.expanduser(filename), "r") as f:
data = json.load(f)
return data
except: # noqa E722
except: # noqa E722
return {}


Expand Down
10 changes: 5 additions & 5 deletions caveclient/tools/table_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -380,8 +380,8 @@ def __attrs_post_init__(self):
self,
filter=lambda a, v: not is_list_like(v)
and v is not None
and a.metadata.get("is_bbox", False) == False # noqa E712
and a.metadata.get("is_meta", False) == False # noqa E712
and a.metadata.get("is_bbox", False) == False # noqa E712
and a.metadata.get("is_meta", False) == False # noqa E712
and a.metadata.get("table") == tn,
)
)
Expand All @@ -393,8 +393,8 @@ def __attrs_post_init__(self):
self,
filter=lambda a, v: is_list_like(v)
and v is not None
and a.metadata.get("is_bbox", False) == False # noqa E712
and a.metadata.get("is_meta", False) == False # noqa E712
and a.metadata.get("is_bbox", False) == False # noqa E712
and a.metadata.get("is_meta", False) == False # noqa E712
and a.metadata.get("table") == tn,
)
)
Expand All @@ -406,7 +406,7 @@ def __attrs_post_init__(self):
self,
filter=lambda a, v: a.metadata.get("is_bbox", False)
and v is not None
and a.metadata.get("is_meta", False) == False # noqa E712
and a.metadata.get("is_meta", False) == False # noqa E712
and a.metadata.get("table") == tn,
)
)
Expand Down
2 changes: 1 addition & 1 deletion tests/test_infoservice.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class TestInfoClient:

@responses.activate
def test_infoclient(self, myclient, mocker):
endpoint_mapping = self.default_mapping # noqa F841
endpoint_mapping = self.default_mapping # noqa F841

assert myclient.info.segmentation_source() == test_info["segmentation_source"]
assert (
Expand Down

0 comments on commit 6045270

Please sign in to comment.