forked from mozilla/fx-private-relay
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
71 lines (67 loc) · 1.71 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
[tool.mypy]
plugins = ["mypy_django_plugin.main"]
mypy_path = "$MYPY_CONFIG_FILE_DIR/mypy_stubs"
exclude = "env"
python_version = "3.10"
show_error_codes = true
strict = true
# Disable these strict checks
# Order is the recommended enabling order, from highest to lowest priority,
# from mypy doc "Using mypy with an existing codebase"
check_untyped_defs = false
disallow_subclassing_any = false
disallow_any_generics = false
disallow_untyped_calls = false
disallow_incomplete_defs = false
disallow_untyped_defs = false
no_implicit_reexport = false
[tool.django-stubs]
django_settings_module = "privaterelay.settings"
[[tool.mypy.overrides]]
ignore_missing_imports = true
module = [
"allauth.account",
"allauth.account.models",
"allauth.account.signals",
"allauth.socialaccount.models",
"allauth.socialaccount.providers.fxa",
"allauth.socialaccount.providers.fxa.views",
"boto3",
"botocore.config",
"botocore.exceptions",
"codetiming",
"debug_toolbar",
"dj_database_url",
"django_filters",
"django_ftl",
"django_ftl.bundles",
"drf_yasg",
"drf_yasg.utils",
"drf_yasg.views",
"google_measurement_protocol",
"jwcrypto",
"jwcrypto.jwe",
"jwcrypto.jwk",
"markus",
"markus.main",
"markus.testing",
"markus.utils",
"oauthlib.oauth2.rfc6749.errors",
"requests_oauthlib",
"twilio.base.instance_resource",
"twilio.base.exceptions",
"twilio.rest",
"twilio.request_validator",
"vobject",
"waffle",
"waffle.models",
"waffle.testutils",
"whitenoise.middleware",
"whitenoise.storage",
]
[[tool.mypy.overrides]]
# Optional modules or in-progress features
ignore_missing_imports = true
module = [
"silk",
]