auto format code, cache deps
This commit is contained in:
parent
3bcccd4092
commit
96a6796067
12
.drone.yml
12
.drone.yml
@ -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
3
.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
modules
|
||||
.pip3
|
||||
seafile.zip
|
Loading…
x
Reference in New Issue
Block a user