Replies: 5 comments 3 replies
-
Hi @MrSmiler, I thought about this a while ago for included task files but IIRC I was put off by the idea of adding another dependency. Thinking about it again now having a dependency on pyyaml with lazy importing doesn't seem like too big a deal. So yea, why not? I've also been thinking it would be nice to support having root task files other than pyproject.toml, so maybe just working with something like |
Beta Was this translation helpful? Give feedback.
-
That's great to hear. |
Beta Was this translation helpful? Give feedback.
-
The way I see it there are two distinct features here.
I don't think either feature really requires changing the structure of the config. |
Beta Was this translation helpful? Give feedback.
-
Oh ok, it look easy. |
Beta Was this translation helpful? Give feedback.
-
@MrSmiler As of v0.29.0 you can now declare tasks in a |
Beta Was this translation helpful? Give feedback.
-
What do you think about adding yaml support beside toml, what would be the problems ?
One problem i can think is that we can't embed the yaml to pyproject.toml file, so have to include it.
With yaml we can write better nested and complex structures and most ci/cd platforms and even other task runners use this syntax.
This is an example how poe would be in yaml:
Beta Was this translation helpful? Give feedback.
All reactions