Skip to content

Commit

Permalink
Fix linting (ignore imports for examples)
Browse files Browse the repository at this point in the history
  • Loading branch information
justinpolygon committed Apr 12, 2024
1 parent 5818af5 commit 8c9b975
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
10 changes: 5 additions & 5 deletions examples/tools/flatfiles-stock-trades/exchange-heatmap.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
# trade flows, including opening hours and peak activity times, across the
# exchanges. Please see https://polygon.io/blog/insights-from-trade-level-data
#
import pandas as pd
import seaborn as sns
import matplotlib.pyplot as plt
import numpy as np
import pytz
import pandas as pd # type: ignore
import seaborn as sns # type: ignore
import matplotlib.pyplot as plt # type: ignore
import numpy as np # type: ignore
import pytz # type: ignore

# Replace '2024-04-05.csv' with the path to your actual file
file_path = "2024-04-05.csv"
Expand Down
2 changes: 1 addition & 1 deletion examples/tools/flatfiles-stock-trades/exchanges-seen.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# respective percentages of the total trades. Please see
# https://polygon.io/blog/insights-from-trade-level-data
#
import pandas as pd
import pandas as pd # type: ignore

# Replace '2024-04-05.csv' with the path to your actual file
file_path = "2024-04-05.csv"
Expand Down
2 changes: 1 addition & 1 deletion examples/tools/flatfiles-stock-trades/top-10-tickers.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# most traded stocks and calculates their respective percentages of the total
# trades. Please see https://polygon.io/blog/insights-from-trade-level-data
#
import pandas as pd
import pandas as pd # type: ignore

# Replace '2024-04-05.csv' with the path to your actual file
file_path = "2024-04-05.csv"
Expand Down
4 changes: 2 additions & 2 deletions examples/tools/flatfiles-stock-trades/trades-histogram.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
# the distribution of trading volume across the day, from pre-market to after-
# hours. Please see https://polygon.io/blog/insights-from-trade-level-data
#
import pandas as pd
import matplotlib.pyplot as plt
import pandas as pd # type: ignore
import matplotlib.pyplot as plt # type: ignore

# Replace '2024-04-05.csv' with the path to your actual file
file_path = "2024-04-05.csv"
Expand Down

0 comments on commit 8c9b975

Please sign in to comment.