Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
pmbootstrap
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
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
postmarketOS
pmbootstrap
Merge requests
!2464
Add lots of type hints, fix some bugs, and clean up some code
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Add lots of type hints, fix some bugs, and clean up some code
newbyte/more-mypy
into
master
Overview
2
Commits
23
Pipelines
5
Changes
73
Merged
Newbyte
requested to merge
newbyte/more-mypy
into
master
5 months ago
Overview
2
Commits
23
Pipelines
5
Changes
1
Expand
I may have gone a bit overboard. See individual commits.
0
0
Merge request reports
Compare
version 1
version 4
04188dce
5 months ago
version 3
8c34f726
5 months ago
version 2
4ad0a809
5 months ago
version 1
53958542
5 months ago
master (base)
and
version 2
latest version
511d4900
23 commits,
4 months ago
version 4
04188dce
23 commits,
5 months ago
version 3
8c34f726
23 commits,
5 months ago
version 2
4ad0a809
22 commits,
5 months ago
version 1
53958542
22 commits,
5 months ago
Show latest version
1 file
+
2
−
2
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
pmb/chroot/run.py
+
2
−
2
Options
@@ -5,7 +5,7 @@ from pathlib import Path, PurePath
import
shutil
import
subprocess
from
collections.abc
import
Sequence
from
typing
import
cast
,
overload
,
Literal
from
typing
import
overload
,
Literal
import
pmb.config
import
pmb.chroot
@@ -214,7 +214,7 @@ def userm(
flat_cmd
=
pmb
.
helpers
.
run_core
.
flat_cmd
(
cmds
,
env
=
env
)
cmd
=
[
"
busybox
"
,
"
su
"
,
"
pmos
"
,
"
-c
"
,
flat_cmd
]
# Can't figure out why this one fails :(
return
pmb
.
chroot
.
root
(
# type: ignore[call-overload]
return
pmb
.
chroot
.
root
(
# type: ignore[call-overload]
cmd
,
chroot
,
working_dir
,
output
,
output_return
,
check
,
{},
add_proxy_env_vars
=
False
)
Loading