-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy pathtoast.yml
More file actions
96 lines (86 loc) · 3.05 KB
/
toast.yml
File metadata and controls
96 lines (86 loc) · 3.05 KB
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
image: python.ie/website-dev
tasks:
deps:compute:
description: Compute the dependencies
cache: false
mount_paths:
- .:/app
location: /app
command: |
python -m uv pip compile --quiet --output-file requirements/main.txt requirements/main.in
python -m uv pip compile --quiet --output-file requirements/dev.txt requirements/dev.in
python -m uv pip compile --quiet --output-file requirements/production.txt requirements/production.in
deps:outdated:
description: Show the outdated dependencies
cache: false
command: python -m pip list -o
deps:upgrade:
description: Upgrade the dependencies
cache: false
mount_paths:
- .:/app
location: /app
command: |
python -m uv pip compile --quiet --upgrade --output-file requirements/main.txt requirements/main.in
python -m uv pip compile --quiet --upgrade --output-file requirements/dev.txt requirements/dev.in
python -m uv pip compile --quiet --upgrade --output-file requirements/production.txt requirements/production.in
deps:upgrade:django:
description: Upgrade Django to the latest compatible version
cache: false
mount_paths:
- .:/app
location: /app
command: |
python -m uv pip compile --quiet --upgrade-package django --output-file requirements/main.txt requirements/main.in
python -m uv pip compile --quiet --upgrade-package django --output-file requirements/dev.txt requirements/dev.in
python -m uv pip compile --quiet --upgrade-package django --output-file requirements/production.txt requirements/production.in
deps:upgrade:wagtail:
description: Upgrade Wagtail to the latest compatible version
cache: false
mount_paths:
- .:/app
location: /app
command: |
python -m uv pip compile --quiet --upgrade-package wagtail --output-file requirements/main.txt requirements/main.in
python -m uv pip compile --quiet --upgrade-package wagtail --output-file requirements/dev.txt requirements/dev.in
python -m uv pip compile --quiet --upgrade-package wagtail --output-file requirements/production.txt requirements/production.in
deps:security:
description: Check dependencies for known security vulnerabilities
cache: false
command: pip-audit
deps:tree:
description: Show the dependencies tree
cache: false
command: pipdeptree
code:format:
description: Format the code
cache: false
mount_paths:
- .:/app
location: /app
command: |
python -m ruff format pythonie
code:lint:
description: Lint the code and fix issues
cache: false
mount_paths:
- .:/app
location: /app
command: |
python -m ruff check --fix pythonie
code:check:
description: Check code formatting and linting without changes
cache: false
mount_paths:
- .:/app
location: /app
command: |
python -m ruff format --check pythonie
python -m ruff check pythonie
fish:
description: Run a shell
cache: false
mount_paths:
- .:/app
location: /app
command: /usr/bin/fish