Closed xmnlab closed 10 months ago
It seems to be in src layout, how should we address this issue?
As you can see, there is no src
folder. So, this is a flat layout, where typically source files are in a folder called with the same name of the package in the root of the project.
To convert that to src layout, basically:
src
folder in the root of the projectcontainers_sugar
to src
Verify in the code any place that is using the path containers_sugar/
and replace by the new path
Some references:
Let me know if you need more details ou explanations please
I did the changes in this file: But I am not able to pass the precommit stage.
Checking with the examples it seems to have a similar configuration What can be the problem?
The git commit command is running the pre commit under the hood. The pre-commit command runs a bunch of tools. But you are using the base
conda environment, and you probably don't have that tools installed there.
First activate your conda environment for sugar. That should do the trick.
@joel5vega , we just merged a PR for the same purpose for makim here: https://github.com/osl-incubator/makim/pull/63/files you can use that as a reference
I have updated this in commit 1580480 from my fork. i think it will be visible in my next PR
ref: https://osl-incubator.github.io/scicookie/guide.html#project-layout