Add Ruff linter in CI
continuous-integration/drone/push Build is passing Details

Clément FRÉVILLE 11 months ago
parent 440265faaa
commit f2ffbaba73

@ -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 .

@ -2,7 +2,6 @@ import pandas as pd
import streamlit as st import streamlit as st
import matplotlib.pyplot as plt import matplotlib.pyplot as plt
import seaborn as sns import seaborn as sns
from pandas.api.types import is_numeric_dtype
st.set_page_config( st.set_page_config(
page_title="Project Miner", page_title="Project Miner",

@ -0,0 +1,5 @@
matplotlib>=3.5.0
pandas>=1.5.0
seaborn>=0.12.0
streamlit>=1.35.0
ruff>=0.4.8
Loading…
Cancel
Save