Skip to content

Commit

Permalink
Perform mypy lint checking as well (#82)
Browse files Browse the repository at this point in the history
  • Loading branch information
vishwakftw authored Jul 21, 2019
1 parent 9ee64cd commit d38c9a8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
4 changes: 3 additions & 1 deletion judge/migrations/0001_initial.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit d38c9a8

Please sign in to comment.