fixing previous older manual fixes (bugs) #462
reviewdog [flake8] report
reported by reviewdog 🐶
Findings (87)
niftypet/nimpa/acr/params.py|145 col 24| W291 trailing whitespace
niftypet/nimpa/acr/params.py|154 col 1| W293 blank line contains whitespace
niftypet/nimpa/acr/params.py|163 col 36| E231 missing whitespace after ','
niftypet/nimpa/acr/params.py|164 col 1| W293 blank line contains whitespace
niftypet/nimpa/acr/params.py|191 col 1| W293 blank line contains whitespace
niftypet/nimpa/acr/params.py|193 col 1| W293 blank line contains whitespace
niftypet/nimpa/acr/params.py|202 col 15| E251 unexpected spaces around keyword / parameter equals
niftypet/nimpa/acr/params.py|202 col 17| E251 unexpected spaces around keyword / parameter equals
niftypet/nimpa/acr/params.py|203 col 15| E251 unexpected spaces around keyword / parameter equals
niftypet/nimpa/acr/params.py|203 col 17| E251 unexpected spaces around keyword / parameter equals
niftypet/nimpa/acr/params.py|204 col 15| E251 unexpected spaces around keyword / parameter equals
niftypet/nimpa/acr/params.py|204 col 17| E251 unexpected spaces around keyword / parameter equals
niftypet/nimpa/acr/params.py|205 col 15| E251 unexpected spaces around keyword / parameter equals
niftypet/nimpa/acr/params.py|205 col 17| E251 unexpected spaces around keyword / parameter equals
niftypet/nimpa/acr/params.py|206 col 15| E251 unexpected spaces around keyword / parameter equals
niftypet/nimpa/acr/params.py|206 col 17| E251 unexpected spaces around keyword / parameter equals
niftypet/nimpa/acr/params.py|207 col 14| E251 unexpected spaces around keyword / parameter equals
niftypet/nimpa/acr/params.py|207 col 14| E221 multiple spaces before operator
niftypet/nimpa/acr/params.py|207 col 17| E251 unexpected spaces around keyword / parameter equals
niftypet/nimpa/acr/params.py|208 col 14| E251 unexpected spaces around keyword / parameter equals
niftypet/nimpa/acr/params.py|208 col 14| E221 multiple spaces before operator
niftypet/nimpa/acr/params.py|208 col 17| E251 unexpected spaces around keyword / parameter equals
niftypet/nimpa/acr/params.py|209 col 15| E251 unexpected spaces around keyword / parameter equals
niftypet/nimpa/acr/params.py|209 col 17| E251 unexpected spaces around keyword / parameter equals
niftypet/nimpa/acr/params.py|210 col 17| E251 unexpected spaces around keyword / parameter equals
niftypet/nimpa/acr/params.py|211 col 14| E251 unexpected spaces around keyword / parameter equals
niftypet/nimpa/acr/params.py|211 col 14| E221 multiple spaces before operator
niftypet/nimpa/acr/params.py|211 col 17| E251 unexpected spaces around keyword / parameter equals
niftypet/nimpa/acr/params.py|212 col 14| E251 unexpected spaces around keyword / parameter equals
niftypet/nimpa/acr/params.py|212 col 14| E221 multiple spaces before operator
niftypet/nimpa/acr/params.py|212 col 17| E251 unexpected spaces around keyword / parameter equals
niftypet/nimpa/acr/params.py|223 col 16| E251 unexpected spaces around keyword / parameter equals
niftypet/nimpa/acr/params.py|223 col 16| E221 multiple spaces before operator
niftypet/nimpa/acr/params.py|223 col 19| E251 unexpected spaces around keyword / parameter equals
niftypet/nimpa/acr/params.py|224 col 16| E251 unexpected spaces around keyword / parameter equals
niftypet/nimpa/acr/params.py|224 col 16| E221 multiple spaces before operator
niftypet/nimpa/acr/params.py|224 col 19| E251 unexpected spaces around keyword / parameter equals
niftypet/nimpa/acr/params.py|225 col 17| E251 unexpected spaces around keyword / parameter equals
niftypet/nimpa/acr/params.py|225 col 19| E251 unexpected spaces around keyword / parameter equals
niftypet/nimpa/acr/params.py|226 col 17| E251 unexpected spaces around keyword / parameter equals
niftypet/nimpa/acr/params.py|226 col 19| E251 unexpected spaces around keyword / parameter equals
niftypet/nimpa/acr/params.py|231 col 16| E251 unexpected spaces around keyword / parameter equals
niftypet/nimpa/acr/params.py|231 col 18| E251 unexpected spaces around keyword / parameter equals
niftypet/nimpa/acr/params.py|232 col 16| E251 unexpected spaces around keyword / parameter equals
niftypet/nimpa/acr/params.py|232 col 18| E251 unexpected spaces around keyword / parameter equals
niftypet/nimpa/acr/params.py|233 col 18| E251 unexpected spaces around keyword / parameter equals
niftypet/nimpa/acr/params.py|234 col 15| E251 unexpected spaces around keyword / parameter equals
niftypet/nimpa/acr/params.py|234 col 15| E221 multiple spaces before operator
niftypet/nimpa/acr/params.py|234 col 18| E251 unexpected spaces around keyword / parameter equals
niftypet/nimpa/acr/params.py|235 col 15| E251 unexpected spaces around keyword / parameter equals
niftypet/nimpa/acr/params.py|235 col 15| E221 multiple spaces before operator
niftypet/nimpa/acr/params.py|235 col 18| E251 unexpected spaces around keyword / parameter equals
niftypet/nimpa/acr/params.py|236 col 16| E251 unexpected spaces around keyword / parameter equals
niftypet/nimpa/acr/params.py|236 col 18| E251 unexpected spaces around keyword / parameter equals
niftypet/nimpa/acr/params.py|237 col 16| E251 unexpected spaces around keyword / parameter equals
niftypet/nimpa/acr/params.py|237 col 18| E251 unexpected spaces around keyword / parameter equals
niftypet/nimpa/acr/params.py|238 col 16| E251 unexpected spaces around keyword / parameter equals
niftypet/nimpa/acr/params.py|238 col 18| E251 unexpected spaces around keyword / parameter equals
niftypet/nimpa/acr/params.py|239 col 16| E251 unexpected spaces around keyword / parameter equals
niftypet/nimpa/acr/params.py|239 col 18| E251 unexpected spaces around keyword / parameter equals
niftypet/nimpa/acr/params.py|240 col 16| E251 unexpected spaces around keyword / parameter equals
niftypet/nimpa/acr/params.py|240 col 18| E251 unexpected spaces around keyword / parameter equals
niftypet/nimpa/acr/params.py|249 col 1| W293 blank line contains whitespace
niftypet/nimpa/acr/params.py|270 col 15| E251 unexpected spaces around keyword / parameter equals
niftypet/nimpa/acr/params.py|270 col 17| E251 unexpected spaces around keyword / parameter equals
niftypet/nimpa/acr/params.py|271 col 18| E251 unexpected spaces around keyword / parameter equals
niftypet/nimpa/acr/params.py|271 col 20| E251 unexpected spaces around keyword / parameter equals
niftypet/nimpa/acr/params.py|271 col 25| W291 trailing whitespace
niftypet/nimpa/prc/imio.py|694 col 13| B001 Do not use bare except:
, it also catches unexpected events like memory errors, interrupts, system exit, and so on. Prefer except Exception:
. If you're sure what you're doing, be explicit and write except BaseException:
.
niftypet/nimpa/prc/imio.py|694 col 13| E722 do not use bare 'except'
niftypet/nimpa/prc/imio.py|696 col 1| W293 blank line contains whitespace
niftypet/nimpa/prc/imio.py|698 col 9| E303 too many blank lines (2)
niftypet/nimpa/prc/imio.py|1057 col 45| E231 missing whitespace after ':'
niftypet/nimpa/prc/prc.py|98 col 90| E231 missing whitespace after ':'
niftypet/nimpa/prc/prc.py|102 col 54| E231 missing whitespace after ':'
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
niftypet/nimpa/prc/regseg.py|380 col 45| E231 missing whitespace after ':'
niftypet/nimpa/prc/regseg.py|470 col 45| E231 missing whitespace after ':'
Filtered Findings (0)
Annotations
Check failure on line 145 in niftypet/nimpa/acr/params.py
github-actions / flake8
[flake8] niftypet/nimpa/acr/params.py#L145
W291 trailing whitespace
Raw output
niftypet/nimpa/acr/params.py:145:24: W291 trailing whitespace
Check failure on line 154 in niftypet/nimpa/acr/params.py
github-actions / flake8
[flake8] niftypet/nimpa/acr/params.py#L154
W293 blank line contains whitespace
Raw output
niftypet/nimpa/acr/params.py:154:1: W293 blank line contains whitespace
Check failure on line 163 in niftypet/nimpa/acr/params.py
github-actions / flake8
[flake8] niftypet/nimpa/acr/params.py#L163
E231 missing whitespace after ','
Raw output
niftypet/nimpa/acr/params.py:163:36: E231 missing whitespace after ','
Check failure on line 164 in niftypet/nimpa/acr/params.py
github-actions / flake8
[flake8] niftypet/nimpa/acr/params.py#L164
W293 blank line contains whitespace
Raw output
niftypet/nimpa/acr/params.py:164:1: W293 blank line contains whitespace
Check failure on line 191 in niftypet/nimpa/acr/params.py
github-actions / flake8
[flake8] niftypet/nimpa/acr/params.py#L191
W293 blank line contains whitespace
Raw output
niftypet/nimpa/acr/params.py:191:1: W293 blank line contains whitespace
Check failure on line 193 in niftypet/nimpa/acr/params.py
github-actions / flake8
[flake8] niftypet/nimpa/acr/params.py#L193
W293 blank line contains whitespace
Raw output
niftypet/nimpa/acr/params.py:193:1: W293 blank line contains whitespace
Check failure on line 202 in niftypet/nimpa/acr/params.py
github-actions / flake8
[flake8] niftypet/nimpa/acr/params.py#L202
E251 unexpected spaces around keyword / parameter equals
Raw output
niftypet/nimpa/acr/params.py:202:15: E251 unexpected spaces around keyword / parameter equals
Check failure on line 202 in niftypet/nimpa/acr/params.py
github-actions / flake8
[flake8] niftypet/nimpa/acr/params.py#L202
E251 unexpected spaces around keyword / parameter equals
Raw output
niftypet/nimpa/acr/params.py:202:17: E251 unexpected spaces around keyword / parameter equals
Check failure on line 203 in niftypet/nimpa/acr/params.py
github-actions / flake8
[flake8] niftypet/nimpa/acr/params.py#L203
E251 unexpected spaces around keyword / parameter equals
Raw output
niftypet/nimpa/acr/params.py:203:15: E251 unexpected spaces around keyword / parameter equals
Check failure on line 203 in niftypet/nimpa/acr/params.py
github-actions / flake8
[flake8] niftypet/nimpa/acr/params.py#L203
E251 unexpected spaces around keyword / parameter equals
Raw output
niftypet/nimpa/acr/params.py:203:17: E251 unexpected spaces around keyword / parameter equals
Check failure on line 204 in niftypet/nimpa/acr/params.py
github-actions / flake8
[flake8] niftypet/nimpa/acr/params.py#L204
E251 unexpected spaces around keyword / parameter equals
Raw output
niftypet/nimpa/acr/params.py:204:15: E251 unexpected spaces around keyword / parameter equals
Check failure on line 204 in niftypet/nimpa/acr/params.py
github-actions / flake8
[flake8] niftypet/nimpa/acr/params.py#L204
E251 unexpected spaces around keyword / parameter equals
Raw output
niftypet/nimpa/acr/params.py:204:17: E251 unexpected spaces around keyword / parameter equals
Check failure on line 205 in niftypet/nimpa/acr/params.py
github-actions / flake8
[flake8] niftypet/nimpa/acr/params.py#L205
E251 unexpected spaces around keyword / parameter equals
Raw output
niftypet/nimpa/acr/params.py:205:15: E251 unexpected spaces around keyword / parameter equals
Check failure on line 205 in niftypet/nimpa/acr/params.py
github-actions / flake8
[flake8] niftypet/nimpa/acr/params.py#L205
E251 unexpected spaces around keyword / parameter equals
Raw output
niftypet/nimpa/acr/params.py:205:17: E251 unexpected spaces around keyword / parameter equals
Check failure on line 206 in niftypet/nimpa/acr/params.py
github-actions / flake8
[flake8] niftypet/nimpa/acr/params.py#L206
E251 unexpected spaces around keyword / parameter equals
Raw output
niftypet/nimpa/acr/params.py:206:15: E251 unexpected spaces around keyword / parameter equals
Check failure on line 206 in niftypet/nimpa/acr/params.py
github-actions / flake8
[flake8] niftypet/nimpa/acr/params.py#L206
E251 unexpected spaces around keyword / parameter equals
Raw output
niftypet/nimpa/acr/params.py:206:17: E251 unexpected spaces around keyword / parameter equals
Check failure on line 207 in niftypet/nimpa/acr/params.py
github-actions / flake8
[flake8] niftypet/nimpa/acr/params.py#L207
E251 unexpected spaces around keyword / parameter equals
Raw output
niftypet/nimpa/acr/params.py:207:14: E251 unexpected spaces around keyword / parameter equals
Check failure on line 207 in niftypet/nimpa/acr/params.py
github-actions / flake8
[flake8] niftypet/nimpa/acr/params.py#L207
E221 multiple spaces before operator
Raw output
niftypet/nimpa/acr/params.py:207:14: E221 multiple spaces before operator
Check failure on line 207 in niftypet/nimpa/acr/params.py
github-actions / flake8
[flake8] niftypet/nimpa/acr/params.py#L207
E251 unexpected spaces around keyword / parameter equals
Raw output
niftypet/nimpa/acr/params.py:207:17: E251 unexpected spaces around keyword / parameter equals
Check failure on line 208 in niftypet/nimpa/acr/params.py
github-actions / flake8
[flake8] niftypet/nimpa/acr/params.py#L208
E251 unexpected spaces around keyword / parameter equals
Raw output
niftypet/nimpa/acr/params.py:208:14: E251 unexpected spaces around keyword / parameter equals
Check failure on line 208 in niftypet/nimpa/acr/params.py
github-actions / flake8
[flake8] niftypet/nimpa/acr/params.py#L208
E221 multiple spaces before operator
Raw output
niftypet/nimpa/acr/params.py:208:14: E221 multiple spaces before operator
Check failure on line 208 in niftypet/nimpa/acr/params.py
github-actions / flake8
[flake8] niftypet/nimpa/acr/params.py#L208
E251 unexpected spaces around keyword / parameter equals
Raw output
niftypet/nimpa/acr/params.py:208:17: E251 unexpected spaces around keyword / parameter equals
Check failure on line 209 in niftypet/nimpa/acr/params.py
github-actions / flake8
[flake8] niftypet/nimpa/acr/params.py#L209
E251 unexpected spaces around keyword / parameter equals
Raw output
niftypet/nimpa/acr/params.py:209:15: E251 unexpected spaces around keyword / parameter equals
Check failure on line 209 in niftypet/nimpa/acr/params.py
github-actions / flake8
[flake8] niftypet/nimpa/acr/params.py#L209
E251 unexpected spaces around keyword / parameter equals
Raw output
niftypet/nimpa/acr/params.py:209:17: E251 unexpected spaces around keyword / parameter equals
Check failure on line 210 in niftypet/nimpa/acr/params.py
github-actions / flake8
[flake8] niftypet/nimpa/acr/params.py#L210
E251 unexpected spaces around keyword / parameter equals
Raw output
niftypet/nimpa/acr/params.py:210:17: E251 unexpected spaces around keyword / parameter equals