diff --git a/bonobo/examples/.style.yapf b/bonobo/examples/.style.yapf index 70f7590..ffebd86 100644 --- a/bonobo/examples/.style.yapf +++ b/bonobo/examples/.style.yapf @@ -1,4 +1,4 @@ [style] based_on_style = pep8 -column_limit = 80 +column_limit = 74 dedent_closing_brackets = true diff --git a/bonobo/examples/datasets/fablabs.py b/bonobo/examples/datasets/fablabs.py index ae74c0b..be95fe1 100644 --- a/bonobo/examples/datasets/fablabs.py +++ b/bonobo/examples/datasets/fablabs.py @@ -61,8 +61,10 @@ def display(row): None, ( ' '.join( filter( - None, - (row.get('postal_code', None), row.get('city', None)) + None, ( + row.get('postal_code', None), + row.get('city', None) + ) ) ), row.get('county', None), row.get('country'), ) @@ -82,8 +84,9 @@ def display(row): format(Fore.BLUE, Style.RESET_ALL, **row) ) print( - ' - {}source{}: {source}'. - format(Fore.BLUE, Style.RESET_ALL, source='datanova/' + API_DATASET) + ' - {}source{}: {source}'.format( + Fore.BLUE, Style.RESET_ALL, source='datanova/' + API_DATASET + ) ) diff --git a/bonobo/examples/tutorials/tut02_01_read.py b/bonobo/examples/tutorials/tut02_01_read.py index 28baa9e..9806d43 100644 --- a/bonobo/examples/tutorials/tut02_01_read.py +++ b/bonobo/examples/tutorials/tut02_01_read.py @@ -6,4 +6,6 @@ graph = bonobo.Graph( ) if __name__ == '__main__': - bonobo.run(graph, services={'fs': bonobo.open_examples_fs('datasets')}) + bonobo.run( + graph, services={'fs': bonobo.open_examples_fs('datasets')} + ) diff --git a/bonobo/examples/tutorials/tut02_02_write.py b/bonobo/examples/tutorials/tut02_02_write.py index a3c4811..161c58e 100644 --- a/bonobo/examples/tutorials/tut02_02_write.py +++ b/bonobo/examples/tutorials/tut02_02_write.py @@ -12,4 +12,6 @@ graph = bonobo.Graph( ) if __name__ == '__main__': - bonobo.run(graph, services={'fs': bonobo.open_examples_fs('datasets')}) + bonobo.run( + graph, services={'fs': bonobo.open_examples_fs('datasets')} + ) diff --git a/bonobo/examples/tutorials/tut02_03_writeasmap.py b/bonobo/examples/tutorials/tut02_03_writeasmap.py index bdf3194..4598b56 100644 --- a/bonobo/examples/tutorials/tut02_03_writeasmap.py +++ b/bonobo/examples/tutorials/tut02_03_writeasmap.py @@ -22,4 +22,6 @@ graph = bonobo.Graph( ) if __name__ == '__main__': - bonobo.run(graph, services={'fs': bonobo.open_examples_fs('datasets')}) + bonobo.run( + graph, services={'fs': bonobo.open_examples_fs('datasets')} + )