Skip to content

Commit 43f3503

Browse files
committed
2026-01-10T2324Z
1 parent 662d611 commit 43f3503

File tree

12 files changed

+18
-77
lines changed

12 files changed

+18
-77
lines changed

GlobalBasicSettings_13.xml

Lines changed: 0 additions & 61 deletions
This file was deleted.

Source/launcher/subparsers/args_launch_mode/cookie.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,5 @@ def _(
2828
args_ns: argparse.Namespace,
2929
) -> list[logic.obj_type]:
3030
return [
31-
cookie.obj_type(args_ns.verbose)
31+
cookie.obj_type(verbose=args_ns.verbose)
3232
]

Source/routines/_logic.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
# Standard library imports
2-
from dataclasses import dataclass
3-
import dataclasses
4-
import functools
5-
import textwrap
62
import urllib.request
73
import urllib.error
84
import http.client
5+
import dataclasses
96
import subprocess
107
import threading
8+
import functools
9+
import textwrap
1110
import shutil
1211
import ssl
1312
import re

Source/routines/clear_cache.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
class obj_type(logic.obj_type):
1919
base_url: str
2020
base_url_bytes: bytes = dataclasses.field(init=False)
21+
remove_count: int = dataclasses.field(init=False, default=0)
2122

2223
def check_host(self, full_path: str) -> bool:
2324
try:
@@ -36,6 +37,7 @@ def remove_hosts(self, full_paths: list[str]) -> None:
3637
if not self.check_host(full_path):
3738
continue
3839
try:
40+
self.remove_count += 1
3941
os.remove(full_path)
4042
except Exception:
4143
pass
@@ -58,6 +60,7 @@ def process(self) -> None:
5860
for fn in os.listdir(http_folder)
5961
]
6062

63+
self.remove_count = 0
6164
threads = [
6265
threading.Thread(
6366
target=self.remove_hosts,

Source/routines/download.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class obj_type(logic.bin_entry, logic.loggable_entry):
1616
@override
1717
def process(self) -> None:
1818
downloader.bootstrap_binary(
19-
rōblox_version=self.rōblox_version,
19+
rōblox_version=self.retr_version(),
2020
bin_type=self.BIN_SUBTYPE,
2121
log_filter=self.log_filter,
2222
)

Source/routines/player/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@ def __post_init__(self) -> None:
5858

5959
def finalise_user_code(self) -> None:
6060
'''
61-
This method is separate from `sanitise` because
61+
This method is separate from `__post_init__` because
6262
it needs to be executed after `launch_delay` seconds.
63-
The `sanitise` method gets executed before that delay.
63+
The `__post_init__` method gets executed before that delay.
6464
'''
6565
if self.user_code is not None:
6666
return

Source/routines/rcc/__init__.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# Standard library imports
2-
import functools
32
from typing import IO, override
43
import dataclasses
54
import subprocess
@@ -15,7 +14,6 @@
1514
import assets.serialisers
1615
import util.resource
1716
import util.versions
18-
import game_config
1917
import logger
2018

2119
from . import (
@@ -243,7 +241,7 @@ def read_rcc_output(self) -> None:
243241
Pipes output from the RCC server to the logger module for processing.
244242
This is done in a separate thread to avoid blocking the main process from terminating RCC when necessary.
245243
'''
246-
stdout: IO[bytes] = self.popen_mains[0].stdout # type: ignore[reportAssignmentType]
244+
stdout: IO[bytes] = self.popen_mains[0].stdout # pyright: ignore[reportAssignmentType]
247245
assert stdout is not None
248246
while True:
249247
line = stdout.readline()

Source/routines/studio/__init__.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
# Standard library imports
22
import dataclasses
3-
import os
4-
import subprocess
5-
from routines.rcc import startup_scripts
63
import functools
74
import time
5+
import os
86

97
# Typing imports
108
from typing import ClassVar, override
119

1210
# Local application imports
11+
from routines.rcc import startup_scripts
1312
from config_type.types import wrappers
1413
from .. import _logic as logic
1514
import util.resource

Source/routines/web.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
import web_server._logic as web_server_logic
88
from . import _logic as logic
99
import web_server
10-
import logger
1110

1211

1312
@dataclasses.dataclass(kw_only=True, unsafe_hash=True)

Source/storage/players.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def add_player(self, usercode: str, iden_num: int, username: str) -> tuple[int,
6161
def get_player_field_from_index(
6262
self,
6363
index: player_field,
64-
value,
64+
value: int | str | None,
6565
field: player_field,
6666
):
6767
if index == self.player_field.IDEN_NUM:

0 commit comments

Comments
 (0)