Skip to content

Commit

Permalink
Revert "Looks like the circular dependency has been fixed." ...
Browse files Browse the repository at this point in the history
while it works with the tests, a real application still triggered it.

This reverts commit 150dc37.
  • Loading branch information
hiker committed Jul 24, 2024
1 parent 150dc37 commit db34597
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions source/fab/tools/psyclone.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,17 @@
"""

from pathlib import Path
from typing import Callable, List, Optional, Union
from typing import Callable, List, Optional, TYPE_CHECKING, Union

from fab.build_config import BuildConfig
from fab.tools.category import Category
from fab.tools.tool import Tool

if TYPE_CHECKING:
# TODO 314: see if this circular dependency can be broken
# Otherwise we have a circular dependency:
# BuildConfig needs ToolBox which imports __init__ which imports this
from fab.build_config import BuildConfig


class Psyclone(Tool):
'''This is the base class for `PSyclone`.
Expand Down

0 comments on commit db34597

Please sign in to comment.