Skip to content

Commit

Permalink
use relative import
Browse files Browse the repository at this point in the history
  • Loading branch information
Remi-Gau committed Nov 7, 2023
1 parent c72e2c1 commit bdfece4
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion python/app_list_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"""

import os
from utils import get_metatable
from .utils import get_metatable
from template_manager import TemplateManager


Expand Down
4 changes: 2 additions & 2 deletions python/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
# see how reproschema uses click to create command line calls `reproschema validate`

import os, click
from create_schema import create_schema
from utils import print_download, get_root_dir, get_metatable
from .create_schema import create_schema
from .utils import print_download, get_root_dir, get_metatable

default_dir = os.path.join(get_root_dir(), "schemas")

Expand Down
4 changes: 2 additions & 2 deletions python/create_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

from rich import print

from item import get_item_info, define_new_item
from utils import (
from .item import get_item_info, define_new_item
from .utils import (
snake_case,
print_info,
print_item_info,
Expand Down
2 changes: 1 addition & 1 deletion python/generate_landing_page.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"""

import os
from utils import get_metatable
from .utils import get_metatable
from template_manager import TemplateManager


Expand Down
2 changes: 1 addition & 1 deletion python/item.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

from numpy import linspace, isnan

from utils import convert_to_str, convert_to_int, snake_case
from .utils import convert_to_str, convert_to_int, snake_case
from reproschema.models.item import Item, ResponseOption

from rich import print
Expand Down

0 comments on commit bdfece4

Please sign in to comment.