Skip to main content

GitLab Merge Request 4-Eyes Approval Audit Tool

Project description

gitlab-mr-check

Version Python License uv Ruff ty Pylint complexipy pyscn pytest tox pre-commit Conventional Commits Changelog Build Coverage pyscn quality

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.4.0.tar.gz (13.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gitlab_mr_check-1.4.0-py3-none-any.whl (14.2 kB view details)

Uploaded Python 3

File details

Details for the file gitlab_mr_check-1.4.0.tar.gz.

File metadata

  • Download URL: gitlab_mr_check-1.4.0.tar.gz
  • Upload date:
  • Size: 13.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","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

Hashes for gitlab_mr_check-1.4.0.tar.gz
Algorithm Hash digest
SHA256 ac8981d09976c91f4fd9378a52a25679a480ae0f8b37d02b7784bd6a3d909183
MD5 421c9a4b94698884b74d4d495163dc52
BLAKE2b-256 31857942e23f3ea92fd0c20005d6c5101f79d8b4ec09c2c6b4fd37d77f7f74ee

See more details on using hashes here.

File details

Details for the file gitlab_mr_check-1.4.0-py3-none-any.whl.

File metadata

  • Download URL: gitlab_mr_check-1.4.0-py3-none-any.whl
  • Upload date:
  • Size: 14.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","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

Hashes for gitlab_mr_check-1.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4a8e168b8044fee13f6b67f83d693f4c3f29be6fa0ce3faefa2c508596871469
MD5 6561bb81cb6e2c37b6dbe62f63491e1c
BLAKE2b-256 24beb80372acc87bf89bfc0e6ba81057087bc4e454e07e6e2fbbf24dd26f1f4a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page