74 characters instead of 80 for examples, as it seems that desktop version display less characters than tablet on rtd theme.
This commit is contained in:
@ -1,4 +1,4 @@
|
|||||||
[style]
|
[style]
|
||||||
based_on_style = pep8
|
based_on_style = pep8
|
||||||
column_limit = 80
|
column_limit = 74
|
||||||
dedent_closing_brackets = true
|
dedent_closing_brackets = true
|
||||||
|
|||||||
@ -61,8 +61,10 @@ def display(row):
|
|||||||
None, (
|
None, (
|
||||||
' '.join(
|
' '.join(
|
||||||
filter(
|
filter(
|
||||||
None,
|
None, (
|
||||||
(row.get('postal_code', None), row.get('city', None))
|
row.get('postal_code', None),
|
||||||
|
row.get('city', None)
|
||||||
|
)
|
||||||
)
|
)
|
||||||
), row.get('county', None), row.get('country'),
|
), row.get('county', None), row.get('country'),
|
||||||
)
|
)
|
||||||
@ -82,8 +84,9 @@ def display(row):
|
|||||||
format(Fore.BLUE, Style.RESET_ALL, **row)
|
format(Fore.BLUE, Style.RESET_ALL, **row)
|
||||||
)
|
)
|
||||||
print(
|
print(
|
||||||
' - {}source{}: {source}'.
|
' - {}source{}: {source}'.format(
|
||||||
format(Fore.BLUE, Style.RESET_ALL, source='datanova/' + API_DATASET)
|
Fore.BLUE, Style.RESET_ALL, source='datanova/' + API_DATASET
|
||||||
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -6,4 +6,6 @@ graph = bonobo.Graph(
|
|||||||
)
|
)
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
bonobo.run(graph, services={'fs': bonobo.open_examples_fs('datasets')})
|
bonobo.run(
|
||||||
|
graph, services={'fs': bonobo.open_examples_fs('datasets')}
|
||||||
|
)
|
||||||
|
|||||||
@ -12,4 +12,6 @@ graph = bonobo.Graph(
|
|||||||
)
|
)
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
bonobo.run(graph, services={'fs': bonobo.open_examples_fs('datasets')})
|
bonobo.run(
|
||||||
|
graph, services={'fs': bonobo.open_examples_fs('datasets')}
|
||||||
|
)
|
||||||
|
|||||||
@ -22,4 +22,6 @@ graph = bonobo.Graph(
|
|||||||
)
|
)
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
bonobo.run(graph, services={'fs': bonobo.open_examples_fs('datasets')})
|
bonobo.run(
|
||||||
|
graph, services={'fs': bonobo.open_examples_fs('datasets')}
|
||||||
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user