mirror of
https://github.com/wassname/catalyst.git
synced 2026-06-30 04:17:29 +08:00
MAINT: Use explicit relative pathing for Python 3 compatibility.
Python 3 requires submodules to have more explicit pathing, so use the dot syntax to declare submodules which are in the same directory as another module.
This commit is contained in:
@@ -23,7 +23,7 @@ from zipline.utils import factory
|
||||
|
||||
from zipline.finance.trading import SimulationParameters
|
||||
|
||||
import answer_key
|
||||
from . import answer_key
|
||||
ANSWER_KEY = answer_key.ANSWER_KEY
|
||||
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ from zipline.finance import trading
|
||||
|
||||
import pandas as pd
|
||||
|
||||
import risk
|
||||
from . import risk
|
||||
from . risk import (
|
||||
alpha,
|
||||
check_entry,
|
||||
|
||||
Reference in New Issue
Block a user