From c2afdde0e247b757f61681036dcab16f917cfc77 Mon Sep 17 00:00:00 2001 From: gchawla Date: Thu, 29 Sep 2016 12:05:25 -0700 Subject: [PATCH] Fixed for pip8 --- .gitignore | 4 ++-- solnlib/api_documenter.py | 6 ++++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index d14edb54..5f48a64d 100644 --- a/.gitignore +++ b/.gitignore @@ -19,6 +19,6 @@ htmlcov junit_report.xml run_all_tests.sh solnlib.egg-info/ - +venv/* *.log -tools/solution_lib_release_env/* \ No newline at end of file +tools/solution_lib_release_env/* diff --git a/solnlib/api_documenter.py b/solnlib/api_documenter.py index 653fc986..911717db 100644 --- a/solnlib/api_documenter.py +++ b/solnlib/api_documenter.py @@ -54,7 +54,8 @@ >>> @api_operation(http_method='put',\ description='Create a new record.', action='create') - >>> @api_body_param(is_model_class_used=True, ref='Example', is_list=False) + >>> @api_body_param(is_model_class_used=True, ref='Example',\ + is_list=False) >>> @api_response(code=200, ref='Example', is_list=False) >>> @api_response(code=400) >>> def handle_PUT(self): @@ -64,7 +65,8 @@ >>> @api_operation(http_method='post',\ description='update existing record by id', action='update') >>> @api_path_param() - >>> @api_body_param(is_model_class_used=True, ref='Example', is_list=False) + >>> @api_body_param(is_model_class_used=True, ref='Example',\ + is_list=False) >>> @api_response(code=200, ref='Example', is_list=False) >>> @api_response(code=400) >>> def handle_POST(self):