diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..09b59cd --- /dev/null +++ b/.drone.yml @@ -0,0 +1,13 @@ +kind: pipeline +name: default +type: docker + +on: + push: + +steps: + - name: lint + image: python:3.12 + commands: + - pip install --root-user-action=ignore -r requirements.txt + - ruff check . diff --git a/frontend/main.py b/frontend/main.py index 79b9a64..d2c3106 100644 --- a/frontend/main.py +++ b/frontend/main.py @@ -2,7 +2,6 @@ import pandas as pd import streamlit as st import matplotlib.pyplot as plt import seaborn as sns -from pandas.api.types import is_numeric_dtype st.set_page_config( page_title="Project Miner", diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..63b5398 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,5 @@ +matplotlib>=3.5.0 +pandas>=1.5.0 +seaborn>=0.12.0 +streamlit>=1.35.0 +ruff>=0.4.8