Skip to content

Merge pull request #7 from khakers/feature/upstream-4.1.0-merge #56

Merge pull request #7 from khakers/feature/upstream-4.1.0-merge

Merge pull request #7 from khakers/feature/upstream-4.1.0-merge #56

Workflow file for this run

name: Lint python
on:
push:
branches:
- stable
- develop
pull_request:
jobs:
code-style:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11"]
name: Python ${{ matrix.python-version }} on ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
architecture: x64
- name: Setup PDM
uses: pdm-project/setup-pdm@v4
with:
cache: true
- name: Install dependencies
run: |
pdm install --group dev
- name: Ruff
run: pdm run ruff . --no-fix
continue-on-error: true
- name: Black
run: |
pdm run black . --diff --check