Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
gajim
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mesonium
gajim
Commits
661eef28
Commit
661eef28
authored
2 years ago
by
Daniel Brötzmann
Browse files
Options
Downloads
Patches
Plain Diff
chore: VCard4: Add type annotations
parent
382784a9
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
gajim/common/modules/vcard4.py
+4
-1
4 additions, 1 deletion
gajim/common/modules/vcard4.py
pyrightconfig.json
+1
-0
1 addition, 0 deletions
pyrightconfig.json
with
5 additions
and
1 deletion
gajim/common/modules/vcard4.py
+
4
−
1
View file @
661eef28
...
@@ -14,6 +14,9 @@
...
@@ -14,6 +14,9 @@
# XEP-0292: vCard4 Over XMPP
# XEP-0292: vCard4 Over XMPP
from
__future__
import
annotations
from
gajim.common
import
types
from
gajim.common.modules.base
import
BaseModule
from
gajim.common.modules.base
import
BaseModule
...
@@ -25,5 +28,5 @@ class VCard4(BaseModule):
...
@@ -25,5 +28,5 @@ class VCard4(BaseModule):
'
set_vcard
'
,
'
set_vcard
'
,
]
]
def
__init__
(
self
,
con
)
:
def
__init__
(
self
,
con
:
types
.
Client
)
->
None
:
BaseModule
.
__init__
(
self
,
con
)
BaseModule
.
__init__
(
self
,
con
)
This diff is collapsed.
Click to expand it.
pyrightconfig.json
+
1
−
0
View file @
661eef28
...
@@ -33,6 +33,7 @@
...
@@ -33,6 +33,7 @@
"gajim/common/modules/pep.py"
,
"gajim/common/modules/pep.py"
,
"gajim/common/modules/register.py"
,
"gajim/common/modules/register.py"
,
"gajim/common/modules/vcard_temp.py"
,
"gajim/common/modules/vcard_temp.py"
,
"gajim/common/modules/vcard4.py"
,
"gajim/common/passwords.py"
,
"gajim/common/passwords.py"
,
"gajim/common/regex.py"
,
"gajim/common/regex.py"
,
"gajim/common/setting_values.py"
,
"gajim/common/setting_values.py"
,
...
...
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