Enable pyflake ruff lint rules

This commit is contained in:
huchenlei
2024-12-17 15:56:10 -08:00
parent 445affd609
commit 19532ae979
12 changed files with 111 additions and 80 deletions
+23
View File
@@ -0,0 +1,23 @@
name: Python Linting
on: [push, pull_request]
jobs:
ruff:
name: Run Ruff
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.x
- name: Install Ruff
run: pip install ruff
- name: Run Ruff
run: ruff check .