diff --git a/biscuit/core/tables.py b/biscuit/core/tables.py
index 0b57e2b11efd27a4cd7a1269b810efe134816750..39edd10b77bea1d75d1ad532ba387383bc093513 100644
--- a/biscuit/core/tables.py
+++ b/biscuit/core/tables.py
@@ -1,4 +1,3 @@
-from django.utils.translation import ugettext_lazy as _
 import django_tables2 as tables
 from django_tables2.utils import A
 
diff --git a/biscuit/core/urls.py b/biscuit/core/urls.py
index 4e382a2f61b51a2f60b5b9af6cd06e3607d4fe18..f7d7df552ea108b0d0d77f584a78cb4f9f020101 100644
--- a/biscuit/core/urls.py
+++ b/biscuit/core/urls.py
@@ -1,7 +1,6 @@
 from django.apps import apps
 from django.conf import settings
 from django.conf.urls.static import static
-from django.contrib import admin
 from django.urls import include, path
 
 import debug_toolbar
diff --git a/biscuit/core/util/core_helpers.py b/biscuit/core/util/core_helpers.py
index ba6bc421ee9bcbf8e0525490ff680e48309d1c65..992a51316da72723a55b44edab5ed98fa246f8cb 100644
--- a/biscuit/core/util/core_helpers.py
+++ b/biscuit/core/util/core_helpers.py
@@ -26,7 +26,7 @@ def get_app_packages() -> Sequence[str]:
         # Add additional apps defined in module's INSTALLED_APPS constant
         additional_apps = getattr(mod, 'INSTALLED_APPS', [])
         for app in additional_apps:
-            if not app in pkgs:
+            if app not in pkgs:
                 pkgs.append(app)
 
         pkgs.append('biscuit.apps.%s' % pkg[1])
diff --git a/biscuit/core/views.py b/biscuit/core/views.py
index 69e15353b470f634531a6896c110ac241de000ae..987c538fda88c42229c0c5b72b1f52fd2e4c8f91 100644
--- a/biscuit/core/views.py
+++ b/biscuit/core/views.py
@@ -1,7 +1,6 @@
 from typing import Callable
 
 from django.contrib.auth.decorators import login_required
-from django.conf import settings
 from django.http import Http404, HttpRequest, HttpResponse
 from django.shortcuts import get_object_or_404, render, redirect
 from django_tables2 import RequestConfig
diff --git a/dev.sh b/dev.sh
index 70667f4629f7a96662180f21d62633c0720d692b..d592f9e7f2bec94eca16fcda308f5defffe8bfa7 100755
--- a/dev.sh
+++ b/dev.sh
@@ -36,7 +36,13 @@ case "$1" in
         	poetry run sh -c "cd $d; autopep8 -i -r ."
         done
         ;;
-
+    "pylama")
+        cd "$(dirname "$0")"
+        for d in biscuit/core apps/official/*/biscuit/apps/*; do
+        	echo; echo "Entering $d."
+        	poetry run sh -c "cd $d; pylama ."
+        done
+        ;;
     *)
 	;;
 esac