Skip to content

Commit 47a37b9

Browse files
committed
cleanup imports
1 parent e1bde83 commit 47a37b9

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

talib/abstract.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
from ._ta_lib import Function as _Function, __TA_FUNCTION_NAMES__, _get_defaults_and_docs
33

44
# add some backwards compat for backtrader
5-
from ._ta_lib import TA_FUNC_FLAGS, TA_INPUT_FLAGS, TA_OUTPUT_FLAGS
65

76
_func_obj_mapping = {
87
func_name: getattr(_ta_lib, func_name)

tests/test_stream.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import numpy as np
22
import pandas as pd
33

4-
import talib
54
from talib import stream
65

76

tools/perf_talib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
import numpy
44
import talib
5+
import time
56
import sys
67

78
TEST_LEN = int(sys.argv[1]) if len(sys.argv) > 1 else 10000
@@ -12,7 +13,6 @@
1213
if False: # fill array with nans
1314
data[:-1] = numpy.nan
1415

15-
import time
1616
t0 = time.time()
1717
for _ in range(LOOPS):
1818
talib.MA(data)

0 commit comments

Comments
 (0)