diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9a1f27133..3e7d2d616 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -10,7 +10,7 @@ repos: args: [ --fix ] - id: ruff-format - repo: https://github.com/codespell-project/codespell - rev: v2.2.6 + rev: v2.3.0 hooks: - id: codespell additional_dependencies: diff --git a/clinica/pipelines/dwi/preprocessing/t1/workflows.py b/clinica/pipelines/dwi/preprocessing/t1/workflows.py index 8488c2dc3..cf040d1aa 100644 --- a/clinica/pipelines/dwi/preprocessing/t1/workflows.py +++ b/clinica/pipelines/dwi/preprocessing/t1/workflows.py @@ -124,7 +124,7 @@ def epi_pipeline( ( inputnode, ants_registration, - [(inpt, f"inputnode.{inpt}") for inpt in workflow_inputs], + [(i, f"inputnode.{i}") for i in workflow_inputs], ), ( inputnode, diff --git a/clinica/pipelines/machine_learning_spatial_svm/spatial_svm_utils.py b/clinica/pipelines/machine_learning_spatial_svm/spatial_svm_utils.py index 2dffd4cf5..c3490f862 100644 --- a/clinica/pipelines/machine_learning_spatial_svm/spatial_svm_utils.py +++ b/clinica/pipelines/machine_learning_spatial_svm/spatial_svm_utils.py @@ -682,7 +682,7 @@ def largest_eigenvalue_heat_3D_tensor2(g, h, epsilon: float = 1e-6): :param g: metric tensor :param h: space step :param epsilon: stop criterion (default: 1e-6) - :return: lamba = the largest eigenvalues + :return: lambda = the largest eigenvalues """ import cmath