Skip to content

Commit

Permalink
Fixed pylint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
powprashant committed Oct 28, 2023
1 parent 9b1c890 commit c2f8e47
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/common/live_feed_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class LiveFeedManager:
NIFTY_INDEX = 999920000
BANKNIFTY_INDEX = 999920005

def __init__(self, client: IClientManager, config: Dict = {}):
def __init__(self, client: IClientManager, config: Dict = None):
self.client = client
self.config = config
self.logger = logging.getLogger(__name__)
Expand Down
2 changes: 1 addition & 1 deletion src/common/strikes_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
class StrikesManager:
TODAY_TIMESTAMP = int(datetime.datetime.today().timestamp())

def __init__(self, client: IClientManager, config: Dict = {}) -> None:
def __init__(self, client: IClientManager, config: Dict = None) -> None:
self.client = client
self.logger = logging.getLogger(__name__)
self.config = config
Expand Down

0 comments on commit c2f8e47

Please sign in to comment.