mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 01:43:36 +01:00
reckless: add type hints for InstInfo
This commit is contained in:
parent
7387c9cb1f
commit
c1d46d6ef9
@ -122,12 +122,12 @@ class InstInfo:
|
||||
def __init__(self, name: str, location: str, git_url: str):
|
||||
self.name = name
|
||||
self.source_loc = str(location) # Used for 'git clone'
|
||||
self.git_url = git_url # API access for github repos
|
||||
self.srctype = Source.get_type(location)
|
||||
self.entry = None # relative to source_loc or subdir
|
||||
self.deps = None
|
||||
self.subdir = None
|
||||
self.commit = None
|
||||
self.git_url: str = git_url # API access for github repos
|
||||
self.srctype: Source = Source.get_type(location)
|
||||
self.entry: SourceFile = None # relative to source_loc or subdir
|
||||
self.deps: str = None
|
||||
self.subdir: str = None
|
||||
self.commit: str = None
|
||||
|
||||
def __repr__(self):
|
||||
return (f'InstInfo({self.name}, {self.source_loc}, {self.git_url}, '
|
||||
|
Loading…
Reference in New Issue
Block a user