Structure your repo like this:
my_project/
│
├── src/
│ ├── __init__.py
│ ├── module1.py
│ ├── module2.py
│ └── ...
│
├── notebooks/
│ ├── notebook1.ipynb
│ ├── notebook2.ipynb
│ └── ...
│
├── tests/
│ ├── test_module1.py
│ ├── test_module2.py
│ └── ...
│
├── setup.py
├── README.md
└── .gitignore
Run dev container with docker-compose up dev --build
If you're using pytest you can run them from the project root directory (my_project/) with pytest tests
Happy coding ;)