diff --git a/.github/workflows/python-lint.yml b/.github/workflows/python-lint.yml new file mode 100644 index 0000000..f66897d --- /dev/null +++ b/.github/workflows/python-lint.yml @@ -0,0 +1,19 @@ +name: Python lint +on: [push] +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: '3.x' + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install -r requirements.txt + - name: Lint with Ruff + run: | + pip install ruff + ruff check --output-format=github . + continue-on-error: true