diff --git a/tildes/mypy.ini b/tildes/mypy.ini index 4ac6f8b..d8c1e9c 100644 --- a/tildes/mypy.ini +++ b/tildes/mypy.ini @@ -3,3 +3,6 @@ mypy_path = /opt/tildes/stubs/ disallow_untyped_defs = true ignore_missing_imports = true no_implicit_optional = true + +[mypy-tests.*] +disallow_untyped_defs = false diff --git a/tildes/requirements.txt b/tildes/requirements.txt index a43f9ad..c1d96ef 100644 --- a/tildes/requirements.txt +++ b/tildes/requirements.txt @@ -17,24 +17,26 @@ Click==7.0 cornice==3.5.1 decorator==4.4.0 dodgy==0.1.9 -freezegun==0.3.11 +freezegun==0.3.12 gunicorn==19.9.0 html5lib==1.0.1 hupper==1.6.1 idna==2.8 +importlib-metadata==0.17 ipython==7.5.0 ipython-genutils==0.2.0 -isort==4.3.18 +isort==4.3.20 jedi==0.13.3 Jinja2==2.10.1 -lazy-object-proxy==1.4.0 -Mako==1.0.9 +lazy-object-proxy==1.4.1 +Mako==1.0.11 MarkupSafe==1.1.1 marshmallow==2.19.2 mccabe==0.6.1 more-itertools==7.0.0 mypy==0.670 mypy-extensions==0.4.1 +packaging==19.0 parso==0.4.0 PasteDeploy==2.0.1 pep8-naming==0.4.1 @@ -43,7 +45,7 @@ pickleshare==0.7.5 Pillow==6.0.0 plaster==1.0 plaster-pastedeploy==0.7 -pluggy==0.11.0 +pluggy==0.12.0 prometheus-client==0.6.0 prompt-toolkit==2.0.9 prospector==1.1.6.2 @@ -55,14 +57,15 @@ pycodestyle==2.4.0 pycparser==2.19 pydocstyle==3.0.0 pyflakes==1.6.0 -pygit2==0.28.1 -Pygments==2.4.0 +pygit2==0.28.2 +Pygments==2.4.2 pylint==2.1.1 pylint-celery==0.3 pylint-django==2.0.2 pylint-flask==0.5 pylint-plugin-utils==0.5 pyotp==2.2.7 +pyparsing==2.4.0 pyramid==1.10.4 pyramid-debugtoolbar==4.5 pyramid-ipython==0.2 @@ -71,7 +74,7 @@ pyramid-mako==1.0.2 pyramid-session-redis==1.5.0 pyramid-tm==2.2.1 pyramid-webassets==0.10 -pytest==4.4.2 +pytest==4.6.1 pytest-mock==1.10.4 python-dateutil==2.8.0 python-editor==1.0.4 @@ -79,17 +82,17 @@ PyYAML==5.1 qrcode==6.1 redis==3.2.1 repoze.lru==0.7 -requests==2.21.0 +requests==2.22.0 requirements-detector==0.6 -sentry-sdk==0.7.14 +sentry-sdk==0.8.1 setoptconf==0.2.0 simplejson==3.16.0 six==1.12.0 snowballstemmer==1.2.1 soupsieve==1.9.1 -SQLAlchemy==1.3.3 +SQLAlchemy==1.3.4 SQLAlchemy-Utils==0.33.11 -stripe==2.27.0 +stripe==2.29.3 testing.common.database==2.0.3 testing.redis==1.1.1 titlecase==0.12.0 @@ -98,7 +101,7 @@ traitlets==4.3.2 transaction==2.4.0 translationstring==1.3 typed-ast==1.3.5 -urllib3==1.24.3 +urllib3==1.25.3 venusian==1.2.0 waitress==1.3.0 wcwidth==0.1.7 @@ -108,6 +111,7 @@ webencodings==0.5.1 WebOb==1.8.5 WebTest==2.0.33 wrapt==1.11.1 +zipp==0.5.1 zope.deprecation==4.4.0 zope.interface==4.6.0 zope.sqlalchemy==1.1 diff --git a/tildes/tests/__init__.py b/tildes/tests/__init__.py new file mode 100644 index 0000000..b8e8e5d --- /dev/null +++ b/tildes/tests/__init__.py @@ -0,0 +1 @@ +"""Contains the app's tests (run with pytest)."""