linting; some dependencies

This commit is contained in:
Jan Koppe 2020-04-15 21:00:04 +02:00
parent 12018fa22d
commit 4f6ad6a530
Signed by: thunfisch
GPG Key ID: BE935B0735A2129B
4 changed files with 16 additions and 1 deletions

7
.travis.yml Normal file
View File

@ -0,0 +1,7 @@
language: python
python:
- "3.7"
- "3.8"
install: "pip install -r portier/requirements.txt"
script:
- flake8

View File

@ -1 +1,4 @@
FROM python:3.8 FROM python:3.8-alpine
WORKDIR /app
ADD . /app
RUN pip install -r requirements.txt

2
portier/requirements.txt Normal file
View File

@ -0,0 +1,2 @@
django>=3.0
celery>=4.4

3
setup.cfg Normal file
View File

@ -0,0 +1,3 @@
[flake8]
exclude = .git,*migrations*
max-line-length = 120