Mkcommit

Latest version: v1.3.2

Safety actively analyzes 681812 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

1.3.1

This release contains a minor validation fix for the multi-keyword `semantic` and `technica` suites. Empty keyword list is now disallowed.

1.3.0

This release contains an implementation of Conventional Commits Suite kindly contributed by serverwentdown. We've decided to make this the new default recommended suite for `mkcommit`, since it more closely adheres to the Conventional Commit guidelines than the pre-existing `semantic` suite. The documentation has been updated accordingly.

Pre-existing suites now also define a `default()` function which generates a tuple of the first line and the body of the commit message. Hence a new concise pattern can be used when creating a `CommitMessage` instance:

python
from mkcommit.suites import conventional

def commit():
return CommitMessage(*conventional.default())


Also, the implementations of `default_long`, which are called from `default`, will trigger the default system editor for the developer to provide a longer message when necessary.

1.2.1

This release fixes a minor issue with `semantic.default_long` function, where the spacing between the first line and the body of the commit message would be doubled.

1.2.0

In this release we've fixed a problem that didn't allow explicit CA certificates when using `include`. Now `include` accepts an optional `cert` argument which is supposed to be a path to `cacert.pem` containing a valid certificate chain for the Git server.

Also, the `default_long` from `semantic` suite conditionally triggers the default editor. This accounts for better UX with optional long commit messages.

1.1.0

In this release we've added the ability to `include` existing `*.mkcommit.py` files. The `include` function will return `commit` function and (if it exists) the `on_commit` function from a file referenced by URL. Local caching is implemented to make it easier to work without access to network - a file once referenced will be stored locally in `.mkcommit-cache` folder and loaded always from the local copy first. If you wish to download a fresh copy, just clear your `.mkcommit-cache`.

1.0.3

In this release we've introduced a minor change to the `semantic` suite, where the `Merge branch X into Y` pattern is now allowed by the validator. This behavior can be turned off by passing `allow_default_merge_msg=False` to the `is_semantic` validator.

We've also updated the logo to something nicer 😄

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.