Skip to content

Commit 663f1df

Browse files
committed
test: added test for deploy function
1 parent d951120 commit 663f1df

File tree

4 files changed

+14
-4
lines changed

4 files changed

+14
-4
lines changed

lighthouse/axios.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#!/usr/bin/env python3
2+
13
from io import BufferedReader
24
from typing import Dict, List
35
import requests as req

lighthouse/config.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
1-
# configuration file for project
1+
#!/usr/bin/env python3
2+
3+
24
class Config:
5+
"""Config class for lighthouse"""
6+
37
lighthouse_api = "https://api.lighthouse.storage"
48
lighthouse_node = "https://node.lighthouse.storage"
59
lighthouse_bls_node = "https://encryption.lighthouse.storage"

lighthouse/deploy.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#!/usr/bin/env python3
2+
13
from typing import List
24
from .axios import Axios
35
from .utils import is_dir, walk_dir_tree

lighthouse/types.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1+
#!/usr/bin/env python3
2+
13
from dataclasses import dataclass
24
from typing import Dict, NewType, List, Tuple, TypedDict
35

46

57
@dataclass
68
class Deploy(TypedDict):
7-
"""typings for deploy function
8-
"""
9-
data: dict
9+
"""typings for deploy function"""
10+
11+
data: dict

0 commit comments

Comments
 (0)