mirror of
https://gitlab.science.ru.nl/technicie/MarietjeDjango.git
synced 2025-12-09 18:12:20 +01:00
Fix pylint errors
This commit is contained in:
@ -150,7 +150,7 @@ class Queue(models.Model):
|
||||
song_count += 1
|
||||
|
||||
def __str__(self):
|
||||
return self.name
|
||||
return str(self.name)
|
||||
|
||||
|
||||
class QueueCommand(models.Model):
|
||||
@ -162,4 +162,4 @@ class QueueCommand(models.Model):
|
||||
command = models.TextField()
|
||||
|
||||
def __str__(self):
|
||||
return self.command
|
||||
return str(self.command)
|
||||
|
||||
1
pylintrc
1
pylintrc
@ -150,6 +150,7 @@ disable=missing-docstring,
|
||||
missing-format-attribute,
|
||||
too-few-public-methods,
|
||||
unused-argument,
|
||||
signature-differs,
|
||||
|
||||
# Enable the message, report, category or checker with the given id(s). You can
|
||||
# either give multiple identifier separated by comma (,) or put this option
|
||||
|
||||
Reference in New Issue
Block a user