coala Report - shriya999/flashbake GitHub Wiki

Initial findings

https://travis-ci.org/shriya999/flashbake/builds/253511238

https://clbin.com/R6BiF

Status:Red

File types

Which file extensions did you enable linting, and which bears were used?

Ext. Bears used
.* InvalidLinkBear, FilenameBear, coalaBear
.yml YAMLLintBear, LineLengthBear
.py PycodestyleBear

Which file types are not supported?

None

Which file types had errors? **.py, **.yml

Errors

src/flashbake/init.py

| 24| import•flashbake.plugins•#@UnresolvedImport

| | [NORMAL] PycodestyleBear (E261):

| | E261 at least two spaces before inline comment'

src/flashbake/init.py

| 24| import•flashbake.plugins•#@UnresolvedImport

| | [NORMAL] PycodestyleBear (E262):

| | E262 inline comment should start with '# ''

src/flashbake/init.py

| 30| import•sys•#@Reimport

| | [NORMAL] PycodestyleBear (E261):

| | E261 at least two spaces before inline comment'

src/flashbake/init.py

| 30| import•sys•#@Reimport

| | [NORMAL] PycodestyleBear (E262):

| | E262 inline comment should start with '# ''

src/flashbake/init.py

| 35| class•ConfigError(Exception):

| | [NORMAL] PycodestyleBear (E302):

| | E302 expected 2 blank lines, found 1'

src/flashbake/init.py

| 60| •••���••••'''•Parse•a•line•from•the•control•file•if•it•is•relevant•to•plugin•configuration.•'''

| | [NORMAL] PycodestyleBear (E501):

| | E501 line too long (93 > 79 characters)'

src/flashbake/init.py

| 79| ••••••••••••if•not•prop_name•in•self.dict:

| | [NORMAL] PycodestyleBear (E713):

| | E713 test for membership should be 'not in''

src/flashbake/init.py

| 80| ••••••••••••••••self.extra_props[prop_name]•=•prop_value;

| | [NORMAL] PycodestyleBear (E703):

| | E703 statement ends with a semicolon'

src/flashbake/init.py

| 89| ••••••••••••••••••••••••'The•value,•%s,•for•option,•%s,•could•not•be•parse•as•%s.'

| | [NORMAL] PycodestyleBear (E501):

| | E501 line too long (82 > 79 characters)'

src/flashbake/init.py

| 98| ••••••••if•self.initialized•==•True:

| | [NORMAL] PycodestyleBear (E712):

| | E712 comparison to True should be 'if cond is True:' or 'if cond:''

src/flashbake/init.py

| 135| ••••••••••••••••if•not•e.reason•==•PLUGIN_ERRORS.ignorable_error:•#@UndefinedVariable

| | [NORMAL] PycodestyleBear (E261):

| | E261 at least two spaces before inline comment'

src/flashbake/init.py

| 135| ••••••••••••••••if•not•e.reason•==•PLUGIN_ERRORS.ignorable_error:•#@UndefinedVariable

| | [NORMAL] PycodestyleBear (E262):

| | E262 inline comment should start with '# ''

src/flashbake/init.py

| 135| ••••••••••••••••if•not•e.reason•==•PLUGIN_ERRORS.ignorable_error:•#@UndefinedVariable

| | [NORMAL] PycodestyleBear (E501):

| | E501 line too long (85 > 79 characters)'

src/flashbake/init.py

| 139| ••••••••••••••••••••••••(plugin_name,•e.name))

| | [NORMAL] PycodestyleBear (E128):

| | E128 continuation line under-indented for visual indent'

src/flashbake/init.py

| 166| ••••••••••••if•type•!=•None:

| | [NORMAL] PycodestyleBear (E711):

| | E711 comparison to None should be 'if cond is not None:''

src/flashbake/init.py

| 171| ••••••••••••••••••••••••••••%•(name,•value))

| | [NORMAL] PycodestyleBear (E128):

| | E128 continuation line under-indented for visual indent'

src/flashbake/init.py

| 184| ••••••••••••raise•PluginError(PLUGIN_ERRORS.invalid_plugin,•plugin_spec)•#@UndefinedVariable

| | [NORMAL] PycodestyleBear (E261):

| | E261 at least two spaces before inline comment'

src/flashbake/init.py

| 184| ••••••••••••raise•PluginError(PLUGIN_ERRORS.invalid_plugin,•plugin_spec)•#@UndefinedVariable

| | [NORMAL] PycodestyleBear (E262):

| | E262 inline comment should start with '# ''

src/flashbake/init.py

| 184| ••••••••••••raise•PluginError(PLUGIN_ERRORS.invalid_plugin,•plugin_spec)•#@UndefinedVariable

| | [NORMAL] PycodestyleBear (E501):

| | E501 line too long (92 > 79 characters)'

src/flashbake/init.py

| 194| ••••••••••••raise•PluginError(PLUGIN_ERRORS.unknown_plugin,•plugin_spec)•#@UndefinedVariable

| | [NORMAL] PycodestyleBear (E261):

| | E261 at least two spaces before inline comment'

src/flashbake/init.py

| 194| ••••••••••••raise•PluginError(PLUGIN_ERRORS.unknown_plugin,•plugin_spec)•#@UndefinedVariable

| | [NORMAL] PycodestyleBear (E262):

| | E262 inline comment should start with '# ''

src/flashbake/init.py

| 194| ••••••••••••raise•PluginError(PLUGIN_ERRORS.unknown_plugin,•plugin_spec)•#@UndefinedVariable

| | [NORMAL] PycodestyleBear (E501):

| | E501 line too long (92 > 79 characters)'

src/flashbake/init.py

| 202| ••••••••••••raise•PluginError(PLUGIN_ERRORS.unknown_plugin,•plugin_spec)•#@UndefinedVariable

| | [NORMAL] PycodestyleBear (E261):

| | E261 at least two spaces before inline comment'

src/flashbake/init.py

| 202| ••••••••••••raise•PluginError(PLUGIN_ERRORS.unknown_plugin,•plugin_spec)•#@UndefinedVariable

| | [NORMAL] PycodestyleBear (E262):

| | E262 inline comment should start with '# ''

src/flashbake/init.py

| 202| ••••••••••••raise•PluginError(PLUGIN_ERRORS.unknown_plugin,•plugin_spec)•#@UndefinedVariable

| | [NORMAL] PycodestyleBear (E501):

| | E501 line too long (92 > 79 characters)'

src/flashbake/init.py

| 203| ••••••••is_message_plugin•=•isinstance(plugin,•flashbake.plugins.AbstractMessagePlugin)

| | [NORMAL] PycodestyleBear (E501):

| | E501 line too long (87 > 79 characters)'

src/flashbake/init.py

| 204| ••••••••is_file_plugin•=•isinstance(plugin,•flashbake.plugins.AbstractFilePlugin)

| | [NORMAL] PycodestyleBear (E501):

| | E501 line too long (81 > 79 characters)'

src/flashbake/init.py

| 205| ••••••••is_notify_plugin•=•isinstance(plugin,•flashbake.plugins.AbstractNotifyPlugin)

| | [NORMAL] PycodestyleBear (E501):

| | E501 line too long (85 > 79 characters)'

src/flashbake/init.py

| 206| ••••••••if•not•is_message_plugin•and•not•is_file_plugin•and•not•is_notify_plugin:

| | [NORMAL] PycodestyleBear (E501):

| | E501 line too long (81 > 79 characters)'

src/flashbake/init.py

| 207| ••••••••••••raise•PluginError(PLUGIN_ERRORS.invalid_type,•plugin_spec)•#@UndefinedVariable

| | [NORMAL] PycodestyleBear (E261):

| | E261 at least two spaces before inline comment'

src/flashbake/init.py

| 207| ••••••••••••raise•PluginError(PLUGIN_ERRORS.invalid_type,•plugin_spec)•#@UndefinedVariable

| | [NORMAL] PycodestyleBear (E262):

| | E262 inline comment should start with '# ''

src/flashbake/init.py

| 207| ••••••••••••raise•PluginError(PLUGIN_ERRORS.invalid_type,•plugin_spec)•#@UndefinedVariable

| | [NORMAL] PycodestyleBear (E501):

| | E501 line too long (90 > 79 characters)'

src/flashbake/init.py

| 227| ••••••••••••raise•PluginError(PLUGIN_ERRORS.missing_attribute,•plugin_spec,•name)•#@UndefinedVariable

| | [NORMAL] PycodestyleBear (E501):

| | E501 line too long (101 > 79 characters)'

src/flashbake/init.py

| 227| ••••••••••••raise•PluginError(PLUGIN_ERRORS.missing_attribute,•plugin_spec,•name)•#@UndefinedVariable

| | [NORMAL] PycodestyleBear (E261):

| | E261 at least two spaces before inline comment'

src/flashbake/init.py

| 227| ••••••••••••raise•PluginError(PLUGIN_ERRORS.missing_attribute,•plugin_spec,•name)•#@UndefinedVariable

| | [NORMAL] PycodestyleBear (E262):

| | E262 inline comment should start with '# ''

src/flashbake/init.py

| 230| ••••••••••••raise•PluginError(PLUGIN_ERRORS.invalid_attribute,•plugin_spec,•name)•#@UndefinedVariable

| | [NORMAL] PycodestyleBear (E501):

| | E501 line too long (101 > 79 characters)'

src/flashbake/init.py

| 230| ••••••••••••raise•PluginError(PLUGIN_ERRORS.invalid_attribute,•plugin_spec,•name)•#@UndefinedVariable

| | [NORMAL] PycodestyleBear (E261):

| | E261 at least two spaces before inline comment'

src/flashbake/init.py

| 230| ••••••••••••raise•PluginError(PLUGIN_ERRORS.invalid_attribute,•plugin_spec,•name)•#@UndefinedVariable

| | [NORMAL] PycodestyleBear (E262):

| | E262 inline comment should start with '# ''

src/flashbake/init.py

| 233| ••••#•with•thanks•to•Ben•Snider

| | [NORMAL] PycodestyleBear (E303):

| | E303 too many blank lines (2)'

src/flashbake/init.py

| 245| ••••def•init(self,•plugin):

| | [NORMAL] PycodestyleBear (E301):

| | E301 expected 1 blank line, found 0'

src/flashbake/init.py

| 265| ••••Track•the•files•as•they•are•parsed•and•manipulated•with•regards•to•their•git

| | [NORMAL] PycodestyleBear (E501):

| | E501 line too long (80 > 79 characters)'

src/flashbake/init.py

| 282| •••••••••••••••%•(filename,•glob.glob(to_expand)))

| | [NORMAL] PycodestyleBear (E128):

| | E128 continuation line under-indented for visual indent'

src/flashbake/init.py

| 283| ••••••••

| | [NORMAL] PycodestyleBear (W293):

| | W293 blank line contains whitespace'

src/flashbake/init.py

| 291| ••••••••••••#•track•whether•iglob•iterates•at•all,•if•it•does•not,•then•the•line

| | [NORMAL] PycodestyleBear (E501):

| | E501 line too long (80 > 79 characters)'

src/flashbake/init.py

| 316| ••••••••••••if•link•==•None:

| | [NORMAL] PycodestyleBear (E711):

| | E711 comparison to None should be 'if cond is None:''

src/flashbake/init.py

| 328| ••••••••if•filename•in••self.control_files:

| | [NORMAL] PycodestyleBear (E271):

| | E271 multiple spaces after keyword'

src/flashbake/init.py

| 348| ••••••••"""•Returns•any•original•glob-based•file•specifications•from•the•control•file•that•would•match

| | [NORMAL] PycodestyleBear (E501):

| | E501 line too long (94 > 79 characters)'

src/flashbake/init.py

| 349| ••••••••••••the•input•filename.••Useful•for•file•plugins•that•add•their•own•globs•and•need•to•correlate

| | [NORMAL] PycodestyleBear (E501):

| | E501 line too long (103 > 79 characters)'

src/flashbake/init.py

| 352| ••••••••••••return•re.match(file_tuple[1],•filename)•!=•None

| | [NORMAL] PycodestyleBear (E711):

| | E711 comparison to None should be 'if cond is not None:''

src/flashbake/init.py

| 360| ••••••••••••logging.info('%s•is•a•link•or•its•directory•path•contains•a•link.'•%•filename)

| | [NORMAL] PycodestyleBear (E501):

| | E501 line too long (90 > 79 characters)'

src/flashbake/init.py

| 367| ••••••••#•print•warnings•for•files•that•were•once•under•version•control•but•have•been•deleted

| | [NORMAL] PycodestyleBear (E501):

| | E501 line too long (93 > 79 characters)'

src/flashbake/init.py

| 369| ••••••••••••logging.info('%s•has•been•deleted•from•version•control.'•%•filename)

| | [NORMAL] PycodestyleBear (E501):

| | E501 line too long (80 > 79 characters)'

src/flashbake/init.py

| 394| •••••••••••••••or•len(self.linked_files)•>•0

| | [NORMAL] PycodestyleBear (E128):

| | E128 continuation line under-indented for visual indent'

src/flashbake/init.py

| 395| •••••••••••••••or•len(self.outside_files)•>•0

| | [NORMAL] PycodestyleBear (E128):

| | E128 continuation line under-indented for visual indent'

src/flashbake/init.py

| 396| •••••••••••••••or•len(self.deleted)•>•0)

| | [NORMAL] PycodestyleBear (E128):

| | E128 continuation line under-indented for visual indent'

src/flashbake/init.py

| 422| def•find_executable(executable):

| | [NORMAL] PycodestyleBear (E302):

| | E302 expected 2 blank lines, found 1'

src/flashbake/init.py

| 423| ••••ex_paths•=•(os.path.join(path,•executable)•for•path•in•\

| | [NORMAL] PycodestyleBear (E502):

| | E502 the backslash is redundant between brackets'

src/flashbake/init.py

| 424| ••••••••••••••••••••os.getenv('PATH').split(os.pathsep))

| | [NORMAL] PycodestyleBear (E127):

| | E127 continuation line over-indented for visual indent'

src/flashbake/init.py

| 425| ••••paths•=•(ex_path•for•ex_path•in•ex_paths•\

| | [NORMAL] PycodestyleBear (E502):

| | E502 the backslash is redundant between brackets'

src/flashbake/init.py

| 426| •••••••••••••••••if•os.path.exists(ex_path))

| | [NORMAL] PycodestyleBear (E127):

| | E127 continuation line over-indented for visual indent'

src/flashbake/init.py

| 429| def•executable_available(executable):

| | [NORMAL] PycodestyleBear (E302):

| | E302 expected 2 blank lines, found 1'

src/flashbake/init.py

| 430| ••••return•find_executable(executable)•!=•None

| | [NORMAL] PycodestyleBear (E711):

| | E711 comparison to None should be 'if cond is not None:''