Commit e5aef416 authored by Kevin Gutierrez's avatar Kevin Gutierrez
Browse files

Fix linters

parent 26d4cafd
......@@ -24,7 +24,7 @@ lts_42:
flake8:
stage: lint
image: python:3.8
image: python:3.10
before_script:
- pip install flake8
script:
......
......@@ -11,7 +11,7 @@ def run():
try:
execute_from_command_line([sys.argv[0], 'test'] + sys.argv[1:])
finally:
from tests.app.settings import STATIC_ROOT, MEDIA_ROOT
from tests.app.settings import MEDIA_ROOT, STATIC_ROOT
shutil.rmtree(STATIC_ROOT, ignore_errors=True)
shutil.rmtree(MEDIA_ROOT, ignore_errors=True)
......
from tests.app.settings import * # noqa: F401,F403
ALLOWED_HOSTS = ["*"]
DATABASES = {
......
......@@ -6,8 +6,8 @@ import shutil
import subprocess
import tempfile
from django.core.files.base import ContentFile
from django.conf import settings
from django.core.files.base import ContentFile
logger = logging.getLogger(__name__)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment