File tree Expand file tree Collapse file tree 3 files changed +12
-7
lines changed Expand file tree Collapse file tree 3 files changed +12
-7
lines changed Original file line number Diff line number Diff line change 7
7
import typer
8
8
from rich .console import Console
9
9
10
- LATEST_PYSCRIPT_VERSION = "2023.11.2 "
10
+ LATEST_PYSCRIPT_VERSION = "2024.2.1 "
11
11
APPNAME = "pyscript"
12
12
APPAUTHOR = "python"
13
13
DEFAULT_CONFIG_FILENAME = ".pyscriptconfig"
Original file line number Diff line number Diff line change 1
1
<!DOCTYPE html>
2
2
< html lang ="en ">
3
- < head >
3
+ < head >
4
4
< title > {{ title }}</ title >
5
+
6
+ <!-- Recommended meta tags -->
7
+ < meta charset ="UTF-8 ">
8
+ < meta name ="viewport " content ="width=device-width,initial-scale=1.0 ">
9
+
5
10
< link rel ="stylesheet " href ="https://pyscript.net/releases/{{ pyscript_version }}/core.css ">
6
11
< script type ="module " src ="https://pyscript.net/releases/{{ pyscript_version }}/core.js "> </ script >
7
- </ head >
8
- < body >
9
- < script type ="py " src ="./{{ python_file_path }} " config ="./{{ config_file_path }} "> </ script >
10
- </ body >
12
+ </ head >
13
+ < body >
14
+ < script type ="py " src ="./{{ python_file_path }} " config ="./{{ config_file_path }} " terminal > </ script >
15
+ </ body >
11
16
</ html >
Original file line number Diff line number Diff line change @@ -191,7 +191,7 @@ def check_project_files(
191
191
with html_file_path .open () as fp :
192
192
contents = fp .read ()
193
193
assert (
194
- f'<script type="py" src="./{ python_file } " config="./{ config_file } ">'
194
+ f'<script type="py" src="./{ python_file } " config="./{ config_file } " terminal >'
195
195
in contents
196
196
)
197
197
You can’t perform that action at this time.
0 commit comments