This is cookiecutter template for generation python package project with gitlab ci/cd included.
pip install cookiecutter
cookiecutter https://github.com/KochankovID/Gitlab-python-package-template.git
You need to set these variables in the repository settings.
GL_TOKEN
- personal access token for GitLab. Needed for making version bumping commits from ci/cd.REPOSITORY_USERNAME
- Name of the access token for package registry. Needed for package uploading from ci/cd.REPOSITORY_PASSWORD
- The access token for package registry. Needed for package uploading from ci/cd.
pip install cookiecutter
cookiecutter https://github.com/KochankovID/Gitlab-python-package-template.git
- Fill ci/cd variables
- ✨
- GitLab CI/CD
-
- Linters (pre-commit)
-
-
- Trailing-whitespace
-
-
-
- Pyupgrade
-
-
-
- Prettier
-
-
-
- Isort
-
-
-
- Black
-
-
-
- Flake 8
-
-
-
- Mypy
-
-
-
- Pylint
-
-
-
- Docstring formatter
-
-
-
- Autoflake
-
-
-
- Poetry check
-
-
- Tests
-
- Release (tag version bumping)
-
- Documentation (TODO)
- Pre-commit hooks
- Readme
- Contributing
- License