chore: fix ruff command (#3044)

This commit is contained in:
Chengzhong Wu 2024-07-10 01:03:10 +08:00 committed by GitHub
parent d38af2e0c2
commit b3916d5b25
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -19,8 +19,8 @@ jobs:
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- run: pip install --user ruff - run: pip install --user ruff
- run: ruff --output-format=github --select="E,F,PLC,PLE,UP,W,YTT" --ignore="E721,PLC1901,S101,UP031" --target-version=py38 . - run: ruff check --output-format=github --select="E,F,PLC,PLE,UP,W,YTT" --ignore="E721,PLC1901,S101,UP031" --target-version=py38 .
lint-js: lint-js:
name: Lint JS name: Lint JS
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -88,7 +88,7 @@ jobs:
tests: tests:
# lint-python takes ~5 seconds, so wait for it to pass before running the full matrix of tests. # lint-python takes ~5 seconds, so wait for it to pass before running the full matrix of tests.
needs: [lint-python] needs: [lint-python]
strategy: strategy:
fail-fast: false fail-fast: false
max-parallel: 15 max-parallel: 15