Skip to content

Commit

Permalink
Consistent use of relative imports. NFC (emscripten-core#19703)
Browse files Browse the repository at this point in the history
  • Loading branch information
sbc100 authored Jun 24, 2023
1 parent b8b6819 commit c25d266
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions .mypy.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
mypy_path = third_party/,third_party/ply,third_party/websockify
files = .
exclude = (?x)(
cache |
third_party |
conf\.py |
emrun\.py |
Expand Down
8 changes: 4 additions & 4 deletions tools/minimal_runtime_shell.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
__rootdir__ = os.path.dirname(__scriptdir__)
sys.path.insert(0, __rootdir__)

from tools import shared
from tools import line_endings
from tools import utils
from tools.settings import settings
from . import shared
from . import line_endings
from . import utils
from .settings import settings

logger = logging.getLogger('minimal_runtime_shell')

Expand Down
4 changes: 2 additions & 2 deletions tools/system_libs.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
from . import shared, building, utils
from . import diagnostics
from . import cache
from tools.settings import settings
from tools.utils import read_file
from .settings import settings
from .utils import read_file

logger = logging.getLogger('system_libs')

Expand Down

0 comments on commit c25d266

Please sign in to comment.