Skip to content

flet create should use src directory layout and a create a tests folder #4996

@asmaier

Description

@asmaier

Duplicate Check

Describe the requested feature

At the moment flet create doesn't create a standard directory layout. It would be nice if it would follow the
standard src-directory layout as described at

So I suggest a dir layout like

❯ tree flet-app
flet-app
├── README.md
├── pyproject.toml
├── src
│   └── flet_app
│       ├── __init__.py
│       ├── assets
│       │   └── icon.png
│       └── main.py
├── storage
│   ├── data
│   └── temp
└── tests
    ├── __init__.py
    └── test_main.py

The tests folder would also be a great reminder, that tests for flet are already on the roadmap, see https://flet.dev/roadmap/#testing ;-)

Suggest a solution

No response

Screenshots

No response

Additional details

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions