liniting, black, mypy fixes

This commit is contained in:
collerek
2020-10-31 18:22:15 +01:00
parent 7d5e291a19
commit 3c10892db7
16 changed files with 157 additions and 155 deletions

View File

@ -29,7 +29,7 @@ class Track(ormar.Model):
database = database
id = ormar.Integer(primary_key=True)
album= ormar.ForeignKey(Album)
album = ormar.ForeignKey(Album)
title = ormar.String(max_length=100)
position = ormar.Integer()
@ -41,7 +41,7 @@ class Cover(ormar.Model):
database = database
id = ormar.Integer(primary_key=True)
album= ormar.ForeignKey(Album, related_name="cover_pictures")
album = ormar.ForeignKey(Album, related_name="cover_pictures")
title = ormar.String(max_length=100)
@ -62,7 +62,7 @@ class Team(ormar.Model):
database = database
id = ormar.Integer(primary_key=True)
org= ormar.ForeignKey(Organisation)
org = ormar.ForeignKey(Organisation)
name = ormar.String(max_length=100)
@ -73,7 +73,7 @@ class Member(ormar.Model):
database = database
id = ormar.Integer(primary_key=True)
team= ormar.ForeignKey(Team)
team = ormar.ForeignKey(Team)
email = ormar.String(max_length=100)