Comments (7)
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:
- Create a
src
folder in the root of the project - move
containers_sugar
tosrc
- Update pyproject.toml
Verify in the code any place that is using the path containers_sugar/
and replace by the new path
Some references:
from sugar.
It seems to be in src layout, how should we address this issue?
from sugar.
Let me know if you need more details ou explanations please
from sugar.
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?
from sugar.
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.
from sugar.
@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
from sugar.
I have updated this in commit 1580480 from my fork.
i think it will be visible in my next PR
from sugar.
Related Issues (20)
- unpause: Unpause services HOT 1
- SPEC: Rename spec `service-groups` to `groups` HOT 1
- SPEC: Add a new key in the root of the config file for services HOT 5
- Send signal to Kill build/start process when ctrl+C is pressed HOT 3
- EPIC: New features
- The action "down" shouldn´t pass `--volumes` as default HOT 1
- get the group information from an environment variable HOT 2
- Add an alias to the containers-sugar: kxgr HOT 1
- Create special commands support HOT 1
- AttributeError: type object 'KxgrLogs' has no attribute 'KXGR_INVALID_PARAMETER' HOT 1
- Add support for Deployment HOT 8
- fix the release workflow HOT 1
- add support for multiples env files
- Change the cli from argparse to typer HOT 4
- rename from sugar.py to core.py
- OSL Internship 2024-01 Ideas HOT 1
- Update README according new sugar specs
- render compose-path with jinja template replacing variable from env
- add support for docker swarm
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sugar.