This repository was archived by the owner on Nov 3, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -17,11 +17,12 @@ Usage
17
17
--count print total number of errors to stdout
18
18
--select=<codes> choose the basic list of checked errors by specifying
19
19
which errors to check for (with a list of comma-
20
- separated error codes). for example:
21
- --select=D101,D202
20
+ separated error codes or prefixes ). for example:
21
+ --select=D101,D2
22
22
--ignore=<codes> choose the basic list of checked errors by specifying
23
23
which errors to ignore (with a list of comma-separated
24
- error codes). for example: --ignore=D101,D202
24
+ error codes or prefixes). for example:
25
+ --ignore=D101,D2
25
26
--convention=<name> choose the basic list of checked errors by specifying
26
27
an existing convention. Possible conventions: pep257
27
28
--add-select=<codes> amend the list of errors to check for by specifying
Original file line number Diff line number Diff line change @@ -514,13 +514,13 @@ def _create_option_parser(cls):
514
514
option ('--select' , metavar = '<codes>' , default = None ,
515
515
help = 'choose the basic list of checked errors by '
516
516
'specifying which errors to check for (with a list of '
517
- 'comma-separated error codes). '
518
- 'for example: --select=D101,D202 ' )
517
+ 'comma-separated error codes or prefixes ). '
518
+ 'for example: --select=D101,D2 ' )
519
519
option ('--ignore' , metavar = '<codes>' , default = None ,
520
520
help = 'choose the basic list of checked errors by '
521
521
'specifying which errors to ignore (with a list of '
522
- 'comma-separated error codes). '
523
- 'for example: --ignore=D101,D202 ' )
522
+ 'comma-separated error codes or prefixes ). '
523
+ 'for example: --ignore=D101,D2 ' )
524
524
option ('--convention' , metavar = '<name>' , default = None ,
525
525
help = 'choose the basic list of checked errors by specifying an '
526
526
'existing convention. Possible conventions: {}'
You can’t perform that action at this time.
0 commit comments