Lint fix v1
This commit is contained in:
@@ -1,41 +1,41 @@
|
||||
# Generated by Django 3.1.3 on 2020-11-06 04:53
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
import game.models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("game", "0003_gameevent"),
|
||||
('game', '0003_gameevent'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterModelOptions(
|
||||
name="gameevent",
|
||||
name='gameevent',
|
||||
options={
|
||||
"ordering": ["created_at"],
|
||||
"verbose_name": "Game event",
|
||||
"verbose_name_plural": "Game events",
|
||||
'ordering': ['created_at'],
|
||||
'verbose_name': 'Game event',
|
||||
'verbose_name_plural': 'Game events',
|
||||
},
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name="gameevent",
|
||||
name="type",
|
||||
model_name='gameevent',
|
||||
name='type',
|
||||
field=models.IntegerField(
|
||||
choices=[
|
||||
(0, "START_GAME"),
|
||||
(1, "PAUSE"),
|
||||
(2, "RESUME"),
|
||||
(3, "CLICK_MINE"),
|
||||
(4, "CLICK_POINT"),
|
||||
(5, "CLICK_EMPTY"),
|
||||
(6, "CLICK_FLAG"),
|
||||
(7, "GAME_OVER"),
|
||||
(8, "CLICK_NAIVE"),
|
||||
(0, 'START_GAME'),
|
||||
(1, 'PAUSE'),
|
||||
(2, 'RESUME'),
|
||||
(3, 'CLICK_MINE'),
|
||||
(4, 'CLICK_POINT'),
|
||||
(5, 'CLICK_EMPTY'),
|
||||
(6, 'CLICK_FLAG'),
|
||||
(7, 'GAME_OVER'),
|
||||
(8, 'CLICK_NAIVE'),
|
||||
],
|
||||
default=game.models.EventTypes["START_GAME"],
|
||||
help_text="The game event",
|
||||
default=game.models.EventTypes['START_GAME'],
|
||||
help_text='The game event',
|
||||
),
|
||||
),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user