From 82c108be0c948d9aad3aa85ecf9ac5e005d9443a Mon Sep 17 00:00:00 2001 From: Max Meinhold Date: Sun, 15 Mar 2020 20:57:46 -0400 Subject: [PATCH 1/2] Add travis config --- .travis.yml | 11 +++++++++++ mypy-run.sh | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..67cdee1 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,11 @@ +language: python +python: + - "3.7" + +install: + - "pip install -r requirements.txt" + - "pip install pylint mypy sqlalchemy-stubs" + +script: + - "pylint gallery" + - "mypy gallery" diff --git a/mypy-run.sh b/mypy-run.sh index 2d9683b..fb0f053 100755 --- a/mypy-run.sh +++ b/mypy-run.sh @@ -1,6 +1,6 @@ #!/bin/bash -pip install mypy typeshed sqlalchemy-stubs +pip install mypy sqlalchemy-stubs DIR=$(dirname "$(readlink -f "$0")") From 7b147d830121e8fabdf48e0025dbf98243079fc9 Mon Sep 17 00:00:00 2001 From: Max Meinhold Date: Mon, 27 Jul 2020 12:21:48 -0400 Subject: [PATCH 2/2] Update psycopg2 for python 3.8 compatability --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index a74cbc9..8b79f4e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,7 +4,7 @@ csh_ldap~=2.2.0 addict==2.2.0 flask_sqlalchemy==2.3.2 flask_migrate==2.3.1 -psycopg2==2.7.7 +psycopg2==2.8.5 python-magic==0.4.15 piexif==1.1.2 wand==0.5.0