modified: .gitea/workflows/ruff.yaml
Use pip to install ruff instead of pipx
This commit is contained in:
@@ -13,10 +13,8 @@ jobs:
|
|||||||
uses: actions/setup-python@v5
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: "3.x"
|
python-version: "3.x"
|
||||||
- name: update PATH
|
|
||||||
run: pipx ensurepath
|
|
||||||
- name: Install the code linting and formatting tool Ruff
|
- name: Install the code linting and formatting tool Ruff
|
||||||
run: pipx install ruff
|
run: pip install ruff
|
||||||
- name: Lint code with Ruff
|
- name: Lint code with Ruff
|
||||||
run: ruff check --output-format=github --target-version=py39
|
run: ruff check --output-format=github --target-version=py39
|
||||||
- name: Check code formatting with Ruff
|
- name: Check code formatting with Ruff
|
||||||
|
|||||||
Reference in New Issue
Block a user