Conditions | 1 |
Total Lines | 25 |
Lines | 0 |
Ratio | 0 % |
Tests | 4 |
CRAP Score | 1 |
Changes | 6 | ||
Bugs | 0 | Features | 0 |
1 | 3 | import contextlib |
|
36 | 3 | @click.option( |
|
37 | '--dry-run', |
||
38 | help='Prints (instead of executing) the operations to be performed.', |
||
39 | is_flag=True, |
||
40 | default=False, |
||
41 | ) |
||
42 | 3 | @click.option( |
|
43 | '--verbose', |
||
44 | help='Enables verbose output.', |
||
45 | is_flag=True, |
||
46 | default=False, |
||
47 | ) |
||
48 | 3 | @click.version_option( |
|
49 | __version__, |
||
50 | '-V', |
||
51 | '--version', |
||
52 | message=VERSION |
||
53 | ) |
||
54 | 3 | @click.group( |
|
55 | context_settings=dict( |
||
56 | help_option_names=[u'-h', u'--help'] |
||
57 | ), |
||
58 | ) |
||
59 | def main(dry_run, verbose): |
||
60 | """Ch-ch-changes""" |
||
61 | |||
85 | main.add_command(status) |
This can be caused by one of the following:
1. Missing Dependencies
This error could indicate a configuration issue of Pylint. Make sure that your libraries are available by adding the necessary commands.
2. Missing __init__.py files
This error could also result from missing
__init__.py
files in your module folders. Make sure that you place one file in each sub-folder.