Skip to content

[RF] Use Black to reformat package (#701) #4

[RF] Use Black to reformat package (#701)

[RF] Use Black to reformat package (#701) #4

Workflow file for this run

name: Lint code
on:
push:
branches:
- master
pull_request:
branches:
- master
defaults:
run:
shell: bash
jobs:
stable:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: ['ubuntu-latest']
python-version: ['3.10']
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Display Python version
run: python -c "import sys; print(sys.version)"
- name: Install flake8 and related packages
run: python -m pip install \
flake8 flake8-black \
flake8-isort flake8-pyproject
- name: Check qsiprep
run: python -m flake8 qsiprep