From b36d0ff5523067cb847ba31deaf34efbb8b0afd2 Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Fri, 23 Sep 2016 09:43:25 +0100 Subject: [PATCH] Make indentation more sensible MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Starting arguments on their own line and putting the closing parenthesis on it’s own line because any subsequent changes to the arguments diff cleanly (ie without touching any other lines). --- app/dao/notifications_dao.py | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/app/dao/notifications_dao.py b/app/dao/notifications_dao.py index fa65e8a72..2453db6c5 100644 --- a/app/dao/notifications_dao.py +++ b/app/dao/notifications_dao.py @@ -228,14 +228,16 @@ def get_notifications(filter_dict=None): @statsd(namespace="dao") -def get_notifications_for_service(service_id, - filter_dict=None, - page=1, - page_size=None, - limit_days=None, - key_type=None, - personalisation=False, - include_jobs=False): +def get_notifications_for_service( + service_id, + filter_dict=None, + page=1, + page_size=None, + limit_days=None, + key_type=None, + personalisation=False, + include_jobs=False +): if page_size is None: page_size = current_app.config['PAGE_SIZE']