commitfmt-windows 0.2.0__tar.gz → 0.4.0__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_windows-0.2.0 → commitfmt_windows-0.4.0}/PKG-INFO +26 -5
- {commitfmt_windows-0.2.0 → commitfmt_windows-0.4.0}/README.md +25 -4
- {commitfmt_windows-0.2.0 → commitfmt_windows-0.4.0}/commitfmt_windows.egg-info/PKG-INFO +26 -5
- {commitfmt_windows-0.2.0 → commitfmt_windows-0.4.0}/pyproject.toml +1 -1
- {commitfmt_windows-0.2.0 → commitfmt_windows-0.4.0}/commitfmt_windows/__init__.py +0 -0
- {commitfmt_windows-0.2.0 → commitfmt_windows-0.4.0}/commitfmt_windows.egg-info/SOURCES.txt +0 -0
- {commitfmt_windows-0.2.0 → commitfmt_windows-0.4.0}/commitfmt_windows.egg-info/dependency_links.txt +0 -0
- {commitfmt_windows-0.2.0 → commitfmt_windows-0.4.0}/commitfmt_windows.egg-info/top_level.txt +0 -0
- {commitfmt_windows-0.2.0 → commitfmt_windows-0.4.0}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: commitfmt_windows
|
|
3
|
-
Version: 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
|
|
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.
|
|
@@ -151,15 +151,12 @@ It is an opinionated formatter and the author has established best practices tha
|
|
|
151
151
|
|
|
152
152
|
### Linting
|
|
153
153
|
|
|
154
|
-
Most of the linting rules are disabled by default. Default config contains
|
|
154
|
+
Most of the linting rules are disabled by default. Default config contains 2 rules as they can be safely auto-fixed:
|
|
155
155
|
|
|
156
156
|
```toml
|
|
157
157
|
[lint.header]
|
|
158
158
|
full-stop = true
|
|
159
159
|
|
|
160
|
-
[lint.body]
|
|
161
|
-
new-line = true
|
|
162
|
-
|
|
163
160
|
[lint.footer]
|
|
164
161
|
breaking-exclamation = true
|
|
165
162
|
```
|
|
@@ -189,6 +186,30 @@ extends = "node_modules/commitfmt-config-standard/commitfmt.toml"
|
|
|
189
186
|
|
|
190
187
|
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.
|
|
191
188
|
|
|
189
|
+
### Parser Configuration
|
|
190
|
+
|
|
191
|
+
commitfmt can be configured to use custom footer separators and comment symbols for parsing commit messages.
|
|
192
|
+
|
|
193
|
+
#### Footer separators
|
|
194
|
+
|
|
195
|
+
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:
|
|
196
|
+
|
|
197
|
+
```toml
|
|
198
|
+
footer-separators = ":#"
|
|
199
|
+
```
|
|
200
|
+
|
|
201
|
+
This allows footers like `Issue-ID: 123` or `Issue-ID #123` to be recognized.
|
|
202
|
+
|
|
203
|
+
#### Comment symbol
|
|
204
|
+
|
|
205
|
+
By default, commitfmt uses git's `core.commentChar` or `core.commentString` configuration to identify comment lines in commit messages. You can override this:
|
|
206
|
+
|
|
207
|
+
```toml
|
|
208
|
+
comment-symbol = "//"
|
|
209
|
+
```
|
|
210
|
+
|
|
211
|
+
Lines starting with the comment symbol will be ignored during parsing.
|
|
212
|
+
|
|
192
213
|
### Additional footers
|
|
193
214
|
|
|
194
215
|
commitfmt can add additional footers to the commit message.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: commitfmt_windows
|
|
3
|
-
Version: 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
|
|
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.
|
|
File without changes
|
|
File without changes
|
{commitfmt_windows-0.2.0 → commitfmt_windows-0.4.0}/commitfmt_windows.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
{commitfmt_windows-0.2.0 → commitfmt_windows-0.4.0}/commitfmt_windows.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|