From 23f651bbd1694958fe7e010b9ca2c1dae51aeb8c Mon Sep 17 00:00:00 2001 From: Daan Sprenkels Date: Tue, 9 Jun 2020 17:57:25 +0200 Subject: [PATCH] Fix pylint errors --- marietje/queues/models.py | 4 ++-- pylintrc | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/marietje/queues/models.py b/marietje/queues/models.py index e7ac8a7..1ca76a9 100644 --- a/marietje/queues/models.py +++ b/marietje/queues/models.py @@ -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) diff --git a/pylintrc b/pylintrc index 2cdd747..79f2553 100644 --- a/pylintrc +++ b/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