Skip to content

Commit

Permalink
STY: Fix indentations, add pep8 config
Browse files Browse the repository at this point in the history
  • Loading branch information
mgxd committed Oct 4, 2023
1 parent 65a34a9 commit 61e7c24
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
6 changes: 6 additions & 0 deletions .pep8speaks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
scanner:
diff_only: True
linter: pycodestyle

pycodestyle:
max-line-length: 100
8 changes: 4 additions & 4 deletions nibabies/workflows/anatomical/outputs.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ def init_anat_reports_wf(
# fmt: off
workflow.connect([

Check warning on line 248 in nibabies/workflows/anatomical/outputs.py

View check run for this annotation

Codecov / codecov/patch

nibabies/workflows/anatomical/outputs.py#L248

Added line #L248 was not covered by tests
(inputnode, recon_report, [('subjects_dir', 'subjects_dir'),
('subject_id', 'subject_id')]),
('subject_id', 'subject_id')]),
(recon_report, ds_recon_report, [('out_report', 'in_file')]),
(inputnode, ds_recon_report, [('source_file', 'source_file')])
])
Expand Down Expand Up @@ -654,7 +654,7 @@ def init_anat_derivatives_wf(
# fmt: off
workflow.connect([
(inputnode, mask_anat, [(preproc_file, 'in_file'),
('anat_mask', 'in_mask')]),
('anat_mask', 'in_mask')]),
(mask_anat, anat2std_t1w, [('out_file', 'input_image')]),
(inputnode, anat2std_mask, [('anat_mask', 'input_image')]),
(inputnode, anat2std_dseg, [('anat_dseg', 'input_image')]),
Expand Down Expand Up @@ -832,9 +832,9 @@ def init_anat_derivatives_wf(
(name_morphs, ds_morphs, [('hemi', 'hemi'),
('suffix', 'suffix')]),
(inputnode, ds_anat_fsaseg, [('anat_fs_aseg', 'in_file'),
(source_files, 'source_file')]),
(source_files, 'source_file')]),
(inputnode, ds_anat_fsparc, [('anat_fs_aparc', 'in_file'),
(source_files, 'source_file')]),
(source_files, 'source_file')]),
])
# fmt: on
if cifti_output:
Expand Down

0 comments on commit 61e7c24

Please sign in to comment.