Skip to content

Commit

Permalink
Merge pull request #12 from pavalso/development
Browse files Browse the repository at this point in the history
Chefs missing __init__
  • Loading branch information
pavalso committed Apr 8, 2024
2 parents ae3b62d + 6cadc60 commit dc424f9
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 9 deletions.
2 changes: 1 addition & 1 deletion __init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import abc

import src.pypotage as pypotage
import pypotage


if __name__ == "__main__":
Expand Down
2 changes: 1 addition & 1 deletion src/pypotage/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from src.pypotage._pot import pot
from ._pot import pot


prepare = pot.prepare
Expand Down
2 changes: 1 addition & 1 deletion src/pypotage/_chef.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from typing import TypeVar

from src.pypotage._ingredient import _IngredientProxy
from ._ingredient import _IngredientProxy


_B = TypeVar("_B")
Expand Down
8 changes: 4 additions & 4 deletions src/pypotage/_pot.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
from functools import cache
from math import inf

from src.pypotage.chefs.listChef import ListChef
from src.pypotage._ingredient import (
from .chefs.listChef import ListChef
from ._ingredient import (
_Ingredient,
_IngredientProxy,
_IngredientData
)
from src.pypotage.utils import traverse_subclasses
from src.pypotage._chef import Chef
from .utils import traverse_subclasses
from ._chef import Chef


_B = TypeVar("_B")
Expand Down
3 changes: 3 additions & 0 deletions src/pypotage/chefs/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from . import ( # noqa: F401
listChef
)
4 changes: 2 additions & 2 deletions src/pypotage/chefs/listChef.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from src.pypotage._chef import Chef
from src.pypotage._ingredient import _IngredientProxy, _B, _Ingredient
from .._chef import Chef
from .._ingredient import _IngredientProxy, _B, _Ingredient


class _ListIngredientProxy(_IngredientProxy):
Expand Down

0 comments on commit dc424f9

Please sign in to comment.