From 95fbc27f10ed2f490a88175b1e773bb89cdfcf5e Mon Sep 17 00:00:00 2001
From: Matthias <matthias.mair@oewf.org>
Date: Thu, 18 Nov 2021 01:46:27 +0100
Subject: [PATCH] PEP fixes

---
 InvenTree/plugin/api.py    | 1 -
 InvenTree/plugin/models.py | 8 +++++---
 tasks.py                   | 2 ++
 3 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/InvenTree/plugin/api.py b/InvenTree/plugin/api.py
index 353683214d..cac151db23 100644
--- a/InvenTree/plugin/api.py
+++ b/InvenTree/plugin/api.py
@@ -6,7 +6,6 @@ JSON API for the plugin app
 from __future__ import unicode_literals
 
 from django.conf.urls import url, include
-from django.utils.translation import ugettext_lazy as _
 
 from rest_framework import generics
 from rest_framework import status
diff --git a/InvenTree/plugin/models.py b/InvenTree/plugin/models.py
index adccf119fe..ab53ed52d8 100644
--- a/InvenTree/plugin/models.py
+++ b/InvenTree/plugin/models.py
@@ -71,9 +71,11 @@ class PluginConfig(models.Model):
                 return str(getattr(self.plugin, name, None))
             return None
 
-        self.meta = {key: get_plugin_meta(key) for key in ['slug', 'human_name', 'description', 'author', \
-            'pub_date', 'version', 'website', 'license', 'package_path', 'settings_url', ]}
-
+        self.meta = {
+            key: get_plugin_meta(key) for key in ['slug', 'human_name', 'description', 'author',
+                                                  'pub_date', 'version', 'website', 'license',
+                                                  'package_path', 'settings_url', ]
+        }
 
     def save(self, force_insert=False, force_update=False, *args, **kwargs):
         """extend save method to reload plugins if the 'active' status changes"""
diff --git a/tasks.py b/tasks.py
index 57b0e41ad9..b33af84384 100644
--- a/tasks.py
+++ b/tasks.py
@@ -133,6 +133,7 @@ def rebuild_models(c):
 
     manage(c, "rebuild_models", pty=True)
 
+
 @task
 def rebuild_thumbnails(c):
     """
@@ -141,6 +142,7 @@ def rebuild_thumbnails(c):
 
     manage(c, "rebuild_thumbnails", pty=True)
 
+
 @task
 def clean_settings(c):
     """