GitLab Merge Request 4-Eyes Approval Audit Tool
Project description
gitlab-mr-check
GitLab Merge Request 4-Eyes Approval Audit Tool
Usage
Legacy: pip install gitlab_mr_check
Preferred: uv add gitlab_mr_check
Developing further
Development flow as Paleofuturistic Python
Prerequisite: uv
Setup
- Fork and clone this repository.
- Download dependencies:
uv sync --all-extras --dev - On first run of any workflow command, the bootstrap step will prompt to install pre-commit hooks.
Workflow
All commands are invoked via ./workflow.cmd <namespace>.<task>:
| Command | Description |
|---|---|
./workflow.cmd format |
Format code and sort imports |
./workflow.cmd lint |
Run all linters (ruff, pylint, ty, complexipy, commitizen) |
./workflow.cmd test |
Run all tests (pytest) |
./workflow.cmd build |
Run security checks and build the package |
./workflow.cmd release -i <type> |
Bump version, tag, push, build, publish, and upload SBOM |
./workflow.cmd quality |
Run code quality analysis (pyscn) |
./workflow.cmd secure |
Run security audit and generate SBOM |
./workflow.cmd document |
Build and view documentation (mkdocs) |
./workflow.cmd container.build |
Build the dependency cache container image |
./workflow.cmd container.act |
Run the CI workflow locally using act |
./workflow.cmd develop.pre-commit |
Run all pre-commit hooks on the codebase |
./workflow.cmd bootstrap --force |
Re-run the development environment setup |
Development cycle
- Add dependencies:
uv add some_lib_you_need - Develop (optional, tinker:
uvx --with-editable . ptpython) - Format:
./workflow.cmd format - Lint:
./workflow.cmd lint - Test:
./workflow.cmd test - Build:
./workflow.cmd build - Review docs:
./workflow.cmd document - Make a pull request.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
gitlab_mr_check-1.6.0.tar.gz
(14.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gitlab_mr_check-1.6.0.tar.gz.
File metadata
- Download URL: gitlab_mr_check-1.6.0.tar.gz
- Upload date:
- Size: 14.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
238ddde195ee140e80c4f1dc76343d40bf19dc30ccc99ada56d094a0f72a0f2c
|
|
| MD5 |
cbad10b5358a2496d1bd2b2bb129c2f9
|
|
| BLAKE2b-256 |
896814c1ea63f768f4b0113f862016283e8d32c76f75d562df246e17a18a7fe0
|
File details
Details for the file gitlab_mr_check-1.6.0-py3-none-any.whl.
File metadata
- Download URL: gitlab_mr_check-1.6.0-py3-none-any.whl
- Upload date:
- Size: 15.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ed3aba43ad239f97012f48c30b0b8d628cfb27f5d28fe02b64448f6f949ccd4a
|
|
| MD5 |
75fafad4d25b4f62cb8f43a3c6ea20cf
|
|
| BLAKE2b-256 |
0b0e3b0758c63865a5f10f97e6a7c5439f42435507334e9173417b49059cfe4e
|