Skip to content
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

Create a heuristic to find project directory structure #403

Closed
nathanjmcdougall opened this issue Mar 20, 2025 · 1 comment
Closed

Create a heuristic to find project directory structure #403

nathanjmcdougall opened this issue Mar 20, 2025 · 1 comment
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@nathanjmcdougall
Copy link
Owner

nathanjmcdougall commented Mar 20, 2025

Motivation
Toward #386 and related to #316. We need a way to infer project directory structure.

Summary of desired enhancement
We need to document the approach as much as implement it. But ideal is just a function with no args using the cwd to determine the layout, returning a Literal["flat", "src"] or possibly also "unknown" as an option for fallback behaviour.

@nathanjmcdougall nathanjmcdougall added the enhancement New feature or request label Mar 20, 2025
@nathanjmcdougall nathanjmcdougall added this to the v0.6.0 milestone Mar 20, 2025
@nathanjmcdougall nathanjmcdougall self-assigned this Mar 20, 2025
@nathanjmcdougall
Copy link
Owner Author

This actually already exists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant