Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -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"
2 changes: 1 addition & 1 deletion mypy-run.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

pip install mypy typeshed sqlalchemy-stubs
pip install mypy sqlalchemy-stubs

DIR=$(dirname "$(readlink -f "$0")")

Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down