Skip to content

Commit 683bbcd

Browse files
committed
auto reformat app manifest JSON via tests
Enforce same format for all app manifest files via tests with `indent=2, ensure_ascii=False, sort_keys=True` Based on #105
1 parent 1f00c73 commit 683bbcd

27 files changed

Lines changed: 336 additions & 356 deletions

File tree

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,23 @@
11
{
2-
"name": "Breakout",
3-
"publisher": "MicroPythonOS",
4-
"short_description": "Classic Breakout game",
5-
"long_description": "Classic Breakout game to demonstrate native machinecode (from C) in .mpy files on both AMD64 and ESP32",
6-
"icon_url": "https://apps.micropythonos.com/apps/com.micropythonos.breakout/icons/com.micropythonos.breakout_0.1.0_64x64.png",
7-
"download_url": "https://apps.micropythonos.com/apps/com.micropythonos.breakout/mpks/com.micropythonos.breakout_0.1.0.mpk",
8-
"fullname": "com.micropythonos.breakout",
9-
"version": "0.1.0",
10-
"category": "games",
11-
"activities": [
2+
"activities": [
123
{
13-
"entrypoint": "assets/breakout.py",
144
"classname": "Breakout",
5+
"entrypoint": "assets/breakout.py",
156
"intent_filters": [
167
{
178
"action": "main",
189
"category": "launcher"
1910
}
2011
]
2112
}
22-
]
23-
}
24-
13+
],
14+
"category": "games",
15+
"download_url": "https://apps.micropythonos.com/apps/com.micropythonos.breakout/mpks/com.micropythonos.breakout_0.1.0.mpk",
16+
"fullname": "com.micropythonos.breakout",
17+
"icon_url": "https://apps.micropythonos.com/apps/com.micropythonos.breakout/icons/com.micropythonos.breakout_0.1.0_64x64.png",
18+
"long_description": "Classic Breakout game to demonstrate native machinecode (from C) in .mpy files on both AMD64 and ESP32",
19+
"name": "Breakout",
20+
"publisher": "MicroPythonOS",
21+
"short_description": "Classic Breakout game",
22+
"version": "0.1.0"
23+
}
Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,23 @@
11
{
2-
"name": "Camera",
3-
"publisher": "MicroPythonOS",
4-
"short_description": "Camera with QR decoding",
5-
"long_description": "Camera for both internal camera's and webcams, that includes QR decoding.",
6-
"icon_url": "https://apps.micropythonos.com/apps/com.micropythonos.camera/icons/com.micropythonos.camera_0.2.1_64x64.png",
7-
"download_url": "https://apps.micropythonos.com/apps/com.micropythonos.camera/mpks/com.micropythonos.camera_0.2.1.mpk",
8-
"fullname": "com.micropythonos.camera",
9-
"version": "0.2.1",
10-
"category": "camera",
11-
"activities": [
2+
"activities": [
123
{
13-
"entrypoint": "assets/camera_app.py",
144
"classname": "CameraActivity",
5+
"entrypoint": "assets/camera_app.py",
156
"intent_filters": [
167
{
178
"action": "main",
189
"category": "launcher"
1910
}
2011
]
2112
}
22-
]
23-
}
24-
13+
],
14+
"category": "camera",
15+
"download_url": "https://apps.micropythonos.com/apps/com.micropythonos.camera/mpks/com.micropythonos.camera_0.2.1.mpk",
16+
"fullname": "com.micropythonos.camera",
17+
"icon_url": "https://apps.micropythonos.com/apps/com.micropythonos.camera/icons/com.micropythonos.camera_0.2.1_64x64.png",
18+
"long_description": "Camera for both internal camera's and webcams, that includes QR decoding.",
19+
"name": "Camera",
20+
"publisher": "MicroPythonOS",
21+
"short_description": "Camera with QR decoding",
22+
"version": "0.2.1"
23+
}
Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,23 @@
11
{
2-
"name": "Confetti",
3-
"publisher": "MicroPythonOS",
4-
"short_description": "Just shows confetti",
5-
"long_description": "Nothing special, just a demo.",
6-
"icon_url": "https://apps.micropythonos.com/apps/com.micropythonos.confetti/icons/com.micropythonos.confetti_0.0.4_64x64.png",
7-
"download_url": "https://apps.micropythonos.com/apps/com.micropythonos.confetti/mpks/com.micropythonos.confetti_0.0.4.mpk",
8-
"fullname": "com.micropythonos.confetti",
9-
"version": "0.0.4",
10-
"category": "games",
11-
"activities": [
2+
"activities": [
123
{
13-
"entrypoint": "assets/confetti_app.py",
144
"classname": "ConfettiApp",
5+
"entrypoint": "assets/confetti_app.py",
156
"intent_filters": [
167
{
178
"action": "main",
189
"category": "launcher"
1910
}
2011
]
2112
}
22-
]
23-
}
24-
13+
],
14+
"category": "games",
15+
"download_url": "https://apps.micropythonos.com/apps/com.micropythonos.confetti/mpks/com.micropythonos.confetti_0.0.4.mpk",
16+
"fullname": "com.micropythonos.confetti",
17+
"icon_url": "https://apps.micropythonos.com/apps/com.micropythonos.confetti/icons/com.micropythonos.confetti_0.0.4_64x64.png",
18+
"long_description": "Nothing special, just a demo.",
19+
"name": "Confetti",
20+
"publisher": "MicroPythonOS",
21+
"short_description": "Just shows confetti",
22+
"version": "0.0.4"
23+
}
Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
{
2-
"name": "Connect 4",
3-
"publisher": "MicroPythonOS",
4-
"short_description": "Classic Connect 4 game",
5-
"long_description": "Play Connect 4 against the computer with three difficulty levels: Easy, Medium, and Hard. Drop colored discs and try to connect four in a row!",
6-
"icon_url": "https://apps.micropythonos.com/apps/com.micropythonos.connect4/icons/com.micropythonos.connect4_0.1.0_64x64.png",
7-
"download_url": "https://apps.micropythonos.com/apps/com.micropythonos.connect4/mpks/com.micropythonos.connect4_0.1.0.mpk",
8-
"fullname": "com.micropythonos.connect4",
9-
"version": "0.1.0",
10-
"category": "games",
11-
"activities": [
2+
"activities": [
123
{
13-
"entrypoint": "assets/connect4.py",
144
"classname": "Connect4",
5+
"entrypoint": "assets/connect4.py",
156
"intent_filters": [
167
{
178
"action": "main",
189
"category": "launcher"
1910
}
2011
]
2112
}
22-
]
23-
}
13+
],
14+
"category": "games",
15+
"download_url": "https://apps.micropythonos.com/apps/com.micropythonos.connect4/mpks/com.micropythonos.connect4_0.1.0.mpk",
16+
"fullname": "com.micropythonos.connect4",
17+
"icon_url": "https://apps.micropythonos.com/apps/com.micropythonos.connect4/icons/com.micropythonos.connect4_0.1.0_64x64.png",
18+
"long_description": "Play Connect 4 against the computer with three difficulty levels: Easy, Medium, and Hard. Drop colored discs and try to connect four in a row!",
19+
"name": "Connect 4",
20+
"publisher": "MicroPythonOS",
21+
"short_description": "Classic Connect 4 game",
22+
"version": "0.1.0"
23+
}
Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
{
2-
"name": "Doom Launcher",
3-
"publisher": "MicroPythonOS",
4-
"short_description": "Legendary 3D shooter",
5-
"long_description": "Plays Doom 1, 2 and modded .wad files from internal storage or SD card and plays them. Place them in the folder /roms/doom/ . Uses ducalex's retro-go port of PrBoom. Supports zipped wad files too.",
6-
"icon_url": "https://apps.micropythonos.com/apps/com.micropythonos.doom_launcher/icons/com.micropythonos.doom_launcher_0.1.0_64x64.png",
7-
"download_url": "https://apps.micropythonos.com/apps/com.micropythonos.doom_launcher/mpks/com.micropythonos.doom_launcher_0.1.0.mpk",
8-
"fullname": "com.micropythonos.doom_launcher",
9-
"version": "0.1.0",
10-
"category": "games"
11-
}
12-
2+
"category": "games",
3+
"download_url": "https://apps.micropythonos.com/apps/com.micropythonos.doom_launcher/mpks/com.micropythonos.doom_launcher_0.1.0.mpk",
4+
"fullname": "com.micropythonos.doom_launcher",
5+
"icon_url": "https://apps.micropythonos.com/apps/com.micropythonos.doom_launcher/icons/com.micropythonos.doom_launcher_0.1.0_64x64.png",
6+
"long_description": "Plays Doom 1, 2 and modded .wad files from internal storage or SD card and plays them. Place them in the folder /roms/doom/ . Uses ducalex's retro-go port of PrBoom. Supports zipped wad files too.",
7+
"name": "Doom Launcher",
8+
"publisher": "MicroPythonOS",
9+
"short_description": "Legendary 3D shooter",
10+
"version": "0.1.0"
11+
}
Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,23 @@
11
{
2-
"name": "Draw",
3-
"publisher": "MicroPythonOS",
4-
"short_description": "Simple drawing app",
5-
"long_description": "Draw simple shapes on the screen.",
6-
"icon_url": "https://apps.micropythonos.com/apps/com.micropythonos.draw/icons/com.micropythonos.draw_0.1.0_64x64.png",
7-
"download_url": "https://apps.micropythonos.com/apps/com.micropythonos.draw/mpks/com.micropythonos.draw_0.1.0.mpk",
8-
"fullname": "com.micropythonos.draw",
9-
"version": "0.1.0",
10-
"category": "graphics",
11-
"activities": [
2+
"activities": [
123
{
13-
"entrypoint": "assets/draw.py",
144
"classname": "Draw",
5+
"entrypoint": "assets/draw.py",
156
"intent_filters": [
167
{
178
"action": "main",
189
"category": "launcher"
1910
}
2011
]
2112
}
22-
]
23-
}
24-
13+
],
14+
"category": "graphics",
15+
"download_url": "https://apps.micropythonos.com/apps/com.micropythonos.draw/mpks/com.micropythonos.draw_0.1.0.mpk",
16+
"fullname": "com.micropythonos.draw",
17+
"icon_url": "https://apps.micropythonos.com/apps/com.micropythonos.draw/icons/com.micropythonos.draw_0.1.0_64x64.png",
18+
"long_description": "Draw simple shapes on the screen.",
19+
"name": "Draw",
20+
"publisher": "MicroPythonOS",
21+
"short_description": "Simple drawing app",
22+
"version": "0.1.0"
23+
}
Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,23 @@
11
{
2-
"name": "ErrorTest",
3-
"publisher": "MicroPythonOS",
4-
"short_description": "Test app with intentional error",
5-
"long_description": "This app has an intentional import error for testing.",
6-
"icon_url": "https://apps.micropythonos.com/apps/com.micropythonos.errortest/icons/com.micropythonos.errortest_0.0.3_64x64.png",
7-
"download_url": "https://apps.micropythonos.com/apps/com.micropythonos.errortest/mpks/com.micropythonos.errortest_0.0.3.mpk",
8-
"fullname": "com.micropythonos.errortest",
9-
"version": "0.0.3",
10-
"category": "development",
11-
"activities": [
2+
"activities": [
123
{
13-
"entrypoint": "assets/error.py",
144
"classname": "Error",
5+
"entrypoint": "assets/error.py",
156
"intent_filters": [
167
{
178
"action": "main",
189
"category": "launcher"
1910
}
2011
]
2112
}
22-
]
23-
}
24-
13+
],
14+
"category": "development",
15+
"download_url": "https://apps.micropythonos.com/apps/com.micropythonos.errortest/mpks/com.micropythonos.errortest_0.0.3.mpk",
16+
"fullname": "com.micropythonos.errortest",
17+
"icon_url": "https://apps.micropythonos.com/apps/com.micropythonos.errortest/icons/com.micropythonos.errortest_0.0.3_64x64.png",
18+
"long_description": "This app has an intentional import error for testing.",
19+
"name": "ErrorTest",
20+
"publisher": "MicroPythonOS",
21+
"short_description": "Test app with intentional error",
22+
"version": "0.0.3"
23+
}
Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,23 @@
11
{
2-
"name": "ESPNowChat",
3-
"publisher": "MicroPythonOS",
4-
"short_description": "ESPNow Chat",
5-
"long_description": "Simple chat app using EspNow protocol for communication between devices.",
6-
"icon_url": "https://apps.micropythonos.com/apps/com.micropythonos.espnow_chat/icons/com.micropythonos.espnow_chat_0.1.0_64x64.png",
7-
"download_url": "https://apps.micropythonos.com/apps/com.micropythonos.espnow_chat/mpks/com.micropythonos.espnow_chat_0.1.0.mpk",
8-
"fullname": "com.micropythonos.espnow_chat",
9-
"version": "0.1.0",
10-
"category": "development",
11-
"activities": [
2+
"activities": [
123
{
13-
"entrypoint": "assets/espnow_chat.py",
144
"classname": "EspNowChat",
5+
"entrypoint": "assets/espnow_chat.py",
156
"intent_filters": [
167
{
178
"action": "main",
189
"category": "launcher"
1910
}
2011
]
2112
}
22-
]
23-
}
24-
13+
],
14+
"category": "development",
15+
"download_url": "https://apps.micropythonos.com/apps/com.micropythonos.espnow_chat/mpks/com.micropythonos.espnow_chat_0.1.0.mpk",
16+
"fullname": "com.micropythonos.espnow_chat",
17+
"icon_url": "https://apps.micropythonos.com/apps/com.micropythonos.espnow_chat/icons/com.micropythonos.espnow_chat_0.1.0_64x64.png",
18+
"long_description": "Simple chat app using EspNow protocol for communication between devices.",
19+
"name": "ESPNowChat",
20+
"publisher": "MicroPythonOS",
21+
"short_description": "ESPNow Chat",
22+
"version": "0.1.0"
23+
}
Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,23 @@
11
{
2-
"name": "File Manager",
3-
"publisher": "MicroPythonOS",
4-
"short_description": "Manage files",
5-
"long_description": "Traverse around the filesystem and manage files and folders you find..",
6-
"icon_url": "https://apps.micropythonos.com/apps/com.micropythonos.filemanager/icons/com.micropythonos.filemanager_0.0.5_64x64.png",
7-
"download_url": "https://apps.micropythonos.com/apps/com.micropythonos.filemanager/mpks/com.micropythonos.filemanager_0.0.5.mpk",
8-
"fullname": "com.micropythonos.filemanager",
9-
"version": "0.0.5",
10-
"category": "development",
11-
"activities": [
2+
"activities": [
123
{
13-
"entrypoint": "assets/file_manager.py",
144
"classname": "FileManager",
5+
"entrypoint": "assets/file_manager.py",
156
"intent_filters": [
167
{
178
"action": "main",
189
"category": "launcher"
1910
}
2011
]
2112
}
22-
]
23-
}
24-
13+
],
14+
"category": "development",
15+
"download_url": "https://apps.micropythonos.com/apps/com.micropythonos.filemanager/mpks/com.micropythonos.filemanager_0.0.5.mpk",
16+
"fullname": "com.micropythonos.filemanager",
17+
"icon_url": "https://apps.micropythonos.com/apps/com.micropythonos.filemanager/icons/com.micropythonos.filemanager_0.0.5_64x64.png",
18+
"long_description": "Traverse around the filesystem and manage files and folders you find..",
19+
"name": "File Manager",
20+
"publisher": "MicroPythonOS",
21+
"short_description": "Manage files",
22+
"version": "0.0.5"
23+
}
Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,23 @@
11
{
2-
"name": "HelloWorld",
3-
"publisher": "MicroPythonOS",
4-
"short_description": "Minimal app",
5-
"long_description": "Demonstrates the simplest app.",
6-
"icon_url": "https://apps.micropythonos.com/apps/com.micropythonos.helloworld/icons/com.micropythonos.helloworld_0.0.5_64x64.png",
7-
"download_url": "https://apps.micropythonos.com/apps/com.micropythonos.helloworld/mpks/com.micropythonos.helloworld_0.0.5.mpk",
8-
"fullname": "com.micropythonos.helloworld",
9-
"version": "0.0.5",
10-
"category": "development",
11-
"activities": [
2+
"activities": [
123
{
13-
"entrypoint": "assets/hello.py",
144
"classname": "Hello",
5+
"entrypoint": "assets/hello.py",
156
"intent_filters": [
167
{
178
"action": "main",
189
"category": "launcher"
1910
}
2011
]
2112
}
22-
]
23-
}
24-
13+
],
14+
"category": "development",
15+
"download_url": "https://apps.micropythonos.com/apps/com.micropythonos.helloworld/mpks/com.micropythonos.helloworld_0.0.5.mpk",
16+
"fullname": "com.micropythonos.helloworld",
17+
"icon_url": "https://apps.micropythonos.com/apps/com.micropythonos.helloworld/icons/com.micropythonos.helloworld_0.0.5_64x64.png",
18+
"long_description": "Demonstrates the simplest app.",
19+
"name": "HelloWorld",
20+
"publisher": "MicroPythonOS",
21+
"short_description": "Minimal app",
22+
"version": "0.0.5"
23+
}

0 commit comments

Comments
 (0)