Commit 2a6de622 by Clinton Blackburn Committed by Clinton Blackburn

Validating import order using isort

parent 2b61f239
......@@ -42,6 +42,7 @@ test: clean ## Run tests and generate coverage report
coverage report
quality: ## Run pep8 and Pylint
isort --check-only --recursive acceptance_tests/ course_discovery/
pep8 --config=.pep8 acceptance_tests course_discovery *.py
pylint --rcfile=pylintrc acceptance_tests course_discovery *.py
......
......@@ -11,6 +11,7 @@ class ProxiedCall:
Utility class used in conjunction with ProxiedPagination to route method
calls between pagination classes.
"""
def __init__(self, proxy, method_name):
self.proxy = proxy
self.method_name = method_name
......@@ -66,6 +67,7 @@ class ProxiedPagination:
If no query parameters are passed, proxies to LimitOffsetPagination by default.
"""
def __init__(self):
page_number_paginator = PageNumberPagination()
limit_offset_paginator = LimitOffsetPagination()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment