Skip to content

Commit

Permalink
clean code
Browse files Browse the repository at this point in the history
  • Loading branch information
you-n-g committed Jan 18, 2022
1 parent 97685b0 commit ef7da9e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions qlib/data/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -308,9 +308,7 @@ def get_inst_type(cls, inst):
raise ValueError(f"Unknown instrument type {inst}")


class FeatureProvider(
abc.ABC,
):
class FeatureProvider(abc.ABC):
"""Feature provider class
Provide feature data.
Expand Down Expand Up @@ -712,7 +710,7 @@ def __init__(
self.uri = uri
# TODO:
# retry connecting if error occurs
# is it real matters?
# does it real matters?
self.retry_time = retry_time
# NOTE: this is especially important for TResample operator
self.market_transaction_time_list = market_transaction_time_list
Expand Down

0 comments on commit ef7da9e

Please sign in to comment.