commitfmt-windows 0.2.0__py3-none-any.whl → 0.4.0__py3-none-any.whl

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_windows
3
- Version: 0.2.0
3
+ Version: 0.4.0
4
4
  Summary: Utility for formatting and verifying the commit message.
5
5
  Author-email: Mikhael Khrustik <misha@myrt.co>
6
6
  License: MIT
@@ -170,15 +170,12 @@ It is an opinionated formatter and the author has established best practices tha
170
170
 
171
171
  ### Linting
172
172
 
173
- Most of the linting rules are disabled by default. Default config contains 3 rules as they can be safely auto-fixed:
173
+ Most of the linting rules are disabled by default. Default config contains 2 rules as they can be safely auto-fixed:
174
174
 
175
175
  ```toml
176
176
  [lint.header]
177
177
  full-stop = true
178
178
 
179
- [lint.body]
180
- new-line = true
181
-
182
179
  [lint.footer]
183
180
  breaking-exclamation = true
184
181
  ```
@@ -208,6 +205,30 @@ extends = "node_modules/commitfmt-config-standard/commitfmt.toml"
208
205
 
209
206
  Extension is only possible for the current configuration. If the current configuration extends another configuration, which in turn extends a third configuration, commitfmt will throw an error when trying to load such a configuration.
210
207
 
208
+ ### Parser Configuration
209
+
210
+ commitfmt can be configured to use custom footer separators and comment symbols for parsing commit messages.
211
+
212
+ #### Footer separators
213
+
214
+ By default, commitfmt uses git's `trailer.separators` configuration to determine which characters separate footer keys from values. You can override this in your config file:
215
+
216
+ ```toml
217
+ footer-separators = ":#"
218
+ ```
219
+
220
+ This allows footers like `Issue-ID: 123` or `Issue-ID #123` to be recognized.
221
+
222
+ #### Comment symbol
223
+
224
+ By default, commitfmt uses git's `core.commentChar` or `core.commentString` configuration to identify comment lines in commit messages. You can override this:
225
+
226
+ ```toml
227
+ comment-symbol = "//"
228
+ ```
229
+
230
+ Lines starting with the comment symbol will be ignored during parsing.
231
+
211
232
  ### Additional footers
212
233
 
213
234
  commitfmt can add additional footers to the commit message.
@@ -0,0 +1,5 @@
1
+ commitfmt_windows/__init__.py,sha256=N5cpNKEYYrVRlEGVenMAfJyE80zm2znA33zwxjuo0e0,25
2
+ commitfmt_windows-0.4.0.dist-info/METADATA,sha256=ujO4GHDRQsPD95aDnKqLEeA2TTAl3bAWFXlsTo1p4C4,8963
3
+ commitfmt_windows-0.4.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
4
+ commitfmt_windows-0.4.0.dist-info/top_level.txt,sha256=FeS959a1bDvuqrRrPrY_C7Xh131YuSCXvDDL2S1LYGI,18
5
+ commitfmt_windows-0.4.0.dist-info/RECORD,,
@@ -1,5 +0,0 @@
1
- commitfmt_windows/__init__.py,sha256=N5cpNKEYYrVRlEGVenMAfJyE80zm2znA33zwxjuo0e0,25
2
- commitfmt_windows-0.2.0.dist-info/METADATA,sha256=QTbd79kH305kRJMoCtFCpkqsklZYSLOBNh0fDm1LBOQ,8251
3
- commitfmt_windows-0.2.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
4
- commitfmt_windows-0.2.0.dist-info/top_level.txt,sha256=FeS959a1bDvuqrRrPrY_C7Xh131YuSCXvDDL2S1LYGI,18
5
- commitfmt_windows-0.2.0.dist-info/RECORD,,