Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
flow3r firmware
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
Releases
Package registry
Container 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
flow3r
flow3r firmware
Commits
25a28944
Commit
25a28944
authored
1 year ago
by
Anon
Browse files
Options
Downloads
Patches
Plain Diff
py: add additional constants to ctx types
parent
356787cf
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!70
py: add additional constants to ctx types
Pipeline
#6240
passed
1 year ago
Stage: check
Stage: build
Stage: deploy
Changes
1
Pipelines
2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
python_payload/mypystubs/ctx.pyi
+11
-1
11 additions, 1 deletion
python_payload/mypystubs/ctx.pyi
with
11 additions
and
1 deletion
python_payload/mypystubs/ctx.pyi
+
11
−
1
View file @
25a28944
...
@@ -29,9 +29,19 @@ class Context(Protocol):
...
@@ -29,9 +29,19 @@ class Context(Protocol):
global_alpha
:
float
=
1.0
global_alpha
:
float
=
1.0
font
:
str
=
""
font
:
str
=
""
ALPHABETIC
:
str
=
"
alphabetic
"
TOP
:
str
=
"
top
"
HANGING
:
str
=
"
hanging
"
MIDDLE
:
str
=
"
middle
"
IDEOGRAPHIC
:
str
=
"
ideographic
"
BOTTOM
:
str
=
"
bottom
"
START
:
str
=
"
start
"
END
:
str
=
"
end
"
JUSTIFY
:
str
=
"
justify
"
CENTER
:
str
=
"
center
"
CENTER
:
str
=
"
center
"
LEFT
:
str
=
"
left
"
RIGHT
:
str
=
"
right
"
RIGHT
:
str
=
"
right
"
MIDDLE
:
str
=
"
middle
"
def
__init__
(
self
)
->
None
:
...
def
__init__
(
self
)
->
None
:
...
def
text_width
(
self
,
text
:
str
)
->
float
:
def
text_width
(
self
,
text
:
str
)
->
float
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment