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