Skip to content
This repository was archived by the owner on Mar 1, 2026. It is now read-only.

Commit c249564

Browse files
committed
Update dev-dependencies
1 parent 3a2b5e8 commit c249564

File tree

4 files changed

+137
-73
lines changed

4 files changed

+137
-73
lines changed

decompile_ts4.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,29 +15,29 @@ function progress {
1515

1616
source_dir=$TS4_DECOMPRESSED_SOURCE
1717

18-
files=$(find $source_dir -name '*.pyc')
18+
files=$(find "$source_dir" -name '*.pyc')
1919
files_total=$(echo "$files" | wc -l)
2020
files_done=0
2121

2222
for file in $files
2323
do
2424
out_dir="$script_dir/ts4/$(dirname ${file#$source_dir})/"
25-
mkdir -p $out_dir
26-
uv run decompyle3 -o $out_dir $file &
25+
mkdir -p "$out_dir"
26+
uv run uncompyle6 -o "$out_dir" "$file" &
2727

28-
progress $(($files_done*100/$files_total))
28+
progress $((files_done*100/files_total))
2929

3030
if [[ $(jobs -r | wc -l) -ge 10 ]]; then
3131
wait -fn
3232
files_done=$((files_done+1))
33-
progress $(($files_done*100/$files_total))
33+
progress $((files_done*100/files_total))
3434
fi
3535
done
3636

3737
while [[ $(jobs -r | wc -l) -gt 0 ]]; do
3838
wait -fn
3939
files_done=$((files_done+1))
40-
progress $(($files_done*100/$files_total))
40+
progress $((files_done*100/files_total))
4141
done
4242

4343
echo ""

pyproject.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ email = "jovan.gerodetti@titannano.de>"
1212

1313
[tool.uv]
1414
dev-dependencies = [
15-
"ruff~=0.4.7",
16-
"decompyle3~=3.9.1",
17-
"pylint~=2.6.0",
18-
"python-lsp-server[rope]~=1.7.4",
19-
"pylsp-mypy~=0.6.7",
15+
"ruff>=0.11.0",
16+
"pylint>=2.6.0",
17+
"python-lsp-server[rope]>=1.7.4",
18+
"pylsp-mypy>=0.6.7",
19+
"uncompyle6>=3.9.2",
2020
]
2121

2222
[tool.ruff.lint]

src/control_any_sim/canys_interactions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ def _run_interaction_gen(self: Self, timeline: Timeline) -> bool:
195195
return False
196196

197197
@classmethod
198-
def _must_be_selectable(cls: type[C], sim_info: SimInfo) -> bool:
198+
def _must_be_selectable(cls, sim_info: SimInfo) -> bool:
199199
return services.active_household_id() == sim_info.household_id
200200

201201

0 commit comments

Comments
 (0)