Add internal classes and add type hints + mypy.
This commit is contained in:
1 parent
847ac1241a
commit
2ee7dac3b3
88 files changed
+603
-340
No files matched your search
@@ -1,5 +1,7 @@
|
||||
# Generated by Django 2.2 on 2019-09-20 20:01
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# Generated by Django 2.2 on 2019-09-20 20:02
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
from __future__ import annotations
|
||||
|
||||
from django.db import models
|
||||
|
||||
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# Generated by Django 2.1.4 on 2019-03-19 20:59
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# Generated by Django 2.1.4 on 2019-03-19 21:05
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
from __future__ import annotations
|
||||
|
||||
from django.db import models
|
||||
|
||||
|
||||
|
||||
+2
@@ -1,6 +1,8 @@
|
||||
# Generated by Django 1.11.18 on 2019-04-14 14:54
|
||||
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
|
||||
+2
@@ -1,6 +1,8 @@
|
||||
# Generated by Django 1.11.18 on 2019-04-14 14:55
|
||||
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from django.db import migrations, models
|
||||
from django_add_default_value import AddDefaultValue
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
from __future__ import annotations
|
||||
|
||||
from django.db import models
|
||||
|
||||
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
# Generated by Django 1.11.18 on 2019-04-14 14:56
|
||||
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
# Generated by Django 1.11.18 on 2019-04-14 14:56
|
||||
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
from __future__ import annotations
|
||||
|
||||
from django.db import models
|
||||
|
||||
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# Generated by Django 2.1.4 on 2019-03-19 20:59
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# Generated by Django 2.1.4 on 2019-03-19 21:05
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
from __future__ import annotations
|
||||
|
||||
from django.db import models
|
||||
|
||||
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# Generated by Django 2.1.4 on 2019-03-19 21:08
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# Generated by Django 2.1.4 on 2019-03-19 21:08
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
from __future__ import annotations
|
||||
|
||||
from django.db import models
|
||||
|
||||
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
# Generated by Django 1.11.18 on 2019-04-14 14:59
|
||||
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
from __future__ import annotations
|
||||
|
||||
from django.db import models
|
||||
|
||||
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# Generated by Django 2.2 on 2020-01-26 17:43
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# Generated by Django 2.2 on 2020-01-26 17:43
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from django.db import migrations
|
||||
|
||||
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# Generated by Django 2.2 on 2020-01-26 17:47
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from django.db import migrations
|
||||
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
from __future__ import annotations
|
||||
|
||||
from django.db import models
|
||||
|
||||
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
# Generated by Django 1.11.18 on 2019-04-14 14:59
|
||||
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
# Generated by Django 1.11.18 on 2019-04-14 14:59
|
||||
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from django.db import migrations
|
||||
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
from __future__ import annotations
|
||||
|
||||
from django.db import models
|
||||
|
||||
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
# Generated by Django 1.11.18 on 2019-04-14 14:59
|
||||
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# Generated by Django 2.1.10 on 2019-07-19 09:50
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from django.db import migrations
|
||||
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
from django.db import models
|
||||
# from django.db import models
|
||||
|
||||
# class A(models.Model):
|
||||
# field_a = models.IntegerField()
|
||||
@@ -1,5 +1,7 @@
|
||||
# Generated by Django 2.1.4 on 2019-03-21 20:40
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# Generated by Django 2.1.4 on 2019-03-21 20:41
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
import django_migration_linter as linter
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
from __future__ import annotations
|
||||
|
||||
from django.db import models
|
||||
|
||||
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# Generated by Django 2.2 on 2020-06-20 15:17
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
|
||||
+2
@@ -1,5 +1,7 @@
|
||||
# Generated by Django 2.2 on 2020-06-20 15:17
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
from __future__ import annotations
|
||||
|
||||
from django.db import models
|
||||
|
||||
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# Generated by Django 2.2 on 2020-06-20 15:23
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
|
||||
+2
@@ -1,5 +1,7 @@
|
||||
# Generated by Django 2.2 on 2020-06-20 15:23
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from django.db import migrations, models
|
||||
from django_add_default_value import AddDefaultValue
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
from __future__ import annotations
|
||||
|
||||
from django.db import models
|
||||
|
||||
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
# Generated by Django 1.11.18 on 2019-04-14 15:02
|
||||
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
# Generated by Django 1.11.18 on 2019-04-14 15:02
|
||||
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from django.db import migrations
|
||||
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
from __future__ import annotations
|
||||
|
||||
from django.db import models
|
||||
|
||||
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
# Generated by Django 1.11.18 on 2019-04-14 15:00
|
||||
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
# Generated by Django 1.11.18 on 2019-04-14 15:00
|
||||
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from django.db import migrations
|
||||
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
from __future__ import annotations
|
||||
|
||||
from django.db import models
|
||||
|
||||
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# Generated by Django 2.2 on 2019-07-29 21:21
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# Generated by Django 2.2 on 2019-07-29 21:22
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from django.db import migrations
|
||||
|
||||
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# Generated by Django 2.2 on 2019-07-29 21:22
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from django.db import migrations
|
||||
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
from __future__ import annotations
|
||||
|
||||
from django.db import models
|
||||
|
||||
|
||||
|
||||
+2
@@ -1,5 +1,7 @@
|
||||
# Generated by Django 2.2 on 2020-06-26 17:49
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
from __future__ import annotations
|
||||
|
||||
from django.db import models
|
||||
|
||||
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# Generated by Django 2.2 on 2020-06-26 15:57
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
from __future__ import annotations
|
||||
|
||||
from django.db import models
|
||||
|
||||
|
||||
|
||||
@@ -10,11 +10,11 @@ For the full list of settings and their values, see
|
||||
https://docs.djangoproject.com/en/2.1/ref/settings/
|
||||
"""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import os
|
||||
|
||||
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
|
||||
from collections import OrderedDict
|
||||
|
||||
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
||||
|
||||
|
||||
|
||||
@@ -13,6 +13,8 @@ Including another URLconf
|
||||
1. Import the include() function: from django.urls import include, path
|
||||
2. Add a URL to urlpatterns: path('blog/', include('blog.urls'))
|
||||
"""
|
||||
from __future__ import annotations
|
||||
|
||||
from django.contrib import admin
|
||||
from django.urls import path
|
||||
|
||||
|
||||
@@ -7,6 +7,8 @@ For more information on this file, see
|
||||
https://docs.djangoproject.com/en/2.1/howto/deployment/wsgi/
|
||||
"""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import os
|
||||
|
||||
from django.core.wsgi import get_wsgi_application
|
||||
|
||||
Reference in new issue
Block a user