Skip to content

Commit 62cdd22

Browse files
committed
LGTM fixes - not calling super on Finder subclasses
1 parent 7ac05f4 commit 62cdd22

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

piccolo/apps/migrations/commands/backwards.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ class BackwardsMigrationManager(BaseMigrationManager):
99
def __init__(self, app_name: str, migration_id: str):
1010
self.migration_id = migration_id
1111
self.app_name = app_name
12+
super().__init__()
1213

1314
def run(self):
1415
app_modules = self.get_app_modules()

piccolo/apps/migrations/commands/check.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
class CheckMigrationManager(BaseMigrationManager):
77
def __init__(self, app_name: str):
88
self.app_name = app_name
9+
super().__init__()
910

1011
def run(self):
1112
print("Listing migrations ...")

piccolo/apps/migrations/commands/forwards.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ def __init__(
2222
self.app_name = app_name
2323
self.migration_id = migration_id
2424
self.fake = fake
25+
super().__init__()
2526

2627
def run_migrations(self, app_config: AppConfig) -> None:
2728
already_ran = Migration.get_migrations_which_ran(

0 commit comments

Comments
 (0)