mirror of
https://github.com/darkzoul5/YoutubePlaylistSync.git
synced 2026-09-23 06:42:26 +03:00
Add linting workflow for Python code using Ruff
This commit is contained in:
@@ -0,0 +1,18 @@
|
|||||||
|
name: Lint Python code
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
pull_request:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
lint:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Install Ruff
|
||||||
|
run: pip install ruff
|
||||||
|
|
||||||
|
- name: Run linter
|
||||||
|
run: ruff check .
|
||||||
Reference in New Issue
Block a user