commitfmt 0.1.2rc2__tar.gz → 0.1.2rc3__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.
@@ -0,0 +1,89 @@
1
+ Metadata-Version: 2.4
2
+ Name: commitfmt
3
+ Version: 0.1.2rc3
4
+ Summary: Utility for formatting and verifying the commit message.
5
+ Author-email: Mikhael Khrustik <misha@myrt.co>
6
+ License: MIT
7
+ Keywords: git,hook
8
+ Classifier: License :: OSI Approved :: MIT License
9
+ Classifier: Development Status :: 5 - Production/Stable
10
+ Classifier: Intended Audience :: Developers
11
+ Classifier: Programming Language :: Python :: 3.9
12
+ Classifier: Programming Language :: Python :: 3.10
13
+ Classifier: Programming Language :: Python :: 3.11
14
+ Classifier: Programming Language :: Python :: 3.12
15
+ Classifier: Programming Language :: Python :: 3.13
16
+ Requires-Python: >=3.9
17
+ 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"
23
+
24
+ # commitfmt [![Quality Assurance](https://github.com/mishamyrt/commitfmt/actions/workflows/qa.yaml/badge.svg)](https://github.com/mishamyrt/commitfmt/actions/workflows/qa.yaml)
25
+
26
+ Utility for formatting and verifying the commit message.
27
+
28
+ It's not a linter. At least not a complete replacement for [commitlint](https://commitlint.js.org), because commitfmt can't prevent you from writing a body or force you to write a description in uppercase (I don't know why you might want to do that), but it will help keep the story high quality.
29
+
30
+ By design, commitfmt runs on the `prepare-commit-msg` hook and formats the message according to git standards and [conventional commits](https://www.conventionalcommits.org/en/v1.0.0/) in particular.
31
+
32
+ A message like this:
33
+
34
+ ```
35
+ feat ( scope , scope ) : add new feature.
36
+ body description
37
+ ```
38
+
39
+ Will be formatted to:
40
+
41
+ ```
42
+ feat(scope, scope): add new feature
43
+
44
+ body description
45
+ ```
46
+
47
+ Additionally, you can customize checks, such as limiting the list of available types and scopes. To do this, create a [configuration file](#configuration).
48
+
49
+ ## Installation
50
+
51
+ ### pnpm
52
+
53
+ ```bash
54
+ pnpm add --save-dev commitfmt
55
+ ```
56
+
57
+ ### npm
58
+
59
+ ```bash
60
+ npm install --save-dev commitfmt
61
+ ```
62
+
63
+ ### yarn
64
+
65
+ ```bash
66
+ yarn add --dev commitfmt
67
+ ```
68
+
69
+ ### pip
70
+
71
+ ```bash
72
+ pip install commitfmt
73
+ ```
74
+
75
+ ## Configuration
76
+
77
+ ### TOML
78
+
79
+ Create a `commitfmt.toml` or (`.commitfmt.toml`) file in the root of your project.
80
+
81
+ ```toml
82
+ [lint.body]
83
+ full-stop = false
84
+
85
+ [lint.header]
86
+ scope-case = "lower"
87
+ scope-enum = ["cc", "config", "git", "linter"]
88
+ type-enum = ["build", "chore", "ci", "docs", "feat", "fix", "perf", "refactor", "revert", "style", "test"]
89
+ ```
@@ -0,0 +1,66 @@
1
+ # commitfmt [![Quality Assurance](https://github.com/mishamyrt/commitfmt/actions/workflows/qa.yaml/badge.svg)](https://github.com/mishamyrt/commitfmt/actions/workflows/qa.yaml)
2
+
3
+ Utility for formatting and verifying the commit message.
4
+
5
+ It's not a linter. At least not a complete replacement for [commitlint](https://commitlint.js.org), because commitfmt can't prevent you from writing a body or force you to write a description in uppercase (I don't know why you might want to do that), but it will help keep the story high quality.
6
+
7
+ By design, commitfmt runs on the `prepare-commit-msg` hook and formats the message according to git standards and [conventional commits](https://www.conventionalcommits.org/en/v1.0.0/) in particular.
8
+
9
+ A message like this:
10
+
11
+ ```
12
+ feat ( scope , scope ) : add new feature.
13
+ body description
14
+ ```
15
+
16
+ Will be formatted to:
17
+
18
+ ```
19
+ feat(scope, scope): add new feature
20
+
21
+ body description
22
+ ```
23
+
24
+ Additionally, you can customize checks, such as limiting the list of available types and scopes. To do this, create a [configuration file](#configuration).
25
+
26
+ ## Installation
27
+
28
+ ### pnpm
29
+
30
+ ```bash
31
+ pnpm add --save-dev commitfmt
32
+ ```
33
+
34
+ ### npm
35
+
36
+ ```bash
37
+ npm install --save-dev commitfmt
38
+ ```
39
+
40
+ ### yarn
41
+
42
+ ```bash
43
+ yarn add --dev commitfmt
44
+ ```
45
+
46
+ ### pip
47
+
48
+ ```bash
49
+ pip install commitfmt
50
+ ```
51
+
52
+ ## Configuration
53
+
54
+ ### TOML
55
+
56
+ Create a `commitfmt.toml` or (`.commitfmt.toml`) file in the root of your project.
57
+
58
+ ```toml
59
+ [lint.body]
60
+ full-stop = false
61
+
62
+ [lint.header]
63
+ scope-case = "lower"
64
+ scope-enum = ["cc", "config", "git", "linter"]
65
+ type-enum = ["build", "chore", "ci", "docs", "feat", "fix", "perf", "refactor", "revert", "style", "test"]
66
+ ```
@@ -0,0 +1,89 @@
1
+ Metadata-Version: 2.4
2
+ Name: commitfmt
3
+ Version: 0.1.2rc3
4
+ Summary: Utility for formatting and verifying the commit message.
5
+ Author-email: Mikhael Khrustik <misha@myrt.co>
6
+ License: MIT
7
+ Keywords: git,hook
8
+ Classifier: License :: OSI Approved :: MIT License
9
+ Classifier: Development Status :: 5 - Production/Stable
10
+ Classifier: Intended Audience :: Developers
11
+ Classifier: Programming Language :: Python :: 3.9
12
+ Classifier: Programming Language :: Python :: 3.10
13
+ Classifier: Programming Language :: Python :: 3.11
14
+ Classifier: Programming Language :: Python :: 3.12
15
+ Classifier: Programming Language :: Python :: 3.13
16
+ Requires-Python: >=3.9
17
+ 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"
23
+
24
+ # commitfmt [![Quality Assurance](https://github.com/mishamyrt/commitfmt/actions/workflows/qa.yaml/badge.svg)](https://github.com/mishamyrt/commitfmt/actions/workflows/qa.yaml)
25
+
26
+ Utility for formatting and verifying the commit message.
27
+
28
+ It's not a linter. At least not a complete replacement for [commitlint](https://commitlint.js.org), because commitfmt can't prevent you from writing a body or force you to write a description in uppercase (I don't know why you might want to do that), but it will help keep the story high quality.
29
+
30
+ By design, commitfmt runs on the `prepare-commit-msg` hook and formats the message according to git standards and [conventional commits](https://www.conventionalcommits.org/en/v1.0.0/) in particular.
31
+
32
+ A message like this:
33
+
34
+ ```
35
+ feat ( scope , scope ) : add new feature.
36
+ body description
37
+ ```
38
+
39
+ Will be formatted to:
40
+
41
+ ```
42
+ feat(scope, scope): add new feature
43
+
44
+ body description
45
+ ```
46
+
47
+ Additionally, you can customize checks, such as limiting the list of available types and scopes. To do this, create a [configuration file](#configuration).
48
+
49
+ ## Installation
50
+
51
+ ### pnpm
52
+
53
+ ```bash
54
+ pnpm add --save-dev commitfmt
55
+ ```
56
+
57
+ ### npm
58
+
59
+ ```bash
60
+ npm install --save-dev commitfmt
61
+ ```
62
+
63
+ ### yarn
64
+
65
+ ```bash
66
+ yarn add --dev commitfmt
67
+ ```
68
+
69
+ ### pip
70
+
71
+ ```bash
72
+ pip install commitfmt
73
+ ```
74
+
75
+ ## Configuration
76
+
77
+ ### TOML
78
+
79
+ Create a `commitfmt.toml` or (`.commitfmt.toml`) file in the root of your project.
80
+
81
+ ```toml
82
+ [lint.body]
83
+ full-stop = false
84
+
85
+ [lint.header]
86
+ scope-case = "lower"
87
+ scope-enum = ["cc", "config", "git", "linter"]
88
+ type-enum = ["build", "chore", "ci", "docs", "feat", "fix", "perf", "refactor", "revert", "style", "test"]
89
+ ```
@@ -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 = "0.1.2-rc.2"
7
+ version = "0.1.2-rc.3"
8
8
  readme = "README.md"
9
9
  requires-python = ">=3.9"
10
10
  keywords = ["git", "hook"]
@@ -1,24 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: commitfmt
3
- Version: 0.1.2rc2
4
- Summary: Utility for formatting and verifying the commit message.
5
- Author-email: Mikhael Khrustik <misha@myrt.co>
6
- License: MIT
7
- Keywords: git,hook
8
- Classifier: License :: OSI Approved :: MIT License
9
- Classifier: Development Status :: 5 - Production/Stable
10
- Classifier: Intended Audience :: Developers
11
- Classifier: Programming Language :: Python :: 3.9
12
- Classifier: Programming Language :: Python :: 3.10
13
- Classifier: Programming Language :: Python :: 3.11
14
- Classifier: Programming Language :: Python :: 3.12
15
- Classifier: Programming Language :: Python :: 3.13
16
- Requires-Python: >=3.9
17
- 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"
23
-
24
- # commitfmt python wrapper
@@ -1 +0,0 @@
1
- # commitfmt python wrapper
@@ -1,24 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: commitfmt
3
- Version: 0.1.2rc2
4
- Summary: Utility for formatting and verifying the commit message.
5
- Author-email: Mikhael Khrustik <misha@myrt.co>
6
- License: MIT
7
- Keywords: git,hook
8
- Classifier: License :: OSI Approved :: MIT License
9
- Classifier: Development Status :: 5 - Production/Stable
10
- Classifier: Intended Audience :: Developers
11
- Classifier: Programming Language :: Python :: 3.9
12
- Classifier: Programming Language :: Python :: 3.10
13
- Classifier: Programming Language :: Python :: 3.11
14
- Classifier: Programming Language :: Python :: 3.12
15
- Classifier: Programming Language :: Python :: 3.13
16
- Requires-Python: >=3.9
17
- 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"
23
-
24
- # commitfmt python wrapper
File without changes