1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 11:37:44 +00:00

Merge pull request #7486 from sylvestre/python

Python: add ruff check and fix the code
This commit is contained in:
Daniel Hofstetter 2025-03-19 08:07:43 +01:00 committed by GitHub
commit fc46a041f8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 35 additions and 14 deletions

View file

@ -167,3 +167,23 @@ jobs:
- name: Check
run: npx --yes @taplo/cli fmt --check
python:
name: Style/Python
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v4
with:
persist-credentials: false
- name: ruff
uses: astral-sh/ruff-action@v3
with:
src: "./util"
- name: ruff - format
uses: astral-sh/ruff-action@v3
with:
src: "./util"
args: format --check