Skip to content

Latest commit

 

History

History
58 lines (40 loc) · 1.03 KB

README.md

File metadata and controls

58 lines (40 loc) · 1.03 KB

python-template-based-on-docker

FYI: Dockerコンテナ上で動くPythonの開発環境のテンプレートを作ってみた

Prerequisites

  • Tool to run Docker like Docker Desktop

Apply template to your project

git clone https://github.com/tamtam-fitness/python-template-based-on-docker.git <new-project>

cd <new-project>

rm -rf .git

Run Container

To start development, you are supposed to run the following command:

make setup   

Development Commands

Enter into container

make enter_container

Lint

make lint

Format

make format

Test

If you want to run all tests, you can run the following command:

make test

If you want to run the specific test, you can run the following command:

make enter_container

poetry shell

poe test tests/{file or directory you want to test}