commitfmt 1.0.3__tar.gz → 1.0.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {commitfmt-1.0.3 → commitfmt-1.0.4}/PKG-INFO +8 -2
- {commitfmt-1.0.3 → commitfmt-1.0.4}/README.md +7 -1
- {commitfmt-1.0.3 → commitfmt-1.0.4}/commitfmt.egg-info/PKG-INFO +8 -2
- {commitfmt-1.0.3 → commitfmt-1.0.4}/pyproject.toml +1 -1
- {commitfmt-1.0.3 → commitfmt-1.0.4}/commitfmt/__init__.py +0 -0
- {commitfmt-1.0.3 → commitfmt-1.0.4}/commitfmt/__main__.py +0 -0
- {commitfmt-1.0.3 → commitfmt-1.0.4}/commitfmt/commitfmt.py +0 -0
- {commitfmt-1.0.3 → commitfmt-1.0.4}/commitfmt.egg-info/SOURCES.txt +0 -0
- {commitfmt-1.0.3 → commitfmt-1.0.4}/commitfmt.egg-info/dependency_links.txt +0 -0
- {commitfmt-1.0.3 → commitfmt-1.0.4}/commitfmt.egg-info/entry_points.txt +0 -0
- {commitfmt-1.0.3 → commitfmt-1.0.4}/commitfmt.egg-info/requires.txt +0 -0
- {commitfmt-1.0.3 → commitfmt-1.0.4}/commitfmt.egg-info/top_level.txt +0 -0
- {commitfmt-1.0.3 → commitfmt-1.0.4}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: commitfmt
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.4
|
|
4
4
|
Summary: Utility for formatting and verifying the commit message.
|
|
5
5
|
Author-email: Mikhael Khrustik <misha@myrt.co>
|
|
6
6
|
License: MIT
|
|
@@ -328,7 +328,7 @@ To enforce conventional commits, you can use the following configuration:
|
|
|
328
328
|
|
|
329
329
|
```toml
|
|
330
330
|
[lint.header]
|
|
331
|
-
type-enum = ["chore", "ci", "feat", "fix", "refactor", "style", "test", "docs"]
|
|
331
|
+
type-enum = ["chore", "ci", "feat", "fix", "refactor", "style", "test", "docs", "revert"]
|
|
332
332
|
description-case = "lower-first"
|
|
333
333
|
description-max-length = 72
|
|
334
334
|
description-full-stop = true
|
|
@@ -362,3 +362,9 @@ commitfmt --from HEAD~20
|
|
|
362
362
|
# or
|
|
363
363
|
commitfmt --from 1234567890 --to 1234567890
|
|
364
364
|
```
|
|
365
|
+
|
|
366
|
+
## Ignoring commits
|
|
367
|
+
|
|
368
|
+
commitfmt ignores commit messages that start with `Merge` or `Revert` to avoid breaking standard git processes.
|
|
369
|
+
|
|
370
|
+
This happens both when formatting a single commit and when linting a history.
|
|
@@ -305,7 +305,7 @@ To enforce conventional commits, you can use the following configuration:
|
|
|
305
305
|
|
|
306
306
|
```toml
|
|
307
307
|
[lint.header]
|
|
308
|
-
type-enum = ["chore", "ci", "feat", "fix", "refactor", "style", "test", "docs"]
|
|
308
|
+
type-enum = ["chore", "ci", "feat", "fix", "refactor", "style", "test", "docs", "revert"]
|
|
309
309
|
description-case = "lower-first"
|
|
310
310
|
description-max-length = 72
|
|
311
311
|
description-full-stop = true
|
|
@@ -339,3 +339,9 @@ commitfmt --from HEAD~20
|
|
|
339
339
|
# or
|
|
340
340
|
commitfmt --from 1234567890 --to 1234567890
|
|
341
341
|
```
|
|
342
|
+
|
|
343
|
+
## Ignoring commits
|
|
344
|
+
|
|
345
|
+
commitfmt ignores commit messages that start with `Merge` or `Revert` to avoid breaking standard git processes.
|
|
346
|
+
|
|
347
|
+
This happens both when formatting a single commit and when linting a history.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: commitfmt
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.4
|
|
4
4
|
Summary: Utility for formatting and verifying the commit message.
|
|
5
5
|
Author-email: Mikhael Khrustik <misha@myrt.co>
|
|
6
6
|
License: MIT
|
|
@@ -328,7 +328,7 @@ To enforce conventional commits, you can use the following configuration:
|
|
|
328
328
|
|
|
329
329
|
```toml
|
|
330
330
|
[lint.header]
|
|
331
|
-
type-enum = ["chore", "ci", "feat", "fix", "refactor", "style", "test", "docs"]
|
|
331
|
+
type-enum = ["chore", "ci", "feat", "fix", "refactor", "style", "test", "docs", "revert"]
|
|
332
332
|
description-case = "lower-first"
|
|
333
333
|
description-max-length = 72
|
|
334
334
|
description-full-stop = true
|
|
@@ -362,3 +362,9 @@ commitfmt --from HEAD~20
|
|
|
362
362
|
# or
|
|
363
363
|
commitfmt --from 1234567890 --to 1234567890
|
|
364
364
|
```
|
|
365
|
+
|
|
366
|
+
## Ignoring commits
|
|
367
|
+
|
|
368
|
+
commitfmt ignores commit messages that start with `Merge` or `Revert` to avoid breaking standard git processes.
|
|
369
|
+
|
|
370
|
+
This happens both when formatting a single commit and when linting a history.
|
|
@@ -4,7 +4,7 @@ authors = [
|
|
|
4
4
|
{name = "Mikhael Khrustik", email = "misha@myrt.co"},
|
|
5
5
|
]
|
|
6
6
|
description = "Utility for formatting and verifying the commit message."
|
|
7
|
-
version = "1.0.
|
|
7
|
+
version = "1.0.4"
|
|
8
8
|
readme = "README.md"
|
|
9
9
|
requires-python = ">=3.9"
|
|
10
10
|
keywords = ["git", "hook"]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|