Skip to content

Commit d6794e7

Browse files
committed
Remove old workflows, add style check (flake8 for now)
1 parent 8fe3274 commit d6794e7

File tree

4 files changed

+20
-190
lines changed

4 files changed

+20
-190
lines changed

.github/workflows/pythonpackage.yml

Lines changed: 0 additions & 96 deletions
This file was deleted.

.github/workflows/tox.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,3 +110,21 @@ jobs:
110110
file: coverage.xml
111111
token: ${{ secrets.CODECOV_TOKEN }}
112112
if: ${{ always() }}
113+
114+
checks:
115+
runs-on: 'ubuntu-latest'
116+
continue-on-error: true
117+
strategy:
118+
matrix:
119+
check: ['style']
120+
121+
steps:
122+
- uses: actions/checkout@v4
123+
- name: Install the latest version of uv
124+
uses: astral-sh/setup-uv@v3
125+
- name: Show tox config
126+
run: uvx tox c
127+
- name: Show tox config (this call)
128+
run: uvx tox c -e ${{ matrix.check }}
129+
- name: Run check
130+
run: uvx tox -e ${{ matrix.check }}

.github/workflows/travis.yml

Lines changed: 0 additions & 91 deletions
This file was deleted.

tox.ini

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,10 @@ commands =
5454
description = Check our style guide
5555
labels = check
5656
deps =
57-
ruff
57+
flake8
5858
skip_install = true
5959
commands =
60-
ruff check --diff
61-
ruff format --diff
60+
flake8 nitransforms
6261

6362
[testenv:style-fix]
6463
description = Auto-apply style guide to the extent possible

0 commit comments

Comments
 (0)