Add Ruff linter in CI

This commit is contained in:
2024-06-05 19:29:40 +02:00
parent d4aeb87f75
commit f0bafa7b17
2 changed files with 18 additions and 0 deletions

13
.drone.yml Normal file
View File

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

5
requirements.txt Normal file
View File

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