auto format code, cache deps

This commit is contained in:
shimun 2018-11-23 15:50:13 +01:00
parent 3bcccd4092
commit 96a6796067
2 changed files with 14 additions and 1 deletions

View File

@ -1,8 +1,14 @@
pipeline:
pretty:
image: unibeautify/autopep8
commands:
- autopep8 imports -r --in-place
- autopep8 main.py --in-place
modules:
image: python:3.5
commands:
- ./make-modules.sh
- mkdir -p .pip3
- ./make-modules.sh --cache-dir .pip3
package:
image: kramos/alpine-zip
commands:
@ -15,3 +21,7 @@ pipeline:
secrets: [webdav_password]
when:
event: tag
clean:
image: kramos/alpine-zip
commands:
- rm -rf modules

3
.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
modules
.pip3
seafile.zip