This commit is contained in:
ihmily
2025-04-02 12:31:13 +08:00

View File

@@ -4,10 +4,16 @@ on:
push:
branches:
- main
paths:
- 'app/**'
- '.ruff.toml'
pull_request:
types:
- opened
- synchronize
paths:
- 'app/**'
- '.ruff.toml'
jobs:
lint-python:
@@ -36,5 +42,5 @@ jobs:
pip install ruff
- name: Run ruff lint check
run: ruff check . --config .ruff.toml --exclude="*.md,*.txt"
working-directory: .
run: ruff check main.py app --config .ruff.toml
working-directory: .