-
Notifications
You must be signed in to change notification settings - Fork 0
/
sharpdev.yml
38 lines (30 loc) · 989 Bytes
/
sharpdev.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# https://tcude.net/setting-up-rclone-with-google-drive/
version: 1
setup: |
sudo apt-get install -y ffmpeg libsm6 libxext6 poppler-utils rename unzip zip
curl https://rclone.org/install.sh | sudo bash
poetry install
scripts:
default: |
rm -r "DRIVE"
mkdir -p "DRIVE"
rclone config
rclone copy --drive-export-formats txt --drive-allow-import-name-change "gdrive:/LOC" DRIVE
poetry run python -m sharprocket
zip -r data.zip OUT
install_rclone: |
sudo apt install unzip
curl https://rclone.org/install.sh | sudo bash
rclone config
unit: |
poetry run pytest ./tests/unit/
e2e: |
poetry run python ./tests/box_e2e_test.py
lint: |
poetry run black --check sharprocket tests/
poetry run mypy --ignore-missing-imports sharprocket tests/
poetry run flake8 --max-line-length 88 --ignore E203,W503 sharprocket tests/
values:
LOC: strathclyde/rocketbook/notes
DRIVE: ./sharprocket/gdrive
OUT: ./sharprocket/output