Skip to content

Commit

Permalink
fix: make mypy happy for now
Browse files Browse the repository at this point in the history
  • Loading branch information
escaped committed Oct 8, 2020
1 parent c2c14e0 commit 28f7c19
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion test_proj/media_library/migrations/0001_initial.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

class Migration(migrations.Migration):

dependencies = []
dependencies = [] # type: ignore

operations = [
migrations.CreateModel(
Expand Down
3 changes: 2 additions & 1 deletion test_proj/settings.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import os
from typing import List

BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))

Expand All @@ -12,7 +13,7 @@
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True

ALLOWED_HOSTS = []
ALLOWED_HOSTS: List[str] = []

MEDIA_ROOT = os.path.join(BASE_DIR, 'media')

Expand Down
2 changes: 1 addition & 1 deletion video_encoding/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class VideoEncodingAppConf(AppConf):
THREADS = 1
PROGRESS_UPDATE = 30
BACKEND = 'video_encoding.backends.ffmpeg.FFmpegBackend'
BACKEND_PARAMS = {}
BACKEND_PARAMS = {} # type: ignore
FORMATS = {
'FFmpeg': [
{
Expand Down
2 changes: 1 addition & 1 deletion video_encoding/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ def complete(self):
return self.filter(progress=100)


class FormatManager(Manager.from_queryset(FormatQuerySet)):
class FormatManager(Manager.from_queryset(FormatQuerySet)): # type: ignore
use_for_related_fields = True

0 comments on commit 28f7c19

Please sign in to comment.