Skip to content

Commit

Permalink
chore: run black linter
Browse files Browse the repository at this point in the history
  • Loading branch information
cdummett committed Aug 30, 2024
1 parent 423dff7 commit d79c415
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion vega_query/visualisations/plots/amm.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,9 @@ def create(
# Default timestamps for getting data if required
network_timestamp = service.api.data.get_vega_time()
start_timestamp = (
market.market_timestamps.proposed if start_timestamp is None else start_timestamp
market.market_timestamps.proposed
if start_timestamp is None
else start_timestamp
)
end_timestamp = network_timestamp if end_timestamp is None else end_timestamp

Expand Down
4 changes: 3 additions & 1 deletion vega_query/visualisations/plots/sla.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@ def create(
# Default timestamps for getting data if required
network_timestamp = service.api.data.get_vega_time()
start_timestamp = (
market.market_timestamps.proposed if start_timestamp is None else start_timestamp
market.market_timestamps.proposed
if start_timestamp is None
else start_timestamp
)
end_timestamp = network_timestamp if end_timestamp is None else end_timestamp

Expand Down

0 comments on commit d79c415

Please sign in to comment.