Revised the code according to the PyCharm and PEP8 inspection.
This commit is contained in:
1 parent
dc14f2e27a
commit
0243289946
5 files changed
+24
-17
No files matched your search
+1
-1
@@ -61,7 +61,7 @@ class Pagination:
|
||||
|
||||
DEFAULT_PAGE_SIZE = 10
|
||||
|
||||
def __init__(self, count, page_no, page_size, is_reverse = False):
|
||||
def __init__(self, count, page_no, page_size, is_reverse=False):
|
||||
self.page_size = page_size \
|
||||
if page_size is not None \
|
||||
else self.DEFAULT_PAGE_SIZE
|
||||
|
||||
Reference in new issue
Block a user