Skip to content

Commit

Permalink
Remove old workflows, add style check (flake8 for now)
Browse files Browse the repository at this point in the history
  • Loading branch information
effigies committed Nov 17, 2024
1 parent 8fe3274 commit d6794e7
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 190 deletions.
96 changes: 0 additions & 96 deletions .github/workflows/pythonpackage.yml

This file was deleted.

18 changes: 18 additions & 0 deletions .github/workflows/tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,3 +110,21 @@ jobs:
file: coverage.xml
token: ${{ secrets.CODECOV_TOKEN }}
if: ${{ always() }}

checks:
runs-on: 'ubuntu-latest'
continue-on-error: true
strategy:
matrix:
check: ['style']

steps:
- uses: actions/checkout@v4
- name: Install the latest version of uv
uses: astral-sh/setup-uv@v3
- name: Show tox config
run: uvx tox c
- name: Show tox config (this call)
run: uvx tox c -e ${{ matrix.check }}
- name: Run check
run: uvx tox -e ${{ matrix.check }}
91 changes: 0 additions & 91 deletions .github/workflows/travis.yml

This file was deleted.

5 changes: 2 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,10 @@ commands =
description = Check our style guide
labels = check
deps =
ruff
flake8
skip_install = true
commands =
ruff check --diff
ruff format --diff
flake8 nitransforms

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

0 comments on commit d6794e7

Please sign in to comment.