commitfmt 1.0.3__tar.gz → 1.0.8__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: commitfmt
3
- Version: 1.0.3
3
+ Version: 1.0.8
4
4
  Summary: Utility for formatting and verifying the commit message.
5
5
  Author-email: Mikhael Khrustik <misha@myrt.co>
6
6
  License: MIT
@@ -13,13 +13,14 @@ Classifier: Programming Language :: Python :: 3.10
13
13
  Classifier: Programming Language :: Python :: 3.11
14
14
  Classifier: Programming Language :: Python :: 3.12
15
15
  Classifier: Programming Language :: Python :: 3.13
16
+ Classifier: Programming Language :: Python :: 3.14
16
17
  Requires-Python: >=3.9
17
18
  Description-Content-Type: text/markdown
18
- Requires-Dist: commitfmt_windows==0.1.5; sys_platform == "win32"
19
- Requires-Dist: commitfmt_openbsd==0.1.5; sys_platform == "openbsd"
20
- Requires-Dist: commitfmt_freebsd==0.1.5; sys_platform == "freebsd"
21
- Requires-Dist: commitfmt_darwin==0.1.5; sys_platform == "darwin"
22
- Requires-Dist: commitfmt_linux==0.1.5; sys_platform == "linux"
19
+ Requires-Dist: commitfmt-windows==0.1.5; sys_platform == "win32"
20
+ Requires-Dist: commitfmt-openbsd==0.1.5; sys_platform == "openbsd"
21
+ Requires-Dist: commitfmt-freebsd==0.1.5; sys_platform == "freebsd"
22
+ Requires-Dist: commitfmt-darwin==0.1.5; sys_platform == "darwin"
23
+ Requires-Dist: commitfmt-linux==0.1.5; sys_platform == "linux"
23
24
 
24
25
  <p align="center">
25
26
  <img width="350" src="./docs/assets/logo.svg" alt="commitfmt logo" />
@@ -328,7 +329,7 @@ To enforce conventional commits, you can use the following configuration:
328
329
 
329
330
  ```toml
330
331
  [lint.header]
331
- type-enum = ["chore", "ci", "feat", "fix", "refactor", "style", "test", "docs"]
332
+ type-enum = ["chore", "ci", "feat", "fix", "refactor", "style", "test", "docs", "revert"]
332
333
  description-case = "lower-first"
333
334
  description-max-length = 72
334
335
  description-full-stop = true
@@ -362,3 +363,9 @@ commitfmt --from HEAD~20
362
363
  # or
363
364
  commitfmt --from 1234567890 --to 1234567890
364
365
  ```
366
+
367
+ ## Ignoring commits
368
+
369
+ commitfmt ignores commit messages that start with `Merge` or `Revert` to avoid breaking standard git processes.
370
+
371
+ 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
3
+ Version: 1.0.8
4
4
  Summary: Utility for formatting and verifying the commit message.
5
5
  Author-email: Mikhael Khrustik <misha@myrt.co>
6
6
  License: MIT
@@ -13,13 +13,14 @@ Classifier: Programming Language :: Python :: 3.10
13
13
  Classifier: Programming Language :: Python :: 3.11
14
14
  Classifier: Programming Language :: Python :: 3.12
15
15
  Classifier: Programming Language :: Python :: 3.13
16
+ Classifier: Programming Language :: Python :: 3.14
16
17
  Requires-Python: >=3.9
17
18
  Description-Content-Type: text/markdown
18
- Requires-Dist: commitfmt_windows==0.1.5; sys_platform == "win32"
19
- Requires-Dist: commitfmt_openbsd==0.1.5; sys_platform == "openbsd"
20
- Requires-Dist: commitfmt_freebsd==0.1.5; sys_platform == "freebsd"
21
- Requires-Dist: commitfmt_darwin==0.1.5; sys_platform == "darwin"
22
- Requires-Dist: commitfmt_linux==0.1.5; sys_platform == "linux"
19
+ Requires-Dist: commitfmt-windows==0.1.5; sys_platform == "win32"
20
+ Requires-Dist: commitfmt-openbsd==0.1.5; sys_platform == "openbsd"
21
+ Requires-Dist: commitfmt-freebsd==0.1.5; sys_platform == "freebsd"
22
+ Requires-Dist: commitfmt-darwin==0.1.5; sys_platform == "darwin"
23
+ Requires-Dist: commitfmt-linux==0.1.5; sys_platform == "linux"
23
24
 
24
25
  <p align="center">
25
26
  <img width="350" src="./docs/assets/logo.svg" alt="commitfmt logo" />
@@ -328,7 +329,7 @@ To enforce conventional commits, you can use the following configuration:
328
329
 
329
330
  ```toml
330
331
  [lint.header]
331
- type-enum = ["chore", "ci", "feat", "fix", "refactor", "style", "test", "docs"]
332
+ type-enum = ["chore", "ci", "feat", "fix", "refactor", "style", "test", "docs", "revert"]
332
333
  description-case = "lower-first"
333
334
  description-max-length = 72
334
335
  description-full-stop = true
@@ -362,3 +363,9 @@ commitfmt --from HEAD~20
362
363
  # or
363
364
  commitfmt --from 1234567890 --to 1234567890
364
365
  ```
366
+
367
+ ## Ignoring commits
368
+
369
+ commitfmt ignores commit messages that start with `Merge` or `Revert` to avoid breaking standard git processes.
370
+
371
+ This happens both when formatting a single commit and when linting a history.
@@ -1,15 +1,15 @@
1
1
 
2
2
  [:sys_platform == "darwin"]
3
- commitfmt_darwin==0.1.5
3
+ commitfmt-darwin==0.1.5
4
4
 
5
5
  [:sys_platform == "freebsd"]
6
- commitfmt_freebsd==0.1.5
6
+ commitfmt-freebsd==0.1.5
7
7
 
8
8
  [:sys_platform == "linux"]
9
- commitfmt_linux==0.1.5
9
+ commitfmt-linux==0.1.5
10
10
 
11
11
  [:sys_platform == "openbsd"]
12
- commitfmt_openbsd==0.1.5
12
+ commitfmt-openbsd==0.1.5
13
13
 
14
14
  [:sys_platform == "win32"]
15
- commitfmt_windows==0.1.5
15
+ commitfmt-windows==0.1.5
@@ -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.3"
7
+ version = "1.0.8"
8
8
  readme = "README.md"
9
9
  requires-python = ">=3.9"
10
10
  keywords = ["git", "hook"]
@@ -18,12 +18,13 @@ classifiers = [
18
18
  "Programming Language :: Python :: 3.11",
19
19
  "Programming Language :: Python :: 3.12",
20
20
  "Programming Language :: Python :: 3.13",
21
+ "Programming Language :: Python :: 3.14",
21
22
  ]
22
23
  dependencies = [
23
- "commitfmt_windows==0.1.5; sys_platform == 'win32'",
24
- "commitfmt_openbsd==0.1.5; sys_platform == 'openbsd'",
25
- "commitfmt_freebsd==0.1.5; sys_platform == 'freebsd'",
26
- "commitfmt_darwin==0.1.5; sys_platform == 'darwin'",
27
- "commitfmt_linux==0.1.5; sys_platform == 'linux'",
24
+ "commitfmt-windows==0.1.5; sys_platform == 'win32'",
25
+ "commitfmt-openbsd==0.1.5; sys_platform == 'openbsd'",
26
+ "commitfmt-freebsd==0.1.5; sys_platform == 'freebsd'",
27
+ "commitfmt-darwin==0.1.5; sys_platform == 'darwin'",
28
+ "commitfmt-linux==0.1.5; sys_platform == 'linux'",
28
29
  ]
29
30
  scripts = { "commitfmt"="commitfmt.__main__:main" }
File without changes