diff --git a/tox.ini b/tox.ini
index 26e0518bb6564d8ab2580e7bdc706642659fe01d..3729453a385969ca89622ab38e214b4b7ae9a104 100644
--- a/tox.ini
+++ b/tox.ini
@@ -9,8 +9,6 @@ whitelist_externals = poetry
 skip_install = true
 envdir = {toxworkdir}/globalenv
 commands_pre =
-     - sudo apt update
-     - sudo apt install python3-ldap libldap2-dev libssl-dev libsasl2-dev python3.7-dev -y
      - poetry install
 commands =
     - poetry run pytest --cov=. {posargs} aleksis/
@@ -24,9 +22,9 @@ setenv =
 
 [testenv:lint]
 commands =
-    - poetry run black --check --diff aleksis/ --exclude "migrations"
-    - poetry run isort -c --diff --stdout -rc -s migrations aleksis/
-    poetry run flake8 {posargs} --exclude-from-doctest migrations aleksis/
+    - poetry run black --check --diff aleksis/
+    - poetry run isort -c --diff --stdout -rc aleksis/
+    poetry run flake8 {posargs} aleksis/
 
 [testenv:security]
 commands =
@@ -58,6 +56,7 @@ use_parantheses = 1
 default_section = THIRDPARTY
 known_first_party = aleksis
 known_django = django
+skip = migrations
 sections = FUTURE,STDLIB,DJANGO,THIRDPARTY,FIRSTPARTY,LOCALFOLDER
 
 [mypy]