mirror of
https://github.com/astral-sh/ruff
synced 2026-01-09 23:54:36 -05:00
Add python lint
This commit is contained in:
8
.github/workflows/ci.yaml
vendored
8
.github/workflows/ci.yaml
vendored
@@ -54,3 +54,11 @@ jobs:
|
||||
run: cargo fmt --all -- --check
|
||||
- name: run clippy
|
||||
run: cargo clippy --all --all-features -- -Dwarnings
|
||||
|
||||
- uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: "3.11"
|
||||
- name: install ruff
|
||||
run: python -m pip install ruff
|
||||
- name: run python lint
|
||||
run: ruff --ignore=E501 ast --show-source
|
||||
|
||||
Reference in New Issue
Block a user