Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
kongzii committed Feb 15, 2024
1 parent 8a659a5 commit 2e1d416
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 16 deletions.
4 changes: 2 additions & 2 deletions examples/cloud_deployment/gcp/deploy.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import getpass
import random

from prediction_market_agent_tooling.markets.markets import MarketType
from prediction_market_agent_tooling.markets.data_models import AgentMarket
from prediction_market_agent_tooling.deploy.agent import DeployableAgent
from prediction_market_agent_tooling.markets.data_models import AgentMarket
from prediction_market_agent_tooling.markets.markets import MarketType


class DeployableCoinFlipAgent(DeployableAgent):
Expand Down
20 changes: 8 additions & 12 deletions prediction_market_agent_tooling/deploy/agent.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
import time
import inspect
import os
import tempfile
import inspect
import time
from decimal import Decimal

from prediction_market_agent_tooling.deploy.gcp.deploy import (
deploy_to_gcp,
run_deployed_gcp_function,
schedule_deployed_gcp_function,
)
from prediction_market_agent_tooling.deploy.gcp.utils import gcp_function_is_active
from prediction_market_agent_tooling.markets.data_models import (
AgentMarket,
BetAmount,
Expand All @@ -14,16 +20,6 @@
get_binary_markets,
place_bet,
)
from prediction_market_agent_tooling.markets.data_models import (
BetAmount,
Currency,
)
from prediction_market_agent_tooling.deploy.gcp.deploy import (
deploy_to_gcp,
run_deployed_gcp_function,
schedule_deployed_gcp_function,
)
from prediction_market_agent_tooling.deploy.gcp.utils import gcp_function_is_active


class DeployableAgent:
Expand Down
1 change: 0 additions & 1 deletion prediction_market_agent_tooling/deploy/gcp/deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import tempfile
import typing as t


import requests
from cron_validator import CronValidator

Expand Down
2 changes: 1 addition & 1 deletion tests/deploy/test_deploy.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import random

from prediction_market_agent_tooling.markets.data_models import AgentMarket
from prediction_market_agent_tooling.deploy.agent import DeployableAgent
from prediction_market_agent_tooling.markets.data_models import AgentMarket
from prediction_market_agent_tooling.markets.markets import MarketType


Expand Down

0 comments on commit 2e1d416

Please sign in to comment.