Skip to content
This repository has been archived by the owner on Jan 14, 2024. It is now read-only.

Commit

Permalink
#54: Move standardlib classes from __init__ to core
Browse files Browse the repository at this point in the history
  • Loading branch information
blackandred committed Nov 23, 2020
1 parent ee9c7b5 commit b623f44
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/rkd/standardlib/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# list of tasks there is kept for compatibility, as previously "core" tasks were placed in __init__
from .core import InitTask, \
TasksListingTask, VersionTask, \
ShellCommandTask, LineInFileTask, \
CallableTask, CreateStructureTask, imports as core_imports

from .env import imports as env_imports
from .jinja import imports as jinja_imports
from .shell import imports as shell_imports


def imports() -> list:
return [] + core_imports() + jinja_imports() + shell_imports()

0 comments on commit b623f44

Please sign in to comment.