fixed saving modified nii in DIPY reg #458
reviewdog [flake8] report
reported by reviewdog 🐶
Findings (10)
niftypet/nimpa/prc/prc.py|897 col 13| E225 missing whitespace around operator
niftypet/nimpa/prc/regseg.py|19 col 1| I001 isort found an import in the wrong position
niftypet/nimpa/prc/regseg.py|20 col 1| I005 isort found an unexpected missing import
niftypet/nimpa/prc/regseg.py|151 col 14| B006 Do not use mutable data structures for argument defaults. They are created during function definition time. All calls to the function reuse this one instance of that data structure, persisting changes between them.
niftypet/nimpa/prc/regseg.py|170 col 48| W291 trailing whitespace
niftypet/nimpa/prc/regseg.py|176 col 5| E303 too many blank lines (2)
niftypet/nimpa/prc/regseg.py|242 col 53| E231 missing whitespace after ':'
niftypet/nimpa/prc/regseg.py|245 col 33| E203 whitespace before ','
niftypet/nimpa/prc/regseg.py|245 col 34| E231 missing whitespace after ','
niftypet/nimpa/prc/regseg.py|260 col 11| E271 multiple spaces after keyword
Filtered Findings (0)
Annotations
Check failure on line 897 in niftypet/nimpa/prc/prc.py
github-actions / flake8
[flake8] niftypet/nimpa/prc/prc.py#L897
E225 missing whitespace around operator
Raw output
niftypet/nimpa/prc/prc.py:897:13: E225 missing whitespace around operator
Check failure on line 19 in niftypet/nimpa/prc/regseg.py
github-actions / flake8
[flake8] niftypet/nimpa/prc/regseg.py#L19
I001 isort found an import in the wrong position
Raw output
niftypet/nimpa/prc/regseg.py:19:1: I001 isort found an import in the wrong position
Check failure on line 20 in niftypet/nimpa/prc/regseg.py
github-actions / flake8
[flake8] niftypet/nimpa/prc/regseg.py#L20
I005 isort found an unexpected missing import
Raw output
niftypet/nimpa/prc/regseg.py:20:1: I005 isort found an unexpected missing import
Check failure on line 151 in niftypet/nimpa/prc/regseg.py
github-actions / flake8
[flake8] niftypet/nimpa/prc/regseg.py#L151
B006 Do not use mutable data structures for argument defaults. They are created during function definition time. All calls to the function reuse this one instance of that data structure, persisting changes between them.
Raw output
niftypet/nimpa/prc/regseg.py:151:14: B006 Do not use mutable data structures for argument defaults. They are created during function definition time. All calls to the function reuse this one instance of that data structure, persisting changes between them.
Check failure on line 170 in niftypet/nimpa/prc/regseg.py
github-actions / flake8
[flake8] niftypet/nimpa/prc/regseg.py#L170
W291 trailing whitespace
Raw output
niftypet/nimpa/prc/regseg.py:170:48: W291 trailing whitespace
Check failure on line 176 in niftypet/nimpa/prc/regseg.py
github-actions / flake8
[flake8] niftypet/nimpa/prc/regseg.py#L176
E303 too many blank lines (2)
Raw output
niftypet/nimpa/prc/regseg.py:176:5: E303 too many blank lines (2)
Check failure on line 242 in niftypet/nimpa/prc/regseg.py
github-actions / flake8
[flake8] niftypet/nimpa/prc/regseg.py#L242
E231 missing whitespace after ':'
Raw output
niftypet/nimpa/prc/regseg.py:242:53: E231 missing whitespace after ':'
Check failure on line 245 in niftypet/nimpa/prc/regseg.py
github-actions / flake8
[flake8] niftypet/nimpa/prc/regseg.py#L245
E203 whitespace before ','
Raw output
niftypet/nimpa/prc/regseg.py:245:33: E203 whitespace before ','
Check failure on line 245 in niftypet/nimpa/prc/regseg.py
github-actions / flake8
[flake8] niftypet/nimpa/prc/regseg.py#L245
E231 missing whitespace after ','
Raw output
niftypet/nimpa/prc/regseg.py:245:34: E231 missing whitespace after ','
Check failure on line 260 in niftypet/nimpa/prc/regseg.py
github-actions / flake8
[flake8] niftypet/nimpa/prc/regseg.py#L260
E271 multiple spaces after keyword
Raw output
niftypet/nimpa/prc/regseg.py:260:11: E271 multiple spaces after keyword