Skip to content

Commit 4b715c9

Browse files
committed
STY: Fix indentations, add pep8 config
1 parent 7edad31 commit 4b715c9

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

.pep8speaks.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
scanner:
2+
diff_only: True
3+
linter: pycodestyle
4+
5+
pycodestyle:
6+
max-line-length: 100

nibabies/workflows/anatomical/outputs.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ def init_anat_reports_wf(
247247
# fmt: off
248248
workflow.connect([
249249
(inputnode, recon_report, [('subjects_dir', 'subjects_dir'),
250-
('subject_id', 'subject_id')]),
250+
('subject_id', 'subject_id')]),
251251
(recon_report, ds_recon_report, [('out_report', 'in_file')]),
252252
(inputnode, ds_recon_report, [('source_file', 'source_file')])
253253
])
@@ -654,7 +654,7 @@ def init_anat_derivatives_wf(
654654
# fmt: off
655655
workflow.connect([
656656
(inputnode, mask_anat, [(preproc_file, 'in_file'),
657-
('anat_mask', 'in_mask')]),
657+
('anat_mask', 'in_mask')]),
658658
(mask_anat, anat2std_t1w, [('out_file', 'input_image')]),
659659
(inputnode, anat2std_mask, [('anat_mask', 'input_image')]),
660660
(inputnode, anat2std_dseg, [('anat_dseg', 'input_image')]),
@@ -832,9 +832,9 @@ def init_anat_derivatives_wf(
832832
(name_morphs, ds_morphs, [('hemi', 'hemi'),
833833
('suffix', 'suffix')]),
834834
(inputnode, ds_anat_fsaseg, [('anat_fs_aseg', 'in_file'),
835-
(source_files, 'source_file')]),
835+
(source_files, 'source_file')]),
836836
(inputnode, ds_anat_fsparc, [('anat_fs_aparc', 'in_file'),
837-
(source_files, 'source_file')]),
837+
(source_files, 'source_file')]),
838838
])
839839
# fmt: on
840840
if cifti_output:

0 commit comments

Comments
 (0)