(view as text)
No config file found, using default configuration
************* Module setup
Open-ILS/src/python/setup.py:5: [C0330(bad-continuation), ] Wrong continued indentation.
version='1.4.0',
^ |
Open-ILS/src/python/setup.py:6: [C0330(bad-continuation), ] Wrong continued indentation.
install_requires='OpenSRF>=1.0',
^ |
Open-ILS/src/python/setup.py:7: [C0330(bad-continuation), ] Wrong continued indentation.
description='Evergreen Python Modules',
^ |
Open-ILS/src/python/setup.py:8: [C0330(bad-continuation), ] Wrong continued indentation.
author='Bill Erickson',
^ |
Open-ILS/src/python/setup.py:9: [C0330(bad-continuation), ] Wrong continued indentation.
author_email='erickson@esilibrary.com',
^ |
Open-ILS/src/python/setup.py:10: [C0330(bad-continuation), ] Wrong continued indentation.
license='GPL',
^ |
Open-ILS/src/python/setup.py:11: [C0330(bad-continuation), ] Wrong continued indentation.
url='http://www.open-ils.org/',
^ |
Open-ILS/src/python/setup.py:12: [C0330(bad-continuation), ] Wrong continued indentation.
packages=['oils', 'oils.utils'],
^ |
Open-ILS/src/python/setup.py:13: [C0330(bad-continuation), ] Wrong continued indentation.
)
^ |
Open-ILS/src/python/setup.py:1: [C0111(missing-docstring), ] Missing module docstring
************* Module oils.const
Open-ILS/src/python/oils/const.py:9: [C0303(trailing-whitespace), ] Trailing whitespace
Open-ILS/src/python/oils/const.py:14: [C0303(trailing-whitespace), ] Trailing whitespace
************* Module oils.event
Open-ILS/src/python/oils/event.py:31: [W0511(fixme), ] XXX eventually, add events file parsing...
Open-ILS/src/python/oils/event.py:26: [C0301(line-too-long), ] Line too long (114/100)
Open-ILS/src/python/oils/event.py:35: [C0303(trailing-whitespace), ] Trailing whitespace
Open-ILS/src/python/oils/event.py:53: [C0303(trailing-whitespace), ] Trailing whitespace
Open-ILS/src/python/oils/event.py:1: [C0111(missing-docstring), ] Missing module docstring
Open-ILS/src/python/oils/event.py:1: [F0401(import-error), ] Unable to import 'osrf.ex'
Open-ILS/src/python/oils/event.py:3: [R0902(too-many-instance-attributes), Event] Too many instance attributes (9/7)
Open-ILS/src/python/oils/event.py:6: [W0102(dangerous-default-value), Event.__init__] Dangerous default value {} as argument
Open-ILS/src/python/oils/event.py:9: [W0702(bare-except), Event.__init__] No exception type(s) specified
Open-ILS/src/python/oils/event.py:33: [C0111(missing-docstring), Event.to_ex] Missing method docstring
Open-ILS/src/python/oils/event.py:59: [W0710(nonstandard-exception), Event.parse_and_raise] Exception doesn't inherit from standard "Exception" class
************* Module oils.org
Open-ILS/src/python/oils/org.py:8: [C0303(trailing-whitespace), ] Trailing whitespace
Open-ILS/src/python/oils/org.py:9: [C0303(trailing-whitespace), ] Trailing whitespace
Open-ILS/src/python/oils/org.py:48: [C0303(trailing-whitespace), ] Trailing whitespace
Open-ILS/src/python/oils/org.py:74: [C0303(trailing-whitespace), ] Trailing whitespace
Open-ILS/src/python/oils/org.py:158: [C0301(line-too-long), ] Line too long (123/100)
Open-ILS/src/python/oils/org.py:162: [C0303(trailing-whitespace), ] Trailing whitespace
Open-ILS/src/python/oils/org.py:1: [C0111(missing-docstring), ] Missing module docstring
Open-ILS/src/python/oils/org.py:1: [F0401(import-error), ] Unable to import 'osrf.ses'
Open-ILS/src/python/oils/org.py:13: [C0111(missing-docstring), OrgUtil._verify_tree] Missing method docstring
Open-ILS/src/python/oils/org.py:43: [C0111(missing-docstring), OrgUtil.get_org_unit] Missing method docstring
Open-ILS/src/python/oils/org.py:88: [C0111(missing-docstring), OrgUtil.get_related_tree.trim_org] Missing function docstring
Open-ILS/src/python/oils/org.py:134: [C0111(missing-docstring), OrgUtil.get_related_list.flatten] Missing function docstring
Open-ILS/src/python/oils/org.py:156: [W0612(unused-variable), OrgUtil.debug_tree] Unused variable 'i'
************* Module oils.srfsh
Open-ILS/src/python/oils/srfsh.py:129: [W0511(fixme), ] TODO: load services for tab-complete from opensrf settings...
Open-ILS/src/python/oils/srfsh.py:4: [C0303(trailing-whitespace), ] Trailing whitespace
Open-ILS/src/python/oils/srfsh.py:9: [C0303(trailing-whitespace), ] Trailing whitespace
Open-ILS/src/python/oils/srfsh.py:26: [C0303(trailing-whitespace), ] Trailing whitespace
Open-ILS/src/python/oils/srfsh.py:27: [C0303(trailing-whitespace), ] Trailing whitespace
Open-ILS/src/python/oils/srfsh.py:34: [C0303(trailing-whitespace), ] Trailing whitespace
Open-ILS/src/python/oils/srfsh.py:35: [C0303(trailing-whitespace), ] Trailing whitespace
Open-ILS/src/python/oils/srfsh.py:37: [C0303(trailing-whitespace), ] Trailing whitespace
Open-ILS/src/python/oils/srfsh.py:54: [C0303(trailing-whitespace), ] Trailing whitespace
Open-ILS/src/python/oils/srfsh.py:55: [C0303(trailing-whitespace), ] Trailing whitespace
Open-ILS/src/python/oils/srfsh.py:62: [C0303(trailing-whitespace), ] Trailing whitespace
Open-ILS/src/python/oils/srfsh.py:63: [C0303(trailing-whitespace), ] Trailing whitespace
Open-ILS/src/python/oils/srfsh.py:65: [C0303(trailing-whitespace), ] Trailing whitespace
Open-ILS/src/python/oils/srfsh.py:87: [C0303(trailing-whitespace), ] Trailing whitespace
Open-ILS/src/python/oils/srfsh.py:88: [C0303(trailing-whitespace), ] Trailing whitespace
Open-ILS/src/python/oils/srfsh.py:89: [C0303(trailing-whitespace), ] Trailing whitespace
Open-ILS/src/python/oils/srfsh.py:113: [C0303(trailing-whitespace), ] Trailing whitespace
Open-ILS/src/python/oils/srfsh.py:121: [C0326(bad-whitespace), ] No space allowed around keyword argument assignment
srfsh.add_command(command = 'login', handler = handle_login)
^
Open-ILS/src/python/oils/srfsh.py:121: [C0326(bad-whitespace), ] No space allowed around keyword argument assignment
srfsh.add_command(command = 'login', handler = handle_login)
^
Open-ILS/src/python/oils/srfsh.py:122: [C0326(bad-whitespace), ] No space allowed around keyword argument assignment
srfsh.add_command(command = 'auth_verify', handler = handle_auth_verify)
^
Open-ILS/src/python/oils/srfsh.py:122: [C0326(bad-whitespace), ] No space allowed around keyword argument assignment
srfsh.add_command(command = 'auth_verify', handler = handle_auth_verify)
^
Open-ILS/src/python/oils/srfsh.py:123: [C0326(bad-whitespace), ] No space allowed around keyword argument assignment
srfsh.add_command(command = 'idl', handler = handle_idl)
^
Open-ILS/src/python/oils/srfsh.py:123: [C0326(bad-whitespace), ] No space allowed around keyword argument assignment
srfsh.add_command(command = 'idl', handler = handle_idl)
^
Open-ILS/src/python/oils/srfsh.py:124: [C0326(bad-whitespace), ] No space allowed around keyword argument assignment
srfsh.add_command(command = 'org_setting', handler = handle_org_setting)
^
Open-ILS/src/python/oils/srfsh.py:124: [C0326(bad-whitespace), ] No space allowed around keyword argument assignment
srfsh.add_command(command = 'org_setting', handler = handle_org_setting)
^
Open-ILS/src/python/oils/srfsh.py:1: [C0111(missing-docstring), ] Missing module docstring
Open-ILS/src/python/oils/srfsh.py:17: [F0401(import-error), ] Unable to import 'osrf.json'
Open-ILS/src/python/oils/srfsh.py:33: [W0612(unused-variable), handle_login] Unused variable 'response'
Open-ILS/src/python/oils/srfsh.py:61: [W0612(unused-variable), handle_auth_verify] Unused variable 'response'
Open-ILS/src/python/oils/srfsh.py:101: [W0212(protected-access), handle_idl] Access to a protected member _global_parser of a client class
************* Module oils.system
Open-ILS/src/python/oils/system.py:4: [C0303(trailing-whitespace), ] Trailing whitespace
Open-ILS/src/python/oils/system.py:9: [C0303(trailing-whitespace), ] Trailing whitespace
Open-ILS/src/python/oils/system.py:1: [C0111(missing-docstring), ] Missing module docstring
Open-ILS/src/python/oils/system.py:16: [F0401(import-error), ] Unable to import 'osrf.log'
Open-ILS/src/python/oils/system.py:17: [F0401(import-error), ] Unable to import 'osrf.system'
Open-ILS/src/python/oils/system.py:21: [C0111(missing-docstring), System] Missing class docstring
************* Module oils.utils.csedit
Open-ILS/src/python/oils/utils/csedit.py:179: [W0511(fixme), ] XXX improve param logging here
Open-ILS/src/python/oils/utils/csedit.py:7: [C0303(trailing-whitespace), ] Trailing whitespace
Open-ILS/src/python/oils/utils/csedit.py:12: [C0303(trailing-whitespace), ] Trailing whitespace
Open-ILS/src/python/oils/utils/csedit.py:32: [C0303(trailing-whitespace), ] Trailing whitespace
Open-ILS/src/python/oils/utils/csedit.py:36: [C0303(trailing-whitespace), ] Trailing whitespace
Open-ILS/src/python/oils/utils/csedit.py:37: [C0303(trailing-whitespace), ] Trailing whitespace
Open-ILS/src/python/oils/utils/csedit.py:40: [C0303(trailing-whitespace), ] Trailing whitespace
Open-ILS/src/python/oils/utils/csedit.py:41: [C0303(trailing-whitespace), ] Trailing whitespace
Open-ILS/src/python/oils/utils/csedit.py:53: [C0303(trailing-whitespace), ] Trailing whitespace
Open-ILS/src/python/oils/utils/csedit.py:78: [C0303(trailing-whitespace), ] Trailing whitespace
Open-ILS/src/python/oils/utils/csedit.py:82: [C0303(trailing-whitespace), ] Trailing whitespace
Open-ILS/src/python/oils/utils/csedit.py:84: [C0303(trailing-whitespace), ] Trailing whitespace
Open-ILS/src/python/oils/utils/csedit.py:85: [C0303(trailing-whitespace), ] Trailing whitespace
Open-ILS/src/python/oils/utils/csedit.py:89: [C0303(trailing-whitespace), ] Trailing whitespace
Open-ILS/src/python/oils/utils/csedit.py:101: [C0303(trailing-whitespace), ] Trailing whitespace
Open-ILS/src/python/oils/utils/csedit.py:107: [C0303(trailing-whitespace), ] Trailing whitespace
Open-ILS/src/python/oils/utils/csedit.py:127: [C0326(bad-whitespace), ] Exactly one space required after comma
self.log(log_debug,'connecting to ' + self.app)
^
Open-ILS/src/python/oils/utils/csedit.py:128: [C0303(trailing-whitespace), ] Trailing whitespace
Open-ILS/src/python/oils/utils/csedit.py:159: [C0303(trailing-whitespace), ] Trailing whitespace
Open-ILS/src/python/oils/utils/csedit.py:226: [C0326(bad-whitespace), ] No space allowed after bracket
val = self.request( method, params )
^
Open-ILS/src/python/oils/utils/csedit.py:226: [C0326(bad-whitespace), ] No space allowed before bracket
val = self.request( method, params )
^
Open-ILS/src/python/oils/utils/csedit.py:236: [C0303(trailing-whitespace), ] Trailing whitespace
Open-ILS/src/python/oils/utils/csedit.py:240: [C0326(bad-whitespace), ] No space allowed after bracket
'select' : { '%s' % hint : fields },
^
Open-ILS/src/python/oils/utils/csedit.py:240: [C0326(bad-whitespace), ] No space allowed before bracket
'select' : { '%s' % hint : fields },
^
Open-ILS/src/python/oils/utils/csedit.py:242: [C0326(bad-whitespace), ] No space allowed after bracket
'where' : { "+%s" % hint : where }
^
Open-ILS/src/python/oils/utils/csedit.py:242: [C0326(bad-whitespace), ] No space allowed before bracket
'where' : { "+%s" % hint : where }
^
Open-ILS/src/python/oils/utils/csedit.py:20: [F0401(import-error), ] Unable to import 'osrf.const'
Open-ILS/src/python/oils/utils/csedit.py:21: [F0401(import-error), ] Unable to import 'osrf.log'
Open-ILS/src/python/oils/utils/csedit.py:22: [F0401(import-error), ] Unable to import 'osrf.ses'
Open-ILS/src/python/oils/utils/csedit.py:116: [W0613(unused-argument), CSEditor.session] Unused argument 'ses'
Open-ILS/src/python/oils/utils/csedit.py:174: [W0102(dangerous-default-value), CSEditor.request] Dangerous default value [] as argument
Open-ILS/src/python/oils/utils/csedit.py:193: [C0103(invalid-name), CSEditor.request] Invalid variable name "e"
Open-ILS/src/python/oils/utils/csedit.py:203: [C0111(missing-docstring), CSEditor.allowed] Missing method docstring
Open-ILS/src/python/oils/utils/csedit.py:206: [W0102(dangerous-default-value), CSEditor.runMethod] Dangerous default value {} as argument
Open-ILS/src/python/oils/utils/csedit.py:206: [C0103(invalid-name), CSEditor.runMethod] Invalid method name "runMethod"
Open-ILS/src/python/oils/utils/csedit.py:206: [C0111(missing-docstring), CSEditor.runMethod] Missing method docstring
Open-ILS/src/python/oils/utils/csedit.py:230: [C0103(invalid-name), CSEditor.rawSearch] Invalid method name "rawSearch"
Open-ILS/src/python/oils/utils/csedit.py:230: [C0111(missing-docstring), CSEditor.rawSearch] Missing method docstring
Open-ILS/src/python/oils/utils/csedit.py:235: [C0103(invalid-name), CSEditor.rawSearch2] Invalid method name "rawSearch2"
Open-ILS/src/python/oils/utils/csedit.py:235: [C0111(missing-docstring), CSEditor.rawSearch2] Missing method docstring
Open-ILS/src/python/oils/utils/csedit.py:246: [C0103(invalid-name), CSEditor.fieldSearch] Invalid method name "fieldSearch"
Open-ILS/src/python/oils/utils/csedit.py:246: [C0111(missing-docstring), CSEditor.fieldSearch] Missing method docstring
Open-ILS/src/python/oils/utils/csedit.py:249: [C0103(invalid-name), ] Invalid constant name "__editor_loaded"
Open-ILS/src/python/oils/utils/csedit.py:250: [C0103(invalid-name), oilsLoadCSEditor] Invalid function name "oilsLoadCSEditor"
Open-ILS/src/python/oils/utils/csedit.py:255: [W0603(global-statement), oilsLoadCSEditor] Using the global statement
Open-ILS/src/python/oils/utils/csedit.py:255: [C0103(invalid-name), oilsLoadCSEditor] Invalid constant name "__editor_loaded"
Open-ILS/src/python/oils/utils/csedit.py:274: [W0122(exec-used), oilsLoadCSEditor] Use of exec
Open-ILS/src/python/oils/utils/csedit.py:24: [W0611(unused-import), ] Unused import re
************* Module oils.utils.idl
Open-ILS/src/python/oils/utils/idl.py:144: [W0511(fixme), ] TODO: improve the format/content
Open-ILS/src/python/oils/utils/idl.py:41: [C0303(trailing-whitespace), ] Trailing whitespace
Open-ILS/src/python/oils/utils/idl.py:54: [C0303(trailing-whitespace), ] Trailing whitespace
Open-ILS/src/python/oils/utils/idl.py:92: [C0303(trailing-whitespace), ] Trailing whitespace
Open-ILS/src/python/oils/utils/idl.py:94: [C0303(trailing-whitespace), ] Trailing whitespace
Open-ILS/src/python/oils/utils/idl.py:102: [C0326(bad-whitespace), ] No space allowed around keyword argument assignment
controller = _attr(child, 'controller'),
^
Open-ILS/src/python/oils/utils/idl.py:103: [C0326(bad-whitespace), ] No space allowed around keyword argument assignment
fieldmapper = _attr(child, 'oils_obj:fieldmapper', OILS_NS_OBJ),
^
Open-ILS/src/python/oils/utils/idl.py:104: [C0326(bad-whitespace), ] No space allowed around keyword argument assignment
virtual = _attr(child, 'oils_persist:virtual', OILS_NS_PERSIST),
^
Open-ILS/src/python/oils/utils/idl.py:105: [C0326(bad-whitespace), ] No space allowed around keyword argument assignment
label = _attr(child, 'reporter:label', OILS_NS_REPORTER),
^
Open-ILS/src/python/oils/utils/idl.py:106: [C0326(bad-whitespace), ] No space allowed around keyword argument assignment
tablename = _attr(child, 'oils_persist:tablename', OILS_NS_PERSIST),
^
Open-ILS/src/python/oils/utils/idl.py:107: [C0326(bad-whitespace), ] No space allowed around keyword argument assignment
field_safe = _attr(child, 'oils_persist:field_safe', OILS_NS_PERSIST),
^
Open-ILS/src/python/oils/utils/idl.py:196: [C0303(trailing-whitespace), ] Trailing whitespace
Open-ILS/src/python/oils/utils/idl.py:198: [C0330(bad-continuation), ] Wrong hanging indentation.
if l.field.name == self.name
| ^
Open-ILS/src/python/oils/utils/idl.py:198: [C0303(trailing-whitespace), ] Trailing whitespace
Open-ILS/src/python/oils/utils/idl.py:220: [C0303(trailing-whitespace), ] Trailing whitespace
Open-ILS/src/python/oils/utils/idl.py:234: [C0326(bad-whitespace), ] No space allowed around keyword argument assignment
field = idlobj.get_field(_attr(link, 'field')),
^
Open-ILS/src/python/oils/utils/idl.py:235: [C0326(bad-whitespace), ] No space allowed around keyword argument assignment
reltype = _attr(link, 'reltype'),
^
Open-ILS/src/python/oils/utils/idl.py:236: [C0326(bad-whitespace), ] No space allowed around keyword argument assignment
key = _attr(link, 'key'),
^
Open-ILS/src/python/oils/utils/idl.py:237: [C0326(bad-whitespace), ] No space allowed around keyword argument assignment
map = _attr(link, 'map'),
^
Open-ILS/src/python/oils/utils/idl.py:238: [C0326(bad-whitespace), ] No space allowed around keyword argument assignment
class_ = _attr(link, 'class')
^
Open-ILS/src/python/oils/utils/idl.py:246: [C0326(bad-whitespace), ] Exactly one space required after assignment
idlobj.sequence = _attr(fields, 'oils_persist:sequence', OILS_NS_PERSIST)
^
Open-ILS/src/python/oils/utils/idl.py:253: [C0303(trailing-whitespace), ] Trailing whitespace
Open-ILS/src/python/oils/utils/idl.py:258: [C0326(bad-whitespace), ] No space allowed around keyword argument assignment
name = name,
^
Open-ILS/src/python/oils/utils/idl.py:259: [C0326(bad-whitespace), ] No space allowed around keyword argument assignment
position = position,
^
Open-ILS/src/python/oils/utils/idl.py:260: [C0326(bad-whitespace), ] No space allowed around keyword argument assignment
virtual = _attr(field, 'oils_persist:virtual', OILS_NS_PERSIST),
^
Open-ILS/src/python/oils/utils/idl.py:261: [C0326(bad-whitespace), ] No space allowed around keyword argument assignment
label = _attr(field, 'reporter:label', OILS_NS_REPORTER),
^
Open-ILS/src/python/oils/utils/idl.py:262: [C0326(bad-whitespace), ] No space allowed around keyword argument assignment
rpt_datatype = _attr(field, 'reporter:datatype', OILS_NS_REPORTER),
^
Open-ILS/src/python/oils/utils/idl.py:263: [C0326(bad-whitespace), ] No space allowed around keyword argument assignment
rpt_select = _attr(field, 'reporter:selector', OILS_NS_REPORTER),
^
Open-ILS/src/python/oils/utils/idl.py:264: [C0326(bad-whitespace), ] No space allowed around keyword argument assignment
primitive = _attr(field, 'oils_persist:primitive', OILS_NS_PERSIST)
^
Open-ILS/src/python/oils/utils/idl.py:271: [C0303(trailing-whitespace), ] Trailing whitespace
Open-ILS/src/python/oils/utils/idl.py:272: [C0303(trailing-whitespace), ] Trailing whitespace
Open-ILS/src/python/oils/utils/idl.py:273: [C0330(bad-continuation), ] Wrong continued indentation.
name = name,
^ |
Open-ILS/src/python/oils/utils/idl.py:273: [C0303(trailing-whitespace), ] Trailing whitespace
Open-ILS/src/python/oils/utils/idl.py:273: [C0326(bad-whitespace), ] No space allowed around keyword argument assignment
name = name,
^
Open-ILS/src/python/oils/utils/idl.py:274: [C0330(bad-continuation), ] Wrong continued indentation.
position = position,
^ |
Open-ILS/src/python/oils/utils/idl.py:274: [C0303(trailing-whitespace), ] Trailing whitespace
Open-ILS/src/python/oils/utils/idl.py:274: [C0326(bad-whitespace), ] No space allowed around keyword argument assignment
position = position,
^
Open-ILS/src/python/oils/utils/idl.py:275: [C0330(bad-continuation), ] Wrong continued indentation.
virtual = 'true'
^ |
Open-ILS/src/python/oils/utils/idl.py:275: [C0326(bad-whitespace), ] No space allowed around keyword argument assignment
virtual = 'true'
^
Open-ILS/src/python/oils/utils/idl.py:276: [C0330(bad-continuation), ] Wrong continued indentation.
)
^ |
Open-ILS/src/python/oils/utils/idl.py:17: [F0401(import-error), ] Unable to import 'osrf.net_obj'
Open-ILS/src/python/oils/utils/idl.py:17: [F0401(import-error), ] Unable to import 'osrf.log'
Open-ILS/src/python/oils/utils/idl.py:17: [F0401(import-error), ] Unable to import 'osrf.ex'
Open-ILS/src/python/oils/utils/idl.py:17: [F0401(import-error), ] Unable to import 'osrf.ses'
Open-ILS/src/python/oils/utils/idl.py:36: [W0710(nonstandard-exception), IDLParser.get_parser] Exception doesn't inherit from standard "Exception" class
Open-ILS/src/python/oils/utils/idl.py:69: [C0103(invalid-name), IDLParser.set_IDL] Invalid method name "set_IDL"
Open-ILS/src/python/oils/utils/idl.py:77: [C0103(invalid-name), IDLParser.parse_IDL] Invalid method name "parse_IDL"
Open-ILS/src/python/oils/utils/idl.py:126: [R0902(too-many-instance-attributes), IDLClass] Too many instance attributes (12/7)
Open-ILS/src/python/oils/utils/idl.py:164: [W0702(bare-except), IDLClass.get_field] No exception type(s) specified
Open-ILS/src/python/oils/utils/idl.py:126: [R0903(too-few-public-methods), IDLClass] Too few public methods (1/2)
Open-ILS/src/python/oils/utils/idl.py:169: [R0902(too-many-instance-attributes), IDLField] Too many instance attributes (8/7)
Open-ILS/src/python/oils/utils/idl.py:169: [R0903(too-few-public-methods), IDLField] Too few public methods (0/2)
Open-ILS/src/python/oils/utils/idl.py:206: [R0903(too-few-public-methods), IDLLink] Too few public methods (0/2)
Open-ILS/src/python/oils/utils/idl.py:219: [W0613(unused-argument), _attr] Unused argument 'namespace'
************* Module oils.utils.utils
Open-ILS/src/python/oils/utils/utils.py:8: [C0303(trailing-whitespace), ] Trailing whitespace
Open-ILS/src/python/oils/utils/utils.py:13: [C0303(trailing-whitespace), ] Trailing whitespace
Open-ILS/src/python/oils/utils/utils.py:68: [C0303(trailing-whitespace), ] Trailing whitespace
Open-ILS/src/python/oils/utils/utils.py:77: [C0326(bad-whitespace), ] No space allowed after bracket
{ 'workstation' : workstation,
^
Open-ILS/src/python/oils/utils/utils.py:21: [F0401(import-error), ] Unable to import 'osrf.log'
Open-ILS/src/python/oils/utils/utils.py:21: [F0401(import-error), ] Unable to import 'osrf.ses'
Open-ILS/src/python/oils/utils/utils.py:37: [C0103(invalid-name), unique] Invalid variable name "o"
Open-ILS/src/python/oils/utils/utils.py:38: [C0103(invalid-name), unique] Invalid variable name "x"
Report
======
473 statements analysed.
Statistics by type
------------------
+---------+-------+-----------+-----------+------------+---------+
|type |number |old number |difference |%documented |%badname |
+=========+=======+===========+===========+============+=========+
|module |11 |11 |= |54.55 |0.00 |
+---------+-------+-----------+-----------+------------+---------+
|class |10 |10 |= |90.00 |0.00 |
+---------+-------+-----------+-----------+------------+---------+
|method |46 |46 |= |82.61 |13.04 |
+---------+-------+-----------+-----------+------------+---------+
|function |16 |16 |= |87.50 |6.25 |
+---------+-------+-----------+-----------+------------+---------+
External dependencies
---------------------
::
oils
\-const (oils.utils.idl,oils.org,oils.utils.csedit)
\-event (oils.org)
\-utils
\-csedit (oils.system)
\-idl (oils.srfsh,oils.utils.csedit,oils.system)
setuptools (setup)
Raw metrics
-----------
+----------+-------+------+---------+-----------+
|type |number |% |previous |difference |
+==========+=======+======+=========+===========+
|code |563 |57.98 |563 |= |
+----------+-------+------+---------+-----------+
|docstring |237 |24.41 |237 |= |
+----------+-------+------+---------+-----------+
|comment |97 |9.99 |97 |= |
+----------+-------+------+---------+-----------+
|empty |74 |7.62 |74 |= |
+----------+-------+------+---------+-----------+
Duplication
-----------
+-------------------------+------+---------+-----------+
| |now |previous |difference |
+=========================+======+=========+===========+
|nb duplicated lines |0 |0 |= |
+-------------------------+------+---------+-----------+
|percent duplicated lines |0.000 |0.000 |= |
+-------------------------+------+---------+-----------+
Messages by category
--------------------
+-----------+-------+---------+-----------+
|type |number |previous |difference |
+===========+=======+=========+===========+
|convention |142 |142 |= |
+-----------+-------+---------+-----------+
|refactor |6 |6 |= |
+-----------+-------+---------+-----------+
|warning |20 |20 |= |
+-----------+-------+---------+-----------+
|error |0 |0 |= |
+-----------+-------+---------+-----------+
% errors / warnings by module
-----------------------------
+------------------+------+--------+---------+-----------+
|module |error |warning |refactor |convention |
+==================+======+========+=========+===========+
|oils.utils.csedit |0.00 |35.00 |0.00 |26.76 |
+------------------+------+--------+---------+-----------+
|oils.utils.idl |0.00 |20.00 |83.33 |28.87 |
+------------------+------+--------+---------+-----------+
|oils.event |0.00 |20.00 |16.67 |3.52 |
+------------------+------+--------+---------+-----------+
|oils.srfsh |0.00 |20.00 |0.00 |17.61 |
+------------------+------+--------+---------+-----------+
|oils.org |0.00 |5.00 |0.00 |7.75 |
+------------------+------+--------+---------+-----------+
|setup |0.00 |0.00 |0.00 |7.04 |
+------------------+------+--------+---------+-----------+
|oils.utils.utils |0.00 |0.00 |0.00 |4.23 |
+------------------+------+--------+---------+-----------+
|oils.system |0.00 |0.00 |0.00 |2.82 |
+------------------+------+--------+---------+-----------+
|oils.const |0.00 |0.00 |0.00 |1.41 |
+------------------+------+--------+---------+-----------+
Messages
--------
+-----------------------------+------------+
|message id |occurrences |
+=============================+============+
|trailing-whitespace |60 |
+-----------------------------+------------+
|bad-whitespace |38 |
+-----------------------------+------------+
|missing-docstring |16 |
+-----------------------------+------------+
|import-error |14 |
+-----------------------------+------------+
|bad-continuation |14 |
+-----------------------------+------------+
|invalid-name |12 |
+-----------------------------+------------+
|fixme |4 |
+-----------------------------+------------+
|unused-variable |3 |
+-----------------------------+------------+
|too-many-instance-attributes |3 |
+-----------------------------+------------+
|too-few-public-methods |3 |
+-----------------------------+------------+
|dangerous-default-value |3 |
+-----------------------------+------------+
|unused-argument |2 |
+-----------------------------+------------+
|nonstandard-exception |2 |
+-----------------------------+------------+
|line-too-long |2 |
+-----------------------------+------------+
|bare-except |2 |
+-----------------------------+------------+
|unused-import |1 |
+-----------------------------+------------+
|protected-access |1 |
+-----------------------------+------------+
|global-statement |1 |
+-----------------------------+------------+
|exec-used |1 |
+-----------------------------+------------+
Global evaluation
-----------------
Your code has been rated at 6.45/10 (previous run: 6.45/10, +0.00)