Skip to content

Commit a9ca1bf

Browse files
committed
refactor: revamped into python modules pattern
1 parent 4b1b6d1 commit a9ca1bf

File tree

8 files changed

+677
-3
lines changed

8 files changed

+677
-3
lines changed

LICENSE.md

Lines changed: 674 additions & 0 deletions
Large diffs are not rendered by default.

main.py renamed to lighthouse/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#!/usr/bin/env python3
22

33
import os
4-
import lighthouse.deploy as d
5-
from lighthouse import types as t
4+
from .functions import deploy as d
5+
from .functions import types as t
66

77

88
class Lighthouse:
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

tests/test_deploy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import os
44
import unittest
5-
from main import Lighthouse
5+
from lighthouse import Lighthouse
66
from .setup import parse_env
77

88

0 commit comments

Comments
 (0)