Replies: 4 comments 4 replies
-
|
I like this idea and wondered the same. I think it's worth opening a feature suggestion issue. |
Beta Was this translation helpful? Give feedback.
-
|
This is now the default #571 |
Beta Was this translation helpful? Give feedback.
-
|
Hey @ofek although src layout is a default now, what are your thought about introducing the cli and/or env variable nevertheless? I completely agree with @ubaldot that it's cumbersome to make a config file for something that is essentially a switch. |
Beta Was this translation helpful? Give feedback.
-
|
heya @ofek i'm curious is there a setting to create a src/ dir as i just used many thanks! |
Beta Was this translation helpful? Give feedback.


Uh oh!
There was an error while loading. Please reload this page.
-
Given that this appear to be fairly common, why not add the possibility of adding a flag to create a folder structure with the
srcstructure?I know that one could write a hatch
configfile prior to run hatch new, but it may be tedious.To me the best would be just to run
hatch new --src-layout "Hatch Demo"and then to edit stuff directly in the generated
pyproject.tomlfile.What do you think?
Beta Was this translation helpful? Give feedback.
All reactions