Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 5 additions & 7 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,12 @@ jobs:
GH_TOKEN: ${{ github.token }}
SAGE_CI_FIXES_FROM_REPOSITORIES: ${{ vars.SAGE_CI_FIXES_FROM_REPOSITORIES }}

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.9

- name: Install dependencies
- name: Install test prerequisites
id: deps
run: pip install tox
# From docker.yml
run: |
sudo DEBIAN_FRONTEND=noninteractive apt-get update
sudo DEBIAN_FRONTEND=noninteractive apt-get install tox

- name: Code style check with ruff-minimal
if: (success() || failure()) && steps.deps.outcome == 'success'
Expand Down
1 change: 1 addition & 0 deletions src/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ requires =
# Because of https://github.com/tox-dev/tox/issues/3238, need <4.14.1
tox>=3.18
tox<4.14.1
filelock!=3.15.0

[sagedirect]
# Base for tox environments that bypass the virtual environment set up by tox,
Expand Down
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ requires =
# Because of https://github.com/tox-dev/tox/issues/3238, need <4.14.1
tox>=4.2.7
tox<4.14.1
filelock!=3.15.0

skipsdist = true

Expand Down