oaiharvester: workflows improvements

Work in progress for #2242 
38:1: E302 expected 2 blank lines, found 1
38: D400 First line should end with '.', not 'e'
66: D103 Docstring missing
144:1: E302 expected 2 blank lines, found 1
144: D103 Docstring missing
145:78: E502 the backslash is redundant between brackets
146:24: E127 continuation line over-indented for visual indent
146:63: E502 the backslash is redundant between brackets
147:24: E127 continuation line over-indented for visual indent
176:21: E711 comparison to None should be 'if cond is None:'
178:21: E711 comparison to None should be 'if cond is None:'
224: D103 Docstring missing
234:29: E251 unexpected spaces around keyword / parameter equals
234:31: E251 unexpected spaces around keyword / parameter equals
238:26: E231 missing whitespace after ','
242:53: E128 continuation line under-indented for visual indent
243:53: E128 continuation line under-indented for visual indent
247:29: E251 unexpected spaces around keyword / parameter equals
247:31: E251 unexpected spaces around keyword / parameter equals
253: D103 Docstring missing
263:29: E251 unexpected spaces around keyword / parameter equals
263:31: E251 unexpected spaces around keyword / parameter equals
266:26: E231 missing whitespace after ','
275:29: E251 unexpected spaces around keyword / parameter equals
275:31: E251 unexpected spaces around keyword / parameter equals
281:58: E251 unexpected spaces around keyword / parameter equals
281:60: E251 unexpected spaces around keyword / parameter equals
281:72: E251 unexpected spaces around keyword / parameter equals
281:74: E251 unexpected spaces around keyword / parameter equals
281: D103 Docstring missing
284:13: E711 comparison to None should be 'if cond is None:'
286:14: E711 comparison to None should be 'if cond is None:'
295:29: E251 unexpected spaces around keyword / parameter equals
295:31: E251 unexpected spaces around keyword / parameter equals
298:26: E231 missing whitespace after ','
302:53: E128 continuation line under-indented for visual indent
303:53: E128 continuation line under-indented for visual indent
304:53: E128 continuation line under-indented for visual indent
308:29: E251 unexpected spaces around keyword / parameter equals
308:31: E251 unexpected spaces around keyword / parameter equals
313:1: E302 expected 2 blank lines, found 1
313: D103 Docstring missing
316:13: E711 comparison to None should be 'if cond is None:'
318:14: E711 comparison to None should be 'if cond is None:'
320:12: E711 comparison to None should be 'if cond is None:'
329:29: E251 unexpected spaces around keyword / parameter equals
329:31: E251 unexpected spaces around keyword / parameter equals
332:26: E231 missing whitespace after ','
336:53: E128 continuation line under-indented for visual indent
337:53: E128 continuation line under-indented for visual indent
338:53: E128 continuation line under-indented for visual indent
339:53: E128 continuation line under-indented for visual indent
340:53: E128 continuation line under-indented for visual indent
344:29: E251 unexpected spaces around keyword / parameter equals
344:31: E251 unexpected spaces around keyword / parameter equals
349:1: E302 expected 2 blank lines, found 1
349:60: E251 unexpected spaces around keyword / parameter equals
349:62: E251 unexpected spaces around keyword / parameter equals
349: D103 Docstring missing
361:26: E231 missing whitespace after ','
365:53: E128 continuation line under-indented for visual indent
366:53: E128 continuation line under-indented for visual indent
375:1: E302 expected 2 blank lines, found 1
375: D103 Docstring missing
402:1: E302 expected 2 blank lines, found 1
402: D103 Docstring missing
414:26: E231 missing whitespace after ','
427:1: E302 expected 2 blank lines, found 1
427:54: E251 unexpected spaces around keyword / parameter equals
427:56: E251 unexpected spaces around keyword / parameter equals
427: D103 Docstring missing
436:29: E251 unexpected spaces around keyword / parameter equals
436:31: E251 unexpected spaces around keyword / parameter equals
439:26: E231 missing whitespace after ','
442:34: E251 unexpected spaces around keyword / parameter equals
442:36: E251 unexpected spaces around keyword / parameter equals
443:72: E251 unexpected spaces around keyword / parameter equals
443:74: E251 unexpected spaces around keyword / parameter equals
447:29: E251 unexpected spaces around keyword / parameter equals
447:31: E251 unexpected spaces around keyword / parameter equals
453: D103 Docstring missing
462:29: E251 unexpected spaces around keyword / parameter equals
462:31: E251 unexpected spaces around keyword / parameter equals
465:26: E231 missing whitespace after ','
469:61: E127 continuation line over-indented for visual indent
473:29: E251 unexpected spaces around keyword / parameter equals
473:31: E251 unexpected spaces around keyword / parameter equals
479: D103 Docstring missing
488:29: E251 unexpected spaces around keyword / parameter equals
488:31: E251 unexpected spaces around keyword / parameter equals
491:26: E231 missing whitespace after ','
495:53: E128 continuation line under-indented for visual indent
495:70: E251 unexpected spaces around keyword / parameter equals
495:72: E251 unexpected spaces around keyword / parameter equals
499:29: E251 unexpected spaces around keyword / parameter equals
499:31: E251 unexpected spaces around keyword / parameter equals
504:1: E302 expected 2 blank lines, found 1
504: D103 Docstring missing
507:16: E126 continuation line over-indented for hanging indent
515:160: E502 the backslash is redundant between brackets
543: D103 Docstring missing
552:29: E251 unexpected spaces around keyword / parameter equals
552:31: E251 unexpected spaces around keyword / parameter equals
555:26: E231 missing whitespace after ','
557:23: E711 comparison to None should be 'if cond is None:'
558:44: E703 statement ends with a semicolon
567: D103 Docstring missing
576:29: E251 unexpected spaces around keyword / parameter equals
576:31: E251 unexpected spaces around keyword / parameter equals
579:26: E231 missing whitespace after ','
581:23: E711 comparison to None should be 'if cond is None:'
582:44: E703 statement ends with a semicolon
594:1: E302 expected 2 blank lines, found 1
594: D103 Docstring missing
636:1: E302 expected 2 blank lines, found 1
636: D290 White spaces around docstring should be trimmed.
636: D400 First line should end with '.', not 't'
642:5: F841 local variable 'result' is assigned to but never used
642:15: E201 whitespace after '{'
644:9: E124 closing bracket does not match visual indentation
647:110: F821 undefined name 'filter_key'
651:1: E302 expected 2 blank lines, found 1
651:35: E251 unexpected spaces around keyword / parameter equals
651:37: E251 unexpected spaces around keyword / parameter equals
651: D103 Docstring missing