From 4d6251133252e3d24026f2a2290429b8aa34c6c3 Mon Sep 17 00:00:00 2001 From: Thomas Sileo Date: Fri, 18 May 2018 20:44:14 +0200 Subject: [PATCH] Tweak the CI setup --- .travis.yml | 4 ++-- app.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index e3b0785..fe27dca 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,6 +4,6 @@ python: install: - pip install pytest mypy flake8 script: - - flake8 - - mypy --ignore-missing-imports +# - flake8 + - mypy --ignore-missing-imports . - pytest -v diff --git a/app.py b/app.py index 034f1ca..9aece91 100644 --- a/app.py +++ b/app.py @@ -58,7 +58,7 @@ app.secret_key = get_secret_key('flask') JWT_SECRET = get_secret_key('jwt') JWT = JSONWebSignatureSerializer(JWT_SECRET) -with open('config/jwt_token', 'wb+') as f: +with open('config/jwt_token', 'w+') as f: f.write(JWT.dumps({'type': 'admin_token'})) SIG_AUTH = HTTPSigAuth(ID+'#main-key', KEY.privkey)