-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.replit
177 lines (137 loc) · 3.8 KB
/
.replit
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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
run = ["python", "dev/frame_dev_min.py"]
entrypoint = "README.md"
modules = ["python-3.11:v30-20240222-aba8eb6"]
hidden = [".pythonlibs"]
disableGuessImports = true
disableInstallBeforeRun = true
[nix]
channel = "stable-23_11"
[unitTest]
language = "python3"
[deployment]
run = ["python3", "main.py"]
deploymentTarget = "cloudrun"
[env]
PYTHONPATH = "$PYTHONPATH:$REPL_HOME/.pythonlibs/lib/python3.11/site-packages"
[workflows]
[[workflows.workflow]]
name = "[Package] pypi upload"
mode = "sequential"
author = 299513
[[workflows.workflow.tasks]]
task = "shell.exec"
args = "python scripts/pypi_upload.py | tee logs/pypi_upload.log 2>&1"
[[workflows.workflow]]
name = "[Package] git commit"
mode = "sequential"
author = 299513
[[workflows.workflow.tasks]]
task = "shell.exec"
args = "python scripts/git_commit.py | tee logs/git_commit.log 2>&1"
[[workflows.workflow]]
name = "————————————————"
mode = "sequential"
author = 299513
[[workflows.workflow.tasks]]
task = "shell.exec"
args = ""
[[workflows.workflow]]
name = "[Util] create zip"
mode = "sequential"
author = 299513
[[workflows.workflow.tasks]]
task = "shell.exec"
args = "python scripts/create_zip.py"
[[workflows.workflow]]
name = "[Util] build"
mode = "sequential"
author = 299513
[[workflows.workflow.tasks]]
task = "shell.exec"
args = "rm -rf dist build *.egg-info && python setup.py sdist bdist_wheel"
[[workflows.workflow]]
name = "[Util] tests"
mode = "sequential"
author = 299513
[[workflows.workflow.tasks]]
task = "shell.exec"
args = "pytest ./tests | tee logs/tests.log 2>&1"
[[workflows.workflow]]
name = "[Util] demo"
mode = "sequential"
author = 299513
[[workflows.workflow.tasks]]
task = "shell.exec"
args = "python -m examples | tee logs/demo.log 2>&1"
[[workflows.workflow]]
name = "[Util] update workflows"
mode = "sequential"
author = 299513
[[workflows.workflow.tasks]]
task = "shell.exec"
args = "python scripts/update_workflows.py | tee logs/update_worflows.log 2>&1"
[[workflows.workflow]]
name = "————————————————"
mode = "sequential"
author = 299513
[[workflows.workflow.tasks]]
task = "shell.exec"
args = ""
[[workflows.workflow]]
name = "[Format] ruff"
mode = "sequential"
author = 299513
[[workflows.workflow.tasks]]
task = "shell.exec"
args = "ruff format"
[[workflows.workflow]]
name = "————————————————"
mode = "sequential"
author = 299513
[[workflows.workflow.tasks]]
task = "shell.exec"
args = ""
[[workflows.workflow]]
name = "[Report] pyright"
mode = "sequential"
author = 299513
[[workflows.workflow.tasks]]
task = "shell.exec"
args = "pyright --warnings | tee logs/pyright.log 2>&1"
[[workflows.workflow]]
name = "[Report] flake8"
mode = "sequential"
author = 299513
[[workflows.workflow.tasks]]
task = "shell.exec"
args = "pflake8 --exclude */. --exclude ./build | tee logs/flake8.log 2>&1"
[[workflows.workflow]]
name = "[Report] ruff"
mode = "sequential"
author = 299513
[[workflows.workflow.tasks]]
task = "shell.exec"
args = "ruff check ./dev ./src ./examples ./tests ./scripts | tee logs/ruff.log 2>&1"
[[workflows.workflow]]
name = "[Report] pytest"
mode = "sequential"
author = 299513
[[workflows.workflow.tasks]]
task = "shell.exec"
args = "pytest --cov=src --cov-report term-missing | tee logs/pytest.log 2>&1"
[[workflows.workflow]]
name = "[Report] All"
mode = "parallel"
author = 299513
[[workflows.workflow.tasks]]
task = "shell.exec"
args = "pyright --warnings | tee logs/pyright.log 2>&1"
[[workflows.workflow.tasks]]
task = "shell.exec"
args = "pflake8 --exclude */. --exclude __* | tee logs/flake8.log 2>&1"
[[workflows.workflow.tasks]]
task = "shell.exec"
args = "ruff check . --line-length 79 | tee logs/ruff.log 2>&1"
[[workflows.workflow.tasks]]
task = "shell.exec"
args = "black . --check --line-length 79 | tee logs/black.log 2>&1"