Skip to content

Commit

Permalink
LGTM fixes - not calling super on Finder subclasses
Browse files Browse the repository at this point in the history
  • Loading branch information
dantownsend committed Oct 12, 2020
1 parent 7ac05f4 commit 62cdd22
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions piccolo/apps/migrations/commands/backwards.py
Expand Up @@ -9,6 +9,7 @@ class BackwardsMigrationManager(BaseMigrationManager):
def __init__(self, app_name: str, migration_id: str):
self.migration_id = migration_id
self.app_name = app_name
super().__init__()

def run(self):
app_modules = self.get_app_modules()
Expand Down
1 change: 1 addition & 0 deletions piccolo/apps/migrations/commands/check.py
Expand Up @@ -6,6 +6,7 @@
class CheckMigrationManager(BaseMigrationManager):
def __init__(self, app_name: str):
self.app_name = app_name
super().__init__()

def run(self):
print("Listing migrations ...")
Expand Down
1 change: 1 addition & 0 deletions piccolo/apps/migrations/commands/forwards.py
Expand Up @@ -22,6 +22,7 @@ def __init__(
self.app_name = app_name
self.migration_id = migration_id
self.fake = fake
super().__init__()

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

0 comments on commit 62cdd22

Please sign in to comment.