Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
LR2 Mods
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container Registry
Operate
Environments
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Lab Rats 2 Mods
LR2 Mods
Merge requests
!244
More code improvements
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
More code improvements
wkwk/lr2mods:more_code_fixes
into
develop
Overview
5
Commits
12
Pipelines
0
Changes
2
Merged
wkwk
requested to merge
wkwk/lr2mods:more_code_fixes
into
develop
1 year ago
Overview
5
Commits
12
Pipelines
0
Changes
2
Expand
Updates the deprecated typing imports + more general fixes.
0
0
Merge request reports
Viewing commit
544eaff9
Prev
Next
Show latest version
2 files
+
2
−
2
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
544eaff9
Remove some unnecessary list comprehensions
· 544eaff9
wkwk
authored
1 year ago
game/helper_functions/list_functions_ren.py
+
1
−
1
Options
@@ -48,7 +48,7 @@ def all_jobs(excluded_jobs = None) -> list[Job]:
return
[
x
for
x
in
list_of_jobs
if
x
not
in
excluded_jobs
]
def
all_hubs
()
->
list
[
MapHub
]:
return
[
x
for
x
in
list_of_hubs
]
return
list
(
list_of_hubs
)
@ttl_cache
(
ttl
=
1
)
def
unique_characters_not_known
()
->
list
[
Person
]:
# TODO The check should be standardized, but some people are vanilla, some are different modders or different 'style'.
Loading