@@ -28,11 +28,12 @@ page:
28
28
- [ 15. ` --should-document-private-class-attributes ` (shortform: ` -sdpca ` , default: ` False ` )] ( #15---should-document-private-class-attributes-shortform--sdpca-default-false )
29
29
- [ 16. ` --treat-property-methods-as-class-attributes ` (shortform: ` -tpmaca ` , default: ` False ` )] ( #16---treat-property-methods-as-class-attributes-shortform--tpmaca-default-false )
30
30
- [ 17. ` --only-attrs-with-ClassVar-are-treated-as-class-attrs ` (shortform: ` -oawcv ` , default: `False)] ( #17---only-attrs-with-classvar-are-treated-as-class-attrs-shortform--oawcv-default-false )
31
- - [ 18. ` --baseline ` ] ( #18---baseline )
32
- - [ 19. ` --generate-baseline ` (default: ` False ` )] ( #19---generate-baseline-default-false )
33
- - [ 20. ` --auto-regenerate-baseline ` (shortform: ` -arb ` , default: ` True ` )] ( #20---auto-regenerate-baseline-shortform--arb-default-true )
34
- - [ 21. ` --show-filenames-in-every-violation-message ` (shortform: ` -sfn ` , default: ` False ` )] ( #21---show-filenames-in-every-violation-message-shortform--sfn-default-false )
35
- - [ 22. ` --config ` (default: ` pyproject.toml ` )] ( #22---config-default-pyprojecttoml )
31
+ - [ 18. ` --should-document-star-arguments ` (shortform: ` -sdsa ` , default: ` True ` )] ( #18---should-document-star-arguments-shortform--sdsa-default-true )
32
+ - [ 19. ` --baseline ` ] ( #19---baseline )
33
+ - [ 20. ` --generate-baseline ` (default: ` False ` )] ( #20---generate-baseline-default-false )
34
+ - [ 21. ` --auto-regenerate-baseline ` (shortform: ` -arb ` , default: ` True ` )] ( #21---auto-regenerate-baseline-shortform--arb-default-true )
35
+ - [ 22. ` --show-filenames-in-every-violation-message ` (shortform: ` -sfn ` , default: ` False ` )] ( #22---show-filenames-in-every-violation-message-shortform--sfn-default-false )
36
+ - [ 23. ` --config ` (default: ` pyproject.toml ` )] ( #23---config-default-pyprojecttoml )
36
37
37
38
<!-- TOC-->
38
39
@@ -210,7 +211,13 @@ If True, only the attributes whose type annotations are wrapped within
210
211
` ClassVar ` (where ` ClassVar ` is imported from ` typing ` ) are treated as class
211
212
attributes, and all other attributes are treated as instance attributes.
212
213
213
- ## 18. ` --baseline `
214
+ ## 18. ` --should-document-star-arguments ` (shortform: ` -sdsa ` , default: ` True ` )
215
+
216
+ If True, "star arguments" (such as ` *args ` , ` **kwargs ` , ` **props ` , etc.)
217
+ in the function signature should be documented in the docstring. If False,
218
+ they should not appear in the docstring.
219
+
220
+ ## 19. ` --baseline `
214
221
215
222
Baseline allows you to remember the current project state and then show only
216
223
new violations, ignoring old ones. This can be very useful when you'd like to
@@ -232,20 +239,20 @@ If `--generate-baseline` is not passed to _pydoclint_ (the default
232
239
is ` False ` ), _ pydoclint_ will read your baseline file, and ignore all
233
240
violations specified in that file.
234
241
235
- ## 19 . ` --generate-baseline ` (default: ` False ` )
242
+ ## 20 . ` --generate-baseline ` (default: ` False ` )
236
243
237
244
Required to use with ` --baseline ` option. If ` True ` , generate the baseline file
238
245
that contains all current violations.
239
246
240
- ## 20 . ` --auto-regenerate-baseline ` (shortform: ` -arb ` , default: ` True ` )
247
+ ## 21 . ` --auto-regenerate-baseline ` (shortform: ` -arb ` , default: ` True ` )
241
248
242
249
If it's set to True, _ pydoclint_ will automatically regenerate the baseline
243
250
file every time you fix violations in the baseline and rerun _ pydoclint_ .
244
251
245
252
This saves you from having to manually regenerate the baseline file by setting
246
253
` --generate-baseline=True ` and run _ pydoclint_ .
247
254
248
- ## 21 . ` --show-filenames-in-every-violation-message ` (shortform: ` -sfn ` , default: ` False ` )
255
+ ## 22 . ` --show-filenames-in-every-violation-message ` (shortform: ` -sfn ` , default: ` False ` )
249
256
250
257
If False, in the terminal the violation messages are grouped by file names:
251
258
@@ -279,7 +286,7 @@ This can be convenient if you would like to click on each violation message and
279
286
go to the corresponding line in your IDE. (Note: not all terminal app offers
280
287
this functionality.)
281
288
282
- ## 22 . ` --config ` (default: ` pyproject.toml ` )
289
+ ## 23 . ` --config ` (default: ` pyproject.toml ` )
283
290
284
291
The full path of the .toml config file that contains the config options. Note
285
292
that the command line options take precedence over the .toml file. Look at this
0 commit comments