Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
183 commits
Select commit Hold shift + click to select a range
c37f5a6
doc: use new template.
AGrigis Sep 24, 2025
fe1b820
pyproject: fix version.
AGrigis Sep 24, 2025
476c5c6
github/workflows/documentation: add missing dep.
AGrigis Sep 24, 2025
7f99d9f
doc: fix documentation.
AGrigis Sep 25, 2025
d40ddf6
brainprep/reporting/html_reporting: add tools to perform HTML reporting.
AGrigis Oct 2, 2025
81ad4c8
brainprep/reporting/rst_reporting: add RST reporting.
AGrigis Oct 3, 2025
d06a887
doc: fix.
AGrigis Oct 3, 2025
ccdacbb
pyproject: fix.
AGrigis Oct 3, 2025
e47b7e2
brainprep/workflow: update qa and defacing workflows.
AGrigis Oct 9, 2025
74cecef
brainprep/config: add global config.
AGrigis Oct 21, 2025
75eff5e
brainprep/workflow/quality_assurance: update QA workflow.
AGrigis Oct 21, 2025
9967e80
brainprep/workflow: update quasiraw + brainparc workflows.
AGrigis Oct 23, 2025
0ecbf0e
brainprep/utils/color: control verbosity.
AGrigis Oct 28, 2025
85e3e62
brainprep/workflow/brain_parcellation: add brainparc workflow.
AGrigis Oct 28, 2025
0708345
examples/plot_quasiraw: remove group level import.
AGrigis Oct 28, 2025
f59e4a6
brainprep/workflow: add dmriprep and fmriprep workflows + multi-modal…
AGrigis Nov 7, 2025
838e505
brainprep/workflow/vbm: add VBM workflow + use gallery examples in te…
AGrigis Nov 7, 2025
17dbc75
brainprep/workflow: add brainparc long workflow + add quasiraw group …
AGrigis Nov 10, 2025
add453d
brainprep: fix pep8.
AGrigis Nov 12, 2025
b473aeb
pyproject: add optional deps.
AGrigis Nov 12, 2025
4e13592
brainprep: check code spell.
AGrigis Nov 12, 2025
9d2fe18
workflows/codespell: add new CI workflow.
AGrigis Nov 12, 2025
47a8246
brainprep/tests/test_docstring: add examples in docstring testings.
AGrigis Nov 13, 2025
fe0660e
pyproject: fix dep format.
AGrigis Nov 13, 2025
c72f048
brainprep: pep8.
AGrigis Nov 13, 2025
c3c2191
workflows/codespell: fix path.
AGrigis Nov 14, 2025
8e6d0d8
brainprep/datasets: fix examples.
AGrigis Nov 14, 2025
2b19f3d
brainprep/typing: fix compatibility.
AGrigis Nov 14, 2025
56992b2
pyproject: support >3.10.
AGrigis Nov 14, 2025
4bf7316
workflows/testing: fix version.
AGrigis Nov 14, 2025
eb0ac6b
pyproject: python >=3.12.
AGrigis Nov 14, 2025
67654ea
pyproject: add docstring check with ruff.
AGrigis Nov 14, 2025
4b52c81
brainprep/workflow: update CI rules.
AGrigis Nov 18, 2025
92e3b8e
doc: fix documentation.
AGrigis Nov 18, 2025
6bf4f1d
examples: fix code path.
AGrigis Nov 19, 2025
b8ab3f3
containers: use neurodocker to generate recipies.
AGrigis Dec 3, 2025
de7d42b
fix: correction mineure d'un FIXME
nasironeeb Dec 10, 2025
acda02a
brainprep/interfaces/utils: fix path + integration to quasiraw workflow
nasironeeb Dec 11, 2025
f47a8cd
brainprep/workflow: small modification
nasironeeb Dec 12, 2025
bf9811f
brainprep/interfaces/plotting: correction of path to the histogram fu…
nasironeeb Dec 12, 2025
46b85e3
github/workflows/pydoclint: fix info doc.
AGrigis Dec 16, 2025
5b1dd8a
brainprep/interfaces/cat12: parse MAT files rather than XML files.
AGrigis Dec 16, 2025
66c78e5
brainprep/cli: update CLI.
AGrigis Dec 16, 2025
23e7422
brainprep/_version: update version.
AGrigis Dec 17, 2025
33020ae
brainprep: fix linters.
AGrigis Dec 17, 2025
b8645e2
containers: update recipies.
AGrigis Dec 18, 2025
10ccf56
containers/Dockerfile.quasiraw: fix default args.
AGrigis Dec 18, 2025
7fc7836
fix: corrections following the review
nasironeeb Dec 23, 2025
16da9d7
brainprep/interfaces/plotting.py remove dryrun arg to plot_pca function
nasironeeb Dec 23, 2025
ed6840d
Small correction to recipe generation
AymericGaudin Jan 6, 2026
80b079d
Adapt cat12 config to its Dockerfile
AymericGaudin Jan 6, 2026
d426b7b
Cahnge config.py
AymericGaudin Jan 6, 2026
1c98d33
containers/build: add build instructions.
AGrigis Jan 8, 2026
9bd84a6
brainprep: update template path in config
AymericGaudin Jan 8, 2026
f8cc53a
brainprep/interfaces: correct typo
AymericGaudin Jan 8, 2026
7a0939b
brainprep/interfaces: avoid glob of pathlib objects
AymericGaudin Jan 8, 2026
80ecc87
brainprep/interface: corrections to coerce_to_path usage
AymericGaudin Jan 8, 2026
9bb764e
pyproject: add lxml dependency
AymericGaudin Jan 8, 2026
bef43bc
brainprep/interfaces: correct error in plotting
AymericGaudin Jan 9, 2026
20deb0e
brainprep/interfaces: sort mean_correlations.tsv
AymericGaudin Jan 9, 2026
2987918
brainprep/interfaces: correct cat12vbm_morphometry + rename variables
AymericGaudin Jan 9, 2026
20a414e
containers/resources/entrypoint: fix apptainer/pixi issue.
AGrigis Jan 14, 2026
344d1d6
containers/build: minor updates.
AGrigis Jan 14, 2026
3090522
containers/Dockerfile.quasiraw: add ANTs.
AGrigis Jan 14, 2026
afab64e
brainprep/workflow/defacing: remove 3d snap creation.
AGrigis Jan 14, 2026
3aebefe
brainprep/config: add option to diplay or not colored text in terminal.
AGrigis Jan 14, 2026
bd6a3f2
brainprep: codespell fix.
AGrigis Jan 14, 2026
7390f62
Merge branch 'dev-qc-quasiraw' of https://github.com/nasironeeb/brain…
AGrigis Jan 14, 2026
ecb2bac
brainprep: fix CI and use plotting from the workflow.
AGrigis Jan 14, 2026
e7801e8
Merge branch 'nasironeeb-dev-qc-quasiraw' into dev
AGrigis Jan 14, 2026
b087477
brainprep/workflow/quasiraw: add missing arg.
AGrigis Jan 14, 2026
1f351e2
doc/user_guide/cli: add CLI documentation.
AGrigis Jan 14, 2026
64db923
Merge branch 'dev_image_generation' of https://github.com/AymericGaud…
AGrigis Jan 14, 2026
7965438
Merge branch 'AymericGaudin-dev_image_generation' into dev
AGrigis Jan 14, 2026
92b313f
brainprep/datasets: update datasets - OpenMS and IBC.
AGrigis Jan 16, 2026
c450059
brainprep: enable all listed atlases
AymericGaudin Jan 19, 2026
7986f6c
brainprep/config: Change vbm output directory name
AymericGaudin Jan 22, 2026
43883a7
Merge branch 'dev' into group-level-vbm
AymericGaudin Jan 22, 2026
cf06bcc
brainprep/config: correct branch merge
AymericGaudin Jan 23, 2026
6364107
brainprep: Correct cat12 longitudinal
AymericGaudin Feb 4, 2026
1d0fa55
brainprep/interfaces: rename matlabbatch to avoid intra session colli…
AymericGaudin Feb 6, 2026
8872ca2
brainprep/workflow: test workflows.
AGrigis Feb 10, 2026
d251a3a
brainprep/interfaces/fmriprep: need labels for sorting.
AGrigis Feb 10, 2026
2de2900
doc: fix typos.
AGrigis Feb 10, 2026
84647c3
Merge branch 'group-level-vbm' of https://github.com/AymericGaudin/br…
AGrigis Feb 10, 2026
0ac6176
Merge branch 'AymericGaudin-group-level-vbm' into dev
AGrigis Feb 10, 2026
d4af2d5
brainprep: fix CI.
AGrigis Feb 10, 2026
03c2164
.github/workflows/documentation: add FS env.
AGrigis Feb 10, 2026
e66a390
.github/workflows/testing: add FS env.
AGrigis Feb 10, 2026
12bdd52
brainprep/interface: correct template batch overwriting
AymericGaudin Feb 13, 2026
adc8fd3
pyproject: add lxml dependency (for cat12 qc)
AymericGaudin Feb 13, 2026
d151fc9
brainprep/utils/utils: passing a comma‑separated list.
AGrigis Feb 16, 2026
5ee45b5
brainprep/interfaces/plotting: handle nilearn warning.
AGrigis Feb 17, 2026
8097f36
brainprep/cli: extend its signature with global configuration paramet…
AGrigis Feb 17, 2026
be87d08
tools/build: move build scripts.
AGrigis Feb 17, 2026
57e7d37
brainprep: rename brain_parcellation -> sbm.
AGrigis Feb 17, 2026
b72cad7
brainprep/workflow: rename brain_parcellation -> sbm.
AGrigis Feb 17, 2026
e21f5c7
tools/build/build_image: fix image location.
AGrigis Feb 17, 2026
e3b60eb
brainprep/workflow/vbm: text format.
AGrigis Feb 17, 2026
6e2186a
brainprep/interfaces/utils: add filter_metrics
nasironeeb Feb 17, 2026
39dbc22
brainprep/interfaces/utils add docstring
nasironeeb Feb 17, 2026
f911393
brainprep/workflow/quality_assurance minor change
nasironeeb Feb 17, 2026
d6b5761
brainprep/interfaces/utils: minor modif
nasironeeb Feb 18, 2026
2bba44f
brainprep/interfaces/utils: minor modif
nasironeeb Feb 18, 2026
6ce327f
brainprep/interfaces/qualcheck: factorize and add new 'quality_check'…
AGrigis Feb 18, 2026
d9299b6
brainprep/resources: move IQM ressources.
AGrigis Feb 18, 2026
95080fb
.gitignore: add exception for tools/build.
AGrigis Feb 18, 2026
8fa7fe7
brainprep/interfaces/fmriprep: check if env var is set.
AGrigis Feb 20, 2026
d1e7a60
brainprep/interfaces/qualcheck: rename output file.
AGrigis Feb 20, 2026
a871551
brainprep/workflow/defacing: typo.
AGrigis Feb 20, 2026
3b52765
tools/build: add ccc infra support + allow dynamic conf.
AGrigis Feb 20, 2026
fddb0f9
doc: update guide lines.
AGrigis Feb 20, 2026
12a4cea
doc: update documentation.
AGrigis Feb 20, 2026
17e0cee
brainprep: fix CI.
AGrigis Feb 20, 2026
b3f7607
Update README.rst
AGrigis Feb 20, 2026
aad3287
.github/workflows/testing: update workflow name.
AGrigis Feb 20, 2026
fb9adec
Merge branch 'dev' of https://github.com/neurospin-deepinsight/brainp…
AGrigis Feb 20, 2026
f0f5058
Update README.rst
AGrigis Feb 20, 2026
dd6e93d
Merge branch 'dev' of https://github.com/neurospin-deepinsight/brainp…
AGrigis Feb 20, 2026
98f755d
README: move badge definitions.
AGrigis Feb 20, 2026
e3923d7
README: remove badge definitions.
AGrigis Feb 20, 2026
5f55e49
brainprep/interfaces/cat12.py: add tiv in cat12 morphometry (saved in…
AymericGaudin Feb 27, 2026
c0d29d9
brainprep/workflow/fmriprep: remove description file parameter.
AGrigis Mar 2, 2026
62028eb
tools/build: add typing.
AGrigis Mar 2, 2026
7d95daa
tools/resources: move ressources.
AGrigis Mar 2, 2026
f9ab63f
tools/scaling/scaling_cli: add project config CLI.
AGrigis Mar 2, 2026
921bd62
Merge pull request #36 from AymericGaudin/dev
AGrigis Mar 2, 2026
7733788
brainprep/interfaces/cat12: optim PR#36.
AGrigis Mar 2, 2026
8523ed6
brainprep/utils/utils: change default run ID using UUID.
AGrigis Mar 2, 2026
9e06917
brainprep/workflow/quality_assurance: fix variable name.
AGrigis Mar 2, 2026
1f415e4
brainprep: linter fix.
AGrigis Mar 2, 2026
d2fd570
Merge branch 'dev' into dev-qc-mriqc
AGrigis Mar 2, 2026
6922637
Merge pull request #37 from nasironeeb/dev-qc-mriqc
AGrigis Mar 2, 2026
a6a3788
PEP 639 compliance
DimitriPapadopoulos Feb 17, 2026
262f1cd
`wheel` is NOT required
DimitriPapadopoulos Mar 2, 2026
4113d0c
Add the full CeCILL-B license
DimitriPapadopoulos Feb 17, 2026
97a6e91
Properly document supported OS
DimitriPapadopoulos Feb 17, 2026
d2aa257
PEP 621 compliance
DimitriPapadopoulos Feb 17, 2026
c437511
brainprep/interfaces/qualcheck: fix iqms filtering.
AGrigis Mar 2, 2026
41e775f
brainprep: RUFF fix.
AGrigis Mar 2, 2026
6e6bbf1
Merge pull request #41 from DimitriPapadopoulos/fix_pyproject.toml
AGrigis Mar 2, 2026
87931ee
brainprep/workflow/quality_assurance: update feature selection.
AGrigis Mar 3, 2026
386d9ca
doc/user_guide/quality_assurance: update documentation.
AGrigis Mar 3, 2026
466afc1
pyproject: fix dependency.
AGrigis Mar 3, 2026
e25d37b
brainprep/utils/utils: check run is unique.
AGrigis Mar 3, 2026
36c649e
brainprep/__init__: organize traceback with rich.
AGrigis Mar 3, 2026
a70c8c6
brainprep/interfaces/cat12: correction to total volumes extraction
AymericGaudin Mar 3, 2026
b3fbdb4
pyproject: update authors.
AGrigis Mar 4, 2026
5302988
Merge pull request #42 from AymericGaudin/group-level-vbm
AGrigis Mar 4, 2026
35b606b
Merge branch 'dev' of https://github.com/neurospin-deepinsight/brainp…
AGrigis Mar 4, 2026
17d9aa0
doc/user_guide/ontology: add a note on the run subdirectory.
AGrigis Mar 4, 2026
7ff84f6
brainprep/interfaces/cat12: use run only.
AGrigis Mar 4, 2026
5dd9608
brainprep/workflow: anonymize VBM and SBM outputs.
AGrigis Mar 4, 2026
9e1ac07
brainprep: RUFF.
AGrigis Mar 4, 2026
62378cf
CHANGELOG: add.
AGrigis Mar 6, 2026
faa3209
brainprep/workflow: auto inject entities from bids decorator.
AGrigis Mar 6, 2026
e3764a1
brainprep: RUFF.
AGrigis Mar 6, 2026
4c1972f
brainprep/workflow: DOCLINT.
AGrigis Mar 6, 2026
d28942e
brainprep/utils/utils: implement run check.
AGrigis Mar 6, 2026
bd2aef1
brainprep/cli.py: correct argument order error
Mar 10, 2026
0f8bde1
brainprep: RUFF.
AymericGaudin Mar 11, 2026
1442a9c
brainprep/interfaces/freesurfer: sort group level csv by subject id
AymericGaudin Mar 12, 2026
276aba8
doc/user_guide/vbm: add output tree
AymericGaudin Mar 17, 2026
dfb9bbe
Description of contents
AymericGaudin Mar 19, 2026
90e87df
doc/user_guide/vbm: Formatting and small change
AymericGaudin Mar 19, 2026
b5479ed
fix typos.
AGrigis Mar 23, 2026
da36645
Merge pull request #45 from AymericGaudin/check-run
AGrigis Mar 23, 2026
7cc281d
Merge branch 'dev' of https://github.com/neurospin-deepinsight/brainp…
AGrigis Mar 23, 2026
78be227
brainprep/interfaces/freesurfer: correct csv sorting for dryrun compa…
AymericGaudin Mar 24, 2026
f2f5ae0
doc/user_guide/vbm: correct formatting
AymericGaudin Mar 25, 2026
afc900c
brainprep/decorators: signle step decorator with hooks.
AGrigis Mar 25, 2026
574117d
brainprep: fix CI.
AGrigis Mar 25, 2026
ace6f56
brainprep/workflow: fix error when rawdata is not present.
AGrigis Mar 30, 2026
5a1b64e
tools/scaling/scaling_cli: add prameter to select generated confs + p…
AGrigis Mar 30, 2026
b3ddecc
utils/color: fix color.
AGrigis Mar 31, 2026
d4fb96e
config: add option to skip run check.
AGrigis Mar 31, 2026
b561aca
examples/workflows: update titles.
AGrigis Apr 1, 2026
2639ac1
brainprep: update documented members.
AGrigis Apr 1, 2026
0d4b43f
brainprep: update URLs.
AGrigis Apr 1, 2026
ccb7c5b
brainprep: fix ruff.
AGrigis Apr 1, 2026
1199b85
brainprep: fix CI.
AGrigis Apr 1, 2026
2df17f4
Merge pull request #47 from AymericGaudin/doc-vbm
AGrigis Apr 1, 2026
ec3ce1c
Merge pull request #46 from AymericGaudin/sbm
AGrigis Apr 1, 2026
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
1 change: 1 addition & 0 deletions .github/codespellignore.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
licences
33 changes: 0 additions & 33 deletions .github/run_examples.py

This file was deleted.

31 changes: 0 additions & 31 deletions .github/run_unitests.py

This file was deleted.

48 changes: 48 additions & 0 deletions .github/workflows/codespell.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
---
# Workflow to check common misspellings in text files.
#
# To run this check locally from the repository folder:
#
# .. code-block:: bash
#
# $ codespell --toml pyproject.toml brainprep examples
###
name: "SpellLinter[codespell]"

on:
push:
branches:
- "master"
- "main"
- "dev"
pull_request:
branches:
- "*"
workflow_dispatch:

jobs:
codespell:

runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
python-version: [3.12]

steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Codespell
uses: codespell-project/actions-codespell@v2
with:
path: examples,brainprep
builtin: clear,rare,en-GB_to_en-US
ignore_words_file: ./.github/codespellignore.txt
skip: ./.git,*.bib,./brainprep/resources/*,./AUTHORS.rst
137 changes: 68 additions & 69 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
@@ -1,105 +1,104 @@
name: "DOCUMENTATION"
# Workflow to build doc, upload it as artifact, and deploy it for the
# master, main and dev branches.
#
# To run this check locally from the `doc` folder:
#
# .. code-block:: bash
#
# $ sphinxdoc -v 2 -p $MODULE_DIR -n brainprep -o $MODULE_DIR/doc
# $ cd $MODULE_DIR/doc
# $ make html-strict
###
name: "DocumentationBuilder"

on:
push:
branches:
- "master"
- "main"
- "dev"
pull_request:
branches:
- "*"
workflow_dispatch:

env:
MIN_PYTHON_VERSION: "3.12"

jobs:

build_and_deploy:

runs-on: ${{ matrix.os }}
if: ${{ github.ref == 'refs/heads/master' }}
runs-on: "ubuntu-latest"
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
python-version: [3.12]
env:
FREESURFER_HOME: "/freesurfer/home"

permissions:
contents: write

steps:
- name: Extract branch name
id: extract-branch
shell: bash
run: echo "BRANCH=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_OUTPUT
- name: Identify deploy type
id: deploy-type
run: |
if ${{ github.ref == 'refs/heads/master' ||
github.ref == 'refs/heads/main' }}; then
echo "DEPLOY_TYPE=stable" >> $GITHUB_OUTPUT
elif ${{ github.ref == 'refs/heads/dev' }}; then
echo "DEPLOY_TYPE=dev" >> $GITHUB_OUTPUT
else
echo "DEPLOY_TYPE=pr" >> $GITHUB_OUTPUT
fi
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
python-version: ${{ env.MIN_PYTHON_VERSION }}
cache: "pip"
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
python -m pip install --progress-bar off .
python -m pip install git+https://github.com/AGrigis/pysphinxdoc.git
python -m pip install requests "scipy<=1.15" statsmodels
python -m pip install torch torchvision --index-url https://download.pytorch.org/whl/cpu
python -m pip install git+https://github.com/neurospin-deepinsight/brainrise.git
python -m pip install --progress-bar off ".[ci,doc]"
- name: Install apt packages
uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: dvipng texlive-latex-base texlive-latex-extra build-essential
version: 1.0
- name: Install documentation resources
run: |
DIR=$(pwd)
which python
sphinxdoc -v 2 -p $DIR -n brainprep -o $DIR/doc
- name: Compute documentation
run: |
mkdir -p tmp/doc
sphinxdoc -v 2 -p . -n brainprep -o tmp/doc
cd tmp/doc
make raw-html
ls source/_static
ls build/html/_static
cp -r source/_static/* build/html/_static
cd ../..
DIR=$(pwd)
cd $DIR/doc
echo "Documentation folder: $DIR/doc"
make html-strict
cd $DIR
- name: Upload documentation as an artifact
uses: actions/upload-artifact@v4
env:
DEPLOY_TYPE: ${{ steps.deploy-type.outputs.DEPLOY_TYPE }}
with:
name: html-documentation
retention-days: 15
name: doc-${{ env.DEPLOY_TYPE }}
retention-days: 1
path: |
tmp/doc/build/html
doc/_build/html
- name: Deploy
env:
DEPLOY_TYPE: ${{ steps.deploy-type.outputs.DEPLOY_TYPE }}
if: env.DEPLOY_TYPE != 'pr'
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: tmp/doc/build/html

build:

runs-on: ${{ matrix.os }}
if: ${{ github.ref != 'refs/heads/master' }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
python-version: [3.12]

permissions:
contents: write

steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install --progress-bar off .
python -m pip install git+https://github.com/AGrigis/pysphinxdoc.git
python -m pip install requests "scipy<=1.15" statsmodels
python -m pip install torch torchvision --index-url https://download.pytorch.org/whl/cpu
python -m pip install git+https://github.com/neurospin-deepinsight/brainrise.git
- name: Compute documentation
run: |
mkdir -p tmp/doc
sphinxdoc -v 2 -p . -n brainprep -o tmp/doc
cd tmp/doc
make raw-html
ls source/_static
ls build/html/_static
cp -r source/_static/* build/html/_static
cd ../..
publish_dir: doc/_build/html
destination_dir: ./${{ env.DEPLOY_TYPE }}
32 changes: 0 additions & 32 deletions .github/workflows/pep8.yml

This file was deleted.

49 changes: 49 additions & 0 deletions .github/workflows/pycodestyle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
---
# Workflow to check code format.
#
# To run this check locally from the repository folder:
#
# .. code-block:: bash
#
# $ pycodestyle brainprep --ignore="E121,E123,E126,E226,E24,E704,E402,E731,E722,E741,W503,W504,W605,E305,E125"
###
name: "PythonLinter[pycodestyle]"

on:
push:
branches:
- "master"
- "main"
- "dev"
pull_request:
branches:
- "*"
workflow_dispatch:

jobs:
build:

runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
python-version: [3.12]

steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install pycodestyle
pip install --progress-bar off .
- name: Check Python syntax
run: |
pycodestyle brainprep --ignore="E121,E123,E126,E226,E24,E704,E402,E731,E722,E741,W503,W504,W605,E305,E125"
Loading
Loading