From 50bbed4a1a8caf924a85fae2b63a45f0768def50 Mon Sep 17 00:00:00 2001 From: Gerhard Kotze Date: Thu, 14 May 2020 12:58:33 +0200 Subject: [PATCH] Keep line under 88 characters --- django_migration_linter/migration_linter.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/django_migration_linter/migration_linter.py b/django_migration_linter/migration_linter.py index 8e2708d..31f8fea 100644 --- a/django_migration_linter/migration_linter.py +++ b/django_migration_linter/migration_linter.py @@ -443,7 +443,8 @@ class MigrationLinter(object): for model in called_models: has_get_model_call = ( re.search( - r"get_model\(\s*?.*?,.*?{}.+?\s*?\)".format(model), reverse_code_source + r"get_model\(\s*?.*?,.*?{}.+?\s*?\)".format(model), + reverse_code_source, ) is not None )