mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-14 06:55:08 +02:00
Fix more test failures
This commit is contained in:
parent
78aae0b7b5
commit
ff8b89fa13
2 changed files with 6 additions and 1 deletions
|
@ -40,7 +40,10 @@ except NameError:
|
|||
pass
|
||||
|
||||
# Attn: these imports should NOT be at the top of the file
|
||||
from .client import CLIENT, commands
|
||||
try:
|
||||
from .client import CLIENT, commands
|
||||
except ImportError:
|
||||
pass
|
||||
|
||||
__all__ = [
|
||||
"CLIENT",
|
||||
|
|
|
@ -7,6 +7,8 @@ strict_optional = True
|
|||
# implicit_optional: treat arguments a None default value as implicitly Optional?
|
||||
# `var: int = None` is equal to `var: Optional[int] = None`
|
||||
implicit_optional = True
|
||||
# we'd still like mypy to succeed when 3rd party libraries are not installed
|
||||
ignore_missing_imports = True
|
||||
|
||||
[mypy.plugins.django-stubs]
|
||||
django_settings_module = "registrar.config.settings"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue