-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Develop a system for zero-config project management #1
Comments
One challenge I've identified is installing from GitHub source or other source directory. If a project doesn't have a pyproject.toml, pip has no idea about how to build it:
We could require each project to have the minimal pyproject.toml, but that becomes a shared artifact that needs to be managed across projects. Is there another way that a tool like pip or uv could infer those settings? Or get them from environment variables? |
Another issue these projects will face - how to manage development environment defaults, such as setting the recommended defaults for ruff? Perhaps the system should follow the same principle as skeleton did for Or maybe there should be a parent repo that contains the relevant projects and that repo should contain the ruff defaults. Something like:
Where |
Ugh. It appears as if ruff only allows for discovering settings from one file. That file can explicitly include other files, but there's no support for composition (like git's global/user/local hierarchy). I think what this means is that anything that runs linting (including an editor that's autosaving, a pre-commit hook, a check at test time, or a manually-invoked formatting/lint operation) will have to be aware of the common config in order to honor it. |
(moved to coherent-oss/coherent.test#1) |
Thusfar, the builder is working for all of the coherent projects (coherent.build, coherent.test, and coherent.cli at the time of this writing). It's also working for tempora in the experimental branch. Therefore, I'm declaring "prove the builder" done. |
The text was updated successfully, but these errors were encountered: