diff --git a/.circleci/config.yml b/.circleci/config.yml index 38dbe61..9604aeb 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -12,13 +12,15 @@ jobs: sudo pip install Django sudo pip install social-auth-app-django - run: - name: Install flake8 + name: Install flake8 and mypy command: | sudo pip install flake8 + sudo pip install mypy - run: name: Lint Check command: | flake8 + mypy --ignore-missing-imports judge/ - run: name: Django tests command: | diff --git a/judge/migrations/0001_initial.py b/judge/migrations/0001_initial.py index 8bdf104..1cf0006 100644 --- a/judge/migrations/0001_initial.py +++ b/judge/migrations/0001_initial.py @@ -8,13 +8,15 @@ import judge.models import uuid +from typing import Tuple, List + class Migration(migrations.Migration): initial = True dependencies = [ - ] + ] # type: List[Tuple[str, str]] operations = [ migrations.CreateModel(