Skip to content

Commit 7ff1b2f

Browse files
committed
fix flake8 issues
1 parent 930e698 commit 7ff1b2f

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

epictrack-api/src/api/models/work.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,11 @@ def check_existence(cls, title, work_id=None):
112112
return False
113113

114114
@classmethod
115-
def fetch_all_works(cls, pagination_options: PaginationOptions, search_filters: dict =None) -> Tuple[List[Work], int]:
115+
def fetch_all_works(
116+
cls,
117+
pagination_options: PaginationOptions,
118+
search_filters: dict = None
119+
) -> Tuple[List[Work], int]:
116120
"""Fetch all active works."""
117121
query = cls.query.filter_by(is_active=True, is_deleted=False)
118122

epictrack-api/src/api/utils/enums.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ class ProjectCodeMethod(Enum):
3232
METHOD_2 = 2
3333
METHOD_3 = 3
3434

35+
3536
class RegionEntityType(Enum):
3637
"""Region entity types"""
3738

0 commit comments

Comments
 (0)