auto format code, cache deps
This commit is contained in:
12
.drone.yml
12
.drone.yml
@@ -1,8 +1,14 @@
|
|||||||
pipeline:
|
pipeline:
|
||||||
|
pretty:
|
||||||
|
image: unibeautify/autopep8
|
||||||
|
commands:
|
||||||
|
- autopep8 imports -r --in-place
|
||||||
|
- autopep8 main.py --in-place
|
||||||
modules:
|
modules:
|
||||||
image: python:3.5
|
image: python:3.5
|
||||||
commands:
|
commands:
|
||||||
- ./make-modules.sh
|
- mkdir -p .pip3
|
||||||
|
- ./make-modules.sh --cache-dir .pip3
|
||||||
package:
|
package:
|
||||||
image: kramos/alpine-zip
|
image: kramos/alpine-zip
|
||||||
commands:
|
commands:
|
||||||
@@ -15,3 +21,7 @@ pipeline:
|
|||||||
secrets: [webdav_password]
|
secrets: [webdav_password]
|
||||||
when:
|
when:
|
||||||
event: tag
|
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
|
Reference in New Issue
Block a user