Repository for boilerplate workflows and CI for python projects.
.bandit.yaml
.pre-commit-config.yaml
.github
└── workflowsPlease, see CONTRIBUTING.md for more details on:
- using pre-commit;
- following the git flow and making good pull requests.
You can create new projects starting from this repository, so you can use a consistent CI and checks for different projects. To enable the virtual environment, use this command:
poetry installTo use the virtual environment, use this command:
poetry shellTo add a dependency, use this command:
poetry add <package>When install or add dependencies, file poetry.lock is created. This file is used to track all dependencies used
in the project, so is a good practice commit it in the repository.
Besides all the explanations in the CONTRIBUTING.md file, you can use the docker-compose file (e.g. if you prefer to use docker instead of installing the tools locally)
docker-compose run pre-commit