Skip to content

Commit

Permalink
ENH: Remove additional setup-python action in GHA workflow file
Browse files Browse the repository at this point in the history
Remove additional `setup-python` action in GHA workflow file, as Python
is available through `pipx`.

Fixes:
```
ruff
The `python-version` input is not set. The version of Python currently in `PATH` will be used.
```

raised for example at:
https://github.com/nipreps/mriqc/actions/runs/12795005155

Also, revert the change introduced in commit 5cf7010 that unsuccessfully
intended to fix the warning.
  • Loading branch information
jhlegarreta committed Jan 18, 2025
1 parent 61afec8 commit 44dc9a2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
- run: pipx run ruff format --diff

codespell:
Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,6 @@ skip = """
[tool.ruff]
exclude = [".maint/update_authors.py"]
line-length = 99
target-version = "py310"

[tool.ruff.lint]
extend-select = [
Expand Down

0 comments on commit 44dc9a2

Please sign in to comment.