Commit f713855e authored by Jon Yu's avatar Jon Yu
Browse files

Fix GitLab CI, flake8 issues

parent 1e8db6e1
Pipeline #17199 passed with stage
in 13 seconds
......@@ -10,4 +10,4 @@ lint:
stage: lint
script:
- python3 -m pip install -q flake8
- flake8 ./web
- flake8 ./app
from django.db import models
from django.contrib.auth.models import AbstractUser
......
from django.test import TestCase
# Create your tests here.
from django.shortcuts import render
# Create your views here.
......@@ -13,6 +13,7 @@ https://docs.djangoproject.com/en/3.0/ref/settings/
import os
import dj_database_url
def str_to_bool(val):
return val.lower() in ('yes', 'true', 'on', '1')
......
from django.shortcuts import render
# from django.shortcuts import render
# Create your views here.
from django.contrib import admin
# Register your models here.
from django.db import models
# Create your models here.
from django.test import TestCase
# Create your tests here.
Supports Markdown
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