Enable black and pylint in tox.ini
[osm/POL.git] / osm_policy_module / migrations / 006_add_heal_alarm.py
index b44f42d..a2d2a69 100644 (file)
@@ -66,7 +66,7 @@ def migrate(migrator, database, fake=False, **kwargs):
         cooldown_time = pw.IntegerField()
         count_index = pw.IntegerField()
         last_heal = pw.DateTimeField()
-        last_status = pw.CharField(max_length=255, default='insufficient-data')
+        last_status = pw.CharField(max_length=255, default="insufficient-data")
         day1 = pw.BooleanField(default=False)
 
         class Meta:
@@ -76,4 +76,4 @@ def migrate(migrator, database, fake=False, **kwargs):
 def rollback(migrator, database, fake=False, **kwargs):
     """Write your rollback migrations here."""
 
-    migrator.remove_model('healingaction')
+    migrator.remove_model("healingaction")