run_examples
(ci/run_examples.py
)Line | Col. | Type | Symbol | ID | Obj | Message |
---|---|---|---|---|---|---|
8 | 0 | warning | reimported |
W0404 | Reimport 'os' (imported line 5) |
|
8 | 0 | convention | ungrouped-imports |
C0412 | Imports from package os are not grouped |
|
10 | 0 | warning | reimported |
W0404 | Reimport 'subprocess' (imported line 6) |
|
10 | 0 | convention | ungrouped-imports |
C0412 | Imports from package subprocess are not grouped |
|
11 | 0 | warning | reimported |
W0404 | Reimport 'unittest' (imported line 4) |
|
11 | 0 | convention | ungrouped-imports |
C0412 | Imports from package unittest are not grouped |
|
45 | 12 | warning | broad-exception-raised |
W0719 | TestExamples._run_example | Raising too general exception: Exception |
61 | 8 | convention | import-outside-toplevel |
C0415 | TestExamples.test_room_mas | Import outside toplevel (sys) |
/builds/EBC/EBC_all/github_ci/AgentLib/pylintrc
(pylintrc
)Line | Col. | Type | Symbol | ID | Obj | Message |
---|---|---|---|---|---|---|
1 | 0 | refactor | useless-option-value |
R0022 | Useless option value for '--disable', 'print-statement' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942. |
|
1 | 0 | refactor | useless-option-value |
R0022 | Useless option value for '--disable', 'parameter-unpacking' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942. |
|
1 | 0 | refactor | useless-option-value |
R0022 | Useless option value for '--disable', 'unpacking-in-except' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942. |
|
1 | 0 | refactor | useless-option-value |
R0022 | Useless option value for '--disable', 'old-raise-syntax' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942. |
|
1 | 0 | refactor | useless-option-value |
R0022 | Useless option value for '--disable', 'backtick' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942. |
|
1 | 0 | refactor | useless-option-value |
R0022 | Useless option value for '--disable', 'import-star-module-level' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942. |
|
1 | 0 | refactor | useless-option-value |
R0022 | Useless option value for '--disable', 'apply-builtin' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942. |
|
1 | 0 | refactor | useless-option-value |
R0022 | Useless option value for '--disable', 'basestring-builtin' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942. |
|
1 | 0 | refactor | useless-option-value |
R0022 | Useless option value for '--disable', 'buffer-builtin' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942. |
|
1 | 0 | refactor | useless-option-value |
R0022 | Useless option value for '--disable', 'cmp-builtin' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942. |
|
1 | 0 | refactor | useless-option-value |
R0022 | Useless option value for '--disable', 'coerce-builtin' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942. |
|
1 | 0 | refactor | useless-option-value |
R0022 | Useless option value for '--disable', 'execfile-builtin' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942. |
|
1 | 0 | refactor | useless-option-value |
R0022 | Useless option value for '--disable', 'file-builtin' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942. |
|
1 | 0 | refactor | useless-option-value |
R0022 | Useless option value for '--disable', 'long-builtin' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942. |
|
1 | 0 | refactor | useless-option-value |
R0022 | Useless option value for '--disable', 'raw_input-builtin' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942. |
|
1 | 0 | refactor | useless-option-value |
R0022 | Useless option value for '--disable', 'reduce-builtin' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942. |
|
1 | 0 | refactor | useless-option-value |
R0022 | Useless option value for '--disable', 'standarderror-builtin' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942. |
|
1 | 0 | refactor | useless-option-value |
R0022 | Useless option value for '--disable', 'unicode-builtin' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942. |
|
1 | 0 | refactor | useless-option-value |
R0022 | Useless option value for '--disable', 'xrange-builtin' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942. |
|
1 | 0 | refactor | useless-option-value |
R0022 | Useless option value for '--disable', 'coerce-method' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942. |
|
1 | 0 | refactor | useless-option-value |
R0022 | Useless option value for '--disable', 'delslice-method' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942. |
|
1 | 0 | refactor | useless-option-value |
R0022 | Useless option value for '--disable', 'getslice-method' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942. |
|
1 | 0 | refactor | useless-option-value |
R0022 | Useless option value for '--disable', 'setslice-method' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942. |
|
1 | 0 | refactor | useless-option-value |
R0022 | Useless option value for '--disable', 'no-absolute-import' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942. |
|
1 | 0 | refactor | useless-option-value |
R0022 | Useless option value for '--disable', 'old-division' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942. |
|
1 | 0 | refactor | useless-option-value |
R0022 | Useless option value for '--disable', 'dict-iter-method' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942. |
|
1 | 0 | refactor | useless-option-value |
R0022 | Useless option value for '--disable', 'dict-view-method' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942. |
|
1 | 0 | refactor | useless-option-value |
R0022 | Useless option value for '--disable', 'next-method-called' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942. |
|
1 | 0 | refactor | useless-option-value |
R0022 | Useless option value for '--disable', 'metaclass-assignment' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942. |
|
1 | 0 | refactor | useless-option-value |
R0022 | Useless option value for '--disable', 'indexing-exception' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942. |
|
1 | 0 | refactor | useless-option-value |
R0022 | Useless option value for '--disable', 'raising-string' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942. |
|
1 | 0 | refactor | useless-option-value |
R0022 | Useless option value for '--disable', 'reload-builtin' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942. |
|
1 | 0 | refactor | useless-option-value |
R0022 | Useless option value for '--disable', 'oct-method' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942. |
|
1 | 0 | refactor | useless-option-value |
R0022 | Useless option value for '--disable', 'hex-method' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942. |
|
1 | 0 | refactor | useless-option-value |
R0022 | Useless option value for '--disable', 'nonzero-method' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942. |
|
1 | 0 | refactor | useless-option-value |
R0022 | Useless option value for '--disable', 'cmp-method' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942. |
|
1 | 0 | refactor | useless-option-value |
R0022 | Useless option value for '--disable', 'input-builtin' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942. |
|
1 | 0 | refactor | useless-option-value |
R0022 | Useless option value for '--disable', 'round-builtin' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942. |
|
1 | 0 | refactor | useless-option-value |
R0022 | Useless option value for '--disable', 'intern-builtin' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942. |
|
1 | 0 | refactor | useless-option-value |
R0022 | Useless option value for '--disable', 'unichr-builtin' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942. |
|
1 | 0 | refactor | useless-option-value |
R0022 | Useless option value for '--disable', 'map-builtin-not-iterating' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942. |
|
1 | 0 | refactor | useless-option-value |
R0022 | Useless option value for '--disable', 'zip-builtin-not-iterating' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942. |
|
1 | 0 | refactor | useless-option-value |
R0022 | Useless option value for '--disable', 'range-builtin-not-iterating' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942. |
|
1 | 0 | refactor | useless-option-value |
R0022 | Useless option value for '--disable', 'filter-builtin-not-iterating' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942. |
|
1 | 0 | refactor | useless-option-value |
R0022 | Useless option value for '--disable', 'using-cmp-argument' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942. |
|
1 | 0 | refactor | useless-option-value |
R0022 | Useless option value for '--disable', 'div-method' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942. |
|
1 | 0 | refactor | useless-option-value |
R0022 | Useless option value for '--disable', 'idiv-method' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942. |
|
1 | 0 | refactor | useless-option-value |
R0022 | Useless option value for '--disable', 'rdiv-method' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942. |
|
1 | 0 | refactor | useless-option-value |
R0022 | Useless option value for '--disable', 'exception-message-attribute' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942. |
|
1 | 0 | refactor | useless-option-value |
R0022 | Useless option value for '--disable', 'invalid-str-codec' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942. |
|
1 | 0 | refactor | useless-option-value |
R0022 | Useless option value for '--disable', 'sys-max-int' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942. |
|
1 | 0 | refactor | useless-option-value |
R0022 | Useless option value for '--disable', 'bad-python3-import' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942. |
|
1 | 0 | refactor | useless-option-value |
R0022 | Useless option value for '--disable', 'deprecated-string-function' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942. |
|
1 | 0 | refactor | useless-option-value |
R0022 | Useless option value for '--disable', 'deprecated-str-translate-call' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942. |
|
1 | 0 | refactor | useless-option-value |
R0022 | Useless option value for '--disable', 'deprecated-itertools-function' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942. |
|
1 | 0 | refactor | useless-option-value |
R0022 | Useless option value for '--disable', 'deprecated-types-field' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942. |
|
1 | 0 | refactor | useless-option-value |
R0022 | Useless option value for '--disable', 'next-method-defined' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942. |
|
1 | 0 | refactor | useless-option-value |
R0022 | Useless option value for '--disable', 'dict-items-not-iterating' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942. |
|
1 | 0 | refactor | useless-option-value |
R0022 | Useless option value for '--disable', 'dict-keys-not-iterating' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942. |
|
1 | 0 | refactor | useless-option-value |
R0022 | Useless option value for '--disable', 'dict-values-not-iterating' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942. |
|
1 | 0 | refactor | useless-option-value |
R0022 | Useless option value for '--disable', 'deprecated-operator-function' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942. |
|
1 | 0 | refactor | useless-option-value |
R0022 | Useless option value for '--disable', 'deprecated-urllib-function' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942. |
|
1 | 0 | refactor | useless-option-value |
R0022 | Useless option value for '--disable', 'xreadlines-attribute' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942. |
|
1 | 0 | refactor | useless-option-value |
R0022 | Useless option value for '--disable', 'deprecated-sys-function' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942. |
|
1 | 0 | refactor | useless-option-value |
R0022 | Useless option value for '--disable', 'exception-escape' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942. |
|
1 | 0 | refactor | useless-option-value |
R0022 | Useless option value for '--disable', 'comprehension-escape' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942. |
|
1 | 0 | refactor | useless-option-value |
R0022 | Useless option value for '--disable', 'no-self-use' was moved to an optional extension, see https://pylint.readthedocs.io/en/latest/whatsnew/2/2.14/summary.html#removed-checkers. |
|
1 | 0 | warning | unknown-option-value |
W0012 | Unknown option value for '--disable', expected a valid pylint message and got 'long-suffix' |
|
1 | 0 | warning | unknown-option-value |
W0012 | Unknown option value for '--disable', expected a valid pylint message and got 'old-ne-operator' |
|
1 | 0 | warning | unknown-option-value |
W0012 | Unknown option value for '--disable', expected a valid pylint message and got 'old-octal-literal' |
|
1 | 0 | warning | unknown-option-value |
W0012 | Unknown option value for '--disable', expected a valid pylint message and got 'non-ascii-bytes-literal' |
|
1 | 0 | warning | unknown-option-value |
W0012 | Unknown option value for '--disable', expected a valid pylint message and got 'eq-without-hash' |
tests.test_agent
(tests/test_agent.py
)Line | Col. | Type | Symbol | ID | Obj | Message |
---|---|---|---|---|---|---|
25 | 0 | convention | missing-class-docstring |
C0115 | UpdateModuleConfigTest | Missing class docstring |
29 | 0 | convention | missing-class-docstring |
C0115 | UpdateModuleTest | Missing class docstring |
39 | 0 | convention | missing-class-docstring |
C0115 | HealthCheckTest | Missing class docstring |
52 | 12 | warning | broad-exception-raised |
W0719 | HealthCheckTest._cb | Raising too general exception: Exception |
55 | 0 | refactor | too-many-instance-attributes |
R0902 | TestAgent | Too many instance attributes (8/7) |
79 | 13 | warning | unspecified-encoding |
W1514 | TestAgent.test_filepath_module_settings | Using open without explicitly specifying an encoding |
83 | 4 | convention | missing-function-docstring |
C0116 | TestAgent.test_getters | Missing function or method docstring |
84 | 8 | convention | invalid-name |
C0103 | TestAgent.test_getters | Variable name "ag" doesn't conform to snake_case naming style |
95 | 8 | convention | invalid-name |
C0103 | TestAgent.test_set_config | Variable name "ag" doesn't conform to snake_case naming style |
113 | 8 | convention | invalid-name |
C0103 | TestAgent.test_config_setter | Variable name "ag" doesn't conform to snake_case naming style |
116 | 13 | warning | unspecified-encoding |
W1514 | TestAgent.test_config_setter | Using open without explicitly specifying an encoding |
133 | 8 | convention | invalid-name |
C0103 | TestAgent.test_register_modules | Variable name "ag" doesn't conform to snake_case naming style |
150 | 8 | convention | invalid-name |
C0103 | TestAgent.test_health_check | Variable name "ag" doesn't conform to snake_case naming style |
154 | 8 | convention | invalid-name |
C0103 | TestAgent.test_health_check | Variable name "ag" doesn't conform to snake_case naming style |
160 | 8 | warning | attribute-defined-outside-init |
W0201 | TestAgent.test_health_check | Attribute '_stop_test' defined outside __init__ |
165 | 8 | convention | invalid-name |
C0103 | TestAgent.test_health_check | Variable name "ag" doesn't conform to snake_case naming style |
173 | 12 | warning | attribute-defined-outside-init |
W0201 | TestAgent.test_health_check | Attribute '_still_running' defined outside __init__ |
177 | 12 | warning | attribute-defined-outside-init |
W0201 | TestAgent.test_health_check | Attribute '_stop_test' defined outside __init__ |
186 | 12 | warning | attribute-defined-outside-init |
W0201 | TestAgent._no_daemon_thread | Attribute '_still_running' defined outside __init__ |
tests.test_agentlogger
(tests/test_agentlogger.py
)Line | Col. | Type | Symbol | ID | Obj | Message |
---|---|---|---|---|---|---|
1 | 0 | convention | missing-module-docstring |
C0114 | Missing module docstring |
|
13 | 0 | convention | missing-class-docstring |
C0115 | TestAgentLogger | Missing class docstring |
60 | 8 | warning | protected-access |
W0212 | TestAgentLogger.test_logging_values | Access to a protected member _callback_values of a client class |
61 | 8 | warning | protected-access |
W0212 | TestAgentLogger.test_logging_values | Access to a protected member _log of a client class |
79 | 8 | warning | protected-access |
W0212 | TestAgentLogger.test_logging_full | Access to a protected member _callback_full of a client class |
80 | 8 | warning | protected-access |
W0212 | TestAgentLogger.test_logging_full | Access to a protected member _log of a client class |
95 | 8 | warning | protected-access |
W0212 | TestAgentLogger.test_file_overwrite | Access to a protected member _callback_values of a client class |
96 | 8 | warning | protected-access |
W0212 | TestAgentLogger.test_file_overwrite | Access to a protected member _log of a client class |
111 | 8 | warning | protected-access |
W0212 | TestAgentLogger.test_file_overwrite | Access to a protected member _callback_values of a client class |
112 | 8 | warning | protected-access |
W0212 | TestAgentLogger.test_file_overwrite | Access to a protected member _log of a client class |
129 | 8 | warning | protected-access |
W0212 | TestAgentLogger.test_cleanup | Access to a protected member _callback_values of a client class |
130 | 8 | warning | protected-access |
W0212 | TestAgentLogger.test_cleanup | Access to a protected member _log of a client class |
150 | 12 | warning | protected-access |
W0212 | TestAgentLogger.test_load_from_file | Access to a protected member _callback_values of a client class |
151 | 8 | warning | protected-access |
W0212 | TestAgentLogger.test_load_from_file | Access to a protected member _log of a client class |
173 | 0 | convention | missing-final-newline |
C0304 | Final newline missing |
tests.test_communicator
(tests/test_communicator.py
)Line | Col. | Type | Symbol | ID | Obj | Message |
---|---|---|---|---|---|---|
1 | 0 | convention | missing-module-docstring |
C0114 | Missing module docstring |
|
23 | 0 | convention | missing-class-docstring |
C0115 | TestCommunicator | Missing class docstring |
33 | 4 | convention | missing-function-docstring |
C0116 | TestCommunicator.test_roundtrip_variable | Missing function or method docstring |
42 | 16 | convention | unnecessary-dunder-call |
C2801 | TestCommunicator.test_roundtrip_variable | Unnecessarily calls dunder method __getattribute__. Access attribute directly or use getattr built-in function. |
42 | 50 | convention | unnecessary-dunder-call |
C2801 | TestCommunicator.test_roundtrip_variable | Unnecessarily calls dunder method __getattribute__. Access attribute directly or use getattr built-in function. |
tests.test_data_broker
(tests/test_data_broker.py
)Line | Col. | Type | Symbol | ID | Obj | Message |
---|---|---|---|---|---|---|
32 | 4 | convention | missing-function-docstring |
C0116 | TestLocalDataBroker.perform_callbacks | Missing function or method docstring |
33 | 23 | warning | protected-access |
W0212 | TestLocalDataBroker.perform_callbacks | Access to a protected member _variable_queue of a client class |
34 | 12 | warning | protected-access |
W0212 | TestLocalDataBroker.perform_callbacks | Access to a protected member _execute_callbacks of a client class |
41 | 29 | warning | protected-access |
W0212 | TestLocalDataBroker.test_callback | Access to a protected member _unmapped_callbacks of a client class |
54 | 29 | warning | protected-access |
W0212 | TestLocalDataBroker.test_callback | Access to a protected member _unmapped_callbacks of a client class |
60 | 29 | warning | protected-access |
W0212 | TestLocalDataBroker.test_callback | Access to a protected member _mapped_callbacks of a client class |
74 | 19 | warning | protected-access |
W0212 | TestLocalDataBroker.test_callback | Access to a protected member _mapped_callbacks of a client class |
74 | 8 | warning | unused-variable |
W0612 | TestLocalDataBroker.test_callback | Unused variable 'key' |
77 | 4 | convention | missing-function-docstring |
C0116 | TestLocalDataBroker.dummy_callback | Missing function or method docstring |
80 | 4 | convention | missing-function-docstring |
C0116 | TestLocalDataBroker.test_trigger_recursion_error | Missing function or method docstring |
81 | 8 | warning | attribute-defined-outside-init |
W0201 | TestLocalDataBroker.test_trigger_recursion_error | Attribute 'never_reached' defined outside __init__ |
93 | 4 | convention | missing-function-docstring |
C0116 | TestLocalDataBroker.recursion_callback_1 | Missing function or method docstring |
93 | 35 | warning | unused-argument |
W0613 | TestLocalDataBroker.recursion_callback_1 | Unused argument 'variable' |
96 | 4 | convention | missing-function-docstring |
C0116 | TestLocalDataBroker.recursion_callback_2 | Missing function or method docstring |
96 | 35 | warning | unused-argument |
W0613 | TestLocalDataBroker.recursion_callback_2 | Unused argument 'variable' |
98 | 8 | warning | attribute-defined-outside-init |
W0201 | TestLocalDataBroker.recursion_callback_2 | Attribute 'never_reached' defined outside __init__ |
110 | 8 | convention | missing-class-docstring |
C0115 | TestLocalDataBroker.test_modules_cannot_overwrite_each_others_callbacks.Module | Missing class docstring |
121 | 47 | warning | protected-access |
W0212 | TestLocalDataBroker.test_modules_cannot_overwrite_each_others_callbacks | Access to a protected member _callback_config_vars of a client class |
124 | 0 | convention | line-too-long |
C0301 | Line too long (111/100) |
|
126 | 47 | warning | protected-access |
W0212 | TestLocalDataBroker.test_modules_cannot_overwrite_each_others_callbacks | Access to a protected member _callback_config_vars of a client class |
128 | 29 | warning | protected-access |
W0212 | TestLocalDataBroker.test_modules_cannot_overwrite_each_others_callbacks | Access to a protected member _unmapped_callbacks of a client class |
131 | 47 | warning | protected-access |
W0212 | TestLocalDataBroker.test_modules_cannot_overwrite_each_others_callbacks | Access to a protected member _callback_config_vars of a client class |
133 | 29 | warning | protected-access |
W0212 | TestLocalDataBroker.test_modules_cannot_overwrite_each_others_callbacks | Access to a protected member _unmapped_callbacks of a client class |
158 | 0 | convention | missing-class-docstring |
C0115 | TestRTDataBroker | Missing class docstring |
165 | 13 | warning | protected-access |
W0212 | TestRTDataBroker.setUp | Access to a protected member _start_executing_callbacks of a client class |
tests.test_data_source
(tests/test_data_source.py
)Line | Col. | Type | Symbol | ID | Obj | Message |
---|---|---|---|---|---|---|
1 | 0 | convention | missing-module-docstring |
C0114 | Missing module docstring |
|
15 | 0 | convention | missing-class-docstring |
C0115 | TestCSVDataSource | Missing class docstring |
15 | 0 | refactor | too-many-instance-attributes |
R0902 | TestCSVDataSource | Too many instance attributes (9/7) |
35 | 4 | convention | missing-function-docstring |
C0116 | TestCSVDataSource.create_test_df | Missing function or method docstring |
50 | 4 | convention | missing-function-docstring |
C0116 | TestCSVDataSource.test_datetime_index | Missing function or method docstring |
58 | 4 | convention | missing-function-docstring |
C0116 | TestCSVDataSource.test_float_index | Missing function or method docstring |
66 | 4 | convention | missing-function-docstring |
C0116 | TestCSVDataSource.test_string_number_index | Missing function or method docstring |
74 | 4 | convention | missing-function-docstring |
C0116 | TestCSVDataSource.test_non_convertible_index | Missing function or method docstring |
81 | 4 | convention | missing-function-docstring |
C0116 | TestCSVDataSource.get_data_source_config | Missing function or method docstring |
91 | 4 | convention | missing-function-docstring |
C0116 | TestCSVDataSource.test_data_source_initialization | Missing function or method docstring |
98 | 4 | convention | missing-function-docstring |
C0116 | TestCSVDataSource.test_data_loading | Missing function or method docstring |
104 | 4 | convention | missing-function-docstring |
C0116 | TestCSVDataSource.test_data_offset | Missing function or method docstring |
110 | 4 | convention | missing-function-docstring |
C0116 | TestCSVDataSource.test_interpolation | Missing function or method docstring |
117 | 4 | convention | missing-function-docstring |
C0116 | TestCSVDataSource.test_data_exhaustion | Missing function or method docstring |
121 | 12 | warning | protected-access |
W0212 | TestCSVDataSource.test_data_exhaustion | Access to a protected member _get_next_data of a client class |
122 | 20 | warning | protected-access |
W0212 | TestCSVDataSource.test_data_exhaustion | Access to a protected member _get_next_data of a client class |
tests.test_databroker_limits
(tests/test_databroker_limits.py
)Line | Col. | Type | Symbol | ID | Obj | Message |
---|---|---|---|---|---|---|
6 | 0 | warning | reimported |
W0404 | Reimport 'time' (imported line 3) |
|
6 | 0 | convention | ungrouped-imports |
C0412 | Imports from package time are not grouped |
|
8 | 0 | warning | unused-import |
W0611 | Unused numpy imported as np |
|
14 | 0 | convention | missing-class-docstring |
C0115 | DataBrokerExplosionTest | Missing class docstring |
33 | 0 | convention | missing-class-docstring |
C0115 | Sender | Missing class docstring |
47 | 0 | convention | missing-class-docstring |
C0115 | SlowReceiver | Missing class docstring |
63 | 0 | convention | missing-class-docstring |
C0115 | FaultyReceiver | Missing class docstring |
73 | 8 | warning | broad-exception-raised |
W0719 | FaultyReceiver._do_some_slow_stuff | Raising too general exception: Exception |
76 | 0 | convention | missing-function-docstring |
C0116 | exploding_modules | Missing function or method docstring |
97 | 0 | convention | missing-function-docstring |
C0116 | slow_module | Missing function or method docstring |
112 | 0 | convention | missing-function-docstring |
C0116 | faulty_module | Missing function or method docstring |
126 | 0 | convention | missing-class-docstring |
C0115 | TestDataBrokerLimits | Missing class docstring |
127 | 4 | convention | missing-function-docstring |
C0116 | TestDataBrokerLimits.test_slow_module | Missing function or method docstring |
132 | 4 | convention | missing-function-docstring |
C0116 | TestDataBrokerLimits.test_exploding_module | Missing function or method docstring |
137 | 4 | convention | missing-function-docstring |
C0116 | TestDataBrokerLimits.test_faulty_module | Missing function or method docstring |
tests.test_datamodels
(tests/test_datamodels.py
)Line | Col. | Type | Symbol | ID | Obj | Message |
---|---|---|---|---|---|---|
4 | 0 | warning | unused-import |
W0611 | Unused ValidationError imported from pydantic |
|
5 | 0 | warning | unused-import |
W0611 | Unused errors imported from agentlib.core |
|
6 | 0 | convention | wrong-import-order |
C0411 | third party import "import pandas as pd" should be placed before "from agentlib.core import datamodels, errors" |
|
21 | 4 | convention | missing-function-docstring |
C0116 | TestVariables.test_base_model_variable | Missing function or method docstring |
35 | 12 | refactor | use-dict-literal |
R1735 | TestVariables.test_value_conversion | Consider using '{"name": 'test', "value": 100.0, "type": 'float'}' instead of a call to 'dict'. |
49 | 12 | refactor | use-dict-literal |
R1735 | TestVariables.test_series_sending | Consider using '{"name": 'test', "value": srs, "type": 'pd.Series'}' instead of a call to 'dict'. |
61 | 16 | refactor | use-dict-literal |
R1735 | TestVariables.test_type | Consider using '{"name": 'test', "type": 'not_supported'}' instead of a call to 'dict'. |
64 | 50 | refactor | use-dict-literal |
R1735 | TestVariables.test_type | Consider using '{"name": 'test', "type": float}' instead of a call to 'dict'. |
70 | 16 | refactor | use-dict-literal |
R1735 | TestVariables.test_allowed_values | Consider using '{"name": 'test', "type": 'float', "ub": 10, "lb": 0, "clip": True}' instead of a call to 'dict'. |
80 | 12 | refactor | use-dict-literal |
R1735 | TestVariables.test_allowed_values | Consider using '{"name": 'test', "type": 'float', "value": 20.0, "allowed_values": ['0', '10', 20, 30.0], ... }' instead of a call to 'dict'. |
87 | 12 | convention | invalid-name |
C0103 | TestVariables.test_allowed_values | Variable name "v" doesn't conform to snake_case naming style |
99 | 16 | refactor | use-dict-literal |
R1735 | TestVariables.test_pd_series | Consider using '{"name": 'test', "type": 'pd.Series', "value": value, "ub": 10, "lb": 5, ... }' instead of a call to 'dict'. |
121 | 50 | refactor | use-dict-literal |
R1735 | TestVariables.test_bounds | Consider using '{"name": 'test', "ub": 100, "lb": 200}' instead of a call to 'dict'. |
125 | 12 | refactor | use-dict-literal |
R1735 | TestVariables.test_bounds | Consider using '{"name": 'test', "clip": True, "ub": 100, "lb": 0, "value": 10000}' instead of a call to 'dict'. |
129 | 12 | refactor | use-dict-literal |
R1735 | TestVariables.test_bounds | Consider using '{"name": 'test', "clip": True, "ub": 100, "lb": 0, "value": -10000, ... }' instead of a call to 'dict'. |
215 | 4 | convention | missing-function-docstring |
C0116 | TestVariables.test_source | Missing function or method docstring |
217 | 30 | convention | unnecessary-dunder-call |
C2801 | TestVariables.test_source | Unnecessarily calls dunder method __str__. Use str built-in function. |
tests.test_environment
(tests/test_environment.py
)Line | Col. | Type | Symbol | ID | Obj | Message |
---|---|---|---|---|---|---|
39 | 8 | warning | protected-access |
W0212 | TestEnvironment.test_config_setter | Access to a protected member _config of a client class |
40 | 30 | error | no-member |
E1101 | TestEnvironment.test_config_setter | Instance of 'Environment' has no 'config' member; maybe '_config'? |
42 | 13 | warning | unspecified-encoding |
W1514 | TestEnvironment.test_config_setter | Using open without explicitly specifying an encoding |
44 | 8 | warning | protected-access |
W0212 | TestEnvironment.test_config_setter | Access to a protected member _config of a client class |
45 | 30 | error | no-member |
E1101 | TestEnvironment.test_config_setter | Instance of 'Environment' has no 'config' member; maybe '_config'? |
52 | 8 | error | no-member |
E1101 | TestEnvironment.test_rt | Instance of 'Environment' has no 'run' member |
53 | 32 | error | no-member |
E1101 | TestEnvironment.test_rt | Instance of 'Environment' has no 'time' member |
58 | 30 | error | no-member |
E1101 | TestEnvironment.test_no_config | Instance of 'Environment' has no 'config' member; maybe '_config'? |
tests.test_mas
(tests/test_mas.py
)Line | Col. | Type | Symbol | ID | Obj | Message |
---|---|---|---|---|---|---|
15 | 4 | convention | missing-function-docstring |
C0116 | TestMAS.test_local_mas | Missing function or method docstring |
17 | 4 | convention | missing-function-docstring |
C0116 | TestMAS.test_multiprocessing_mas | Missing function or method docstring |
19 | 4 | convention | missing-function-docstring |
C0116 | TestMAS.test_clonemap_mas | Missing function or method docstring |
tests.test_model
(tests/test_model.py
)Line | Col. | Type | Symbol | ID | Obj | Message |
---|---|---|---|---|---|---|
15 | 0 | convention | missing-class-docstring |
C0115 | DummyModel | Missing class docstring |
88 | 20 | error | abstract-class-instantiated |
E0110 | TestModel.test_abc | Abstract class 'Model' with abstract methods instantiated |
88 | 12 | warning | unused-variable |
W0612 | TestModel.test_abc | Unused variable 'model' |
94 | 12 | warning | pointless-statement |
W0104 | TestModel.test_get_attr | Statement seems to have no effect |
100 | 13 | warning | unspecified-encoding |
W1514 | TestModel.test_generate_config | Using open without explicitly specifying an encoding |
108 | 4 | convention | missing-function-docstring |
C0116 | TestModel.test_get_set | Missing function or method docstring |
121 | 8 | warning | protected-access |
W0212 | TestModel.test_get_set | Access to a protected member _set_state_value of a client class |
123 | 8 | warning | protected-access |
W0212 | TestModel.test_get_set | Access to a protected member _set_output_value of a client class |
138 | 18 | warning | protected-access |
W0212 | TestModel.test_create_time_samples | Access to a protected member _create_time_samples of a client class |
140 | 18 | warning | protected-access |
W0212 | TestModel.test_create_time_samples | Access to a protected member _create_time_samples of a client class |
tests.test_module
(tests/test_module.py
)Line | Col. | Type | Symbol | ID | Obj | Message |
---|---|---|---|---|---|---|
41 | 0 | convention | missing-class-docstring |
C0115 | CustomModuleConfig | Missing class docstring |
49 | 0 | convention | missing-class-docstring |
C0115 | CustomModule | Missing class docstring |
59 | 0 | convention | missing-class-docstring |
C0115 | BrokenCustomModule | Missing class docstring |
158 | 24 | error | unsubscriptable-object |
E1136 | TestModuleConfig._check_source | Value 'CustomModuleConfig.model_fields' is unsubscriptable |
163 | 8 | refactor | no-else-return |
R1705 | TestModuleConfig._check_source | Unnecessary "elif" after "return", remove the leading "el" from "elif" |
187 | 25 | warning | protected-access |
W0212 | TestModuleConfig.test_user_config | Access to a protected member _user_config of a client class |
256 | 12 | warning | unused-variable |
W0612 | TestModule.test_missing_config_type | Unused variable 'mod' |
265 | 30 | warning | protected-access |
W0212 | TestModule.test_properties | Access to a protected member _variables_dict of a client class |
282 | 35 | warning | protected-access |
W0212 | TestModule.test_get_set | Access to a protected member _variables_dict of a client class |
283 | 35 | warning | protected-access |
W0212 | TestModule.test_get_set | Access to a protected member _variables_dict of a client class |
289 | 35 | warning | protected-access |
W0212 | TestModule.test_get_set | Access to a protected member _variables_dict of a client class |
290 | 35 | warning | protected-access |
W0212 | TestModule.test_get_set | Access to a protected member _variables_dict of a client class |
291 | 25 | warning | protected-access |
W0212 | TestModule.test_get_set | Access to a protected member _variables_dict of a client class |
304 | 37 | warning | protected-access |
W0212 | TestModule.test_get_value | Access to a protected member _variables_dict of a client class |
305 | 37 | warning | protected-access |
W0212 | TestModule.test_get_value | Access to a protected member _variables_dict of a client class |
345 | 0 | convention | missing-class-docstring |
C0115 | TestModuleLogging | Missing class docstring |
355 | 12 | convention | invalid-name |
C0103 | TestModuleLogging.tearDown | Variable name "h" doesn't conform to snake_case naming style |
391 | 13 | warning | unspecified-encoding |
W1514 | TestModuleLogging._clear_file | Using open without explicitly specifying an encoding |
396 | 13 | warning | unspecified-encoding |
W1514 | TestModuleLogging._read_file | Using open without explicitly specifying an encoding |
tests.test_n_pingpong
(tests/test_n_pingpong.py
)Line | Col. | Type | Symbol | ID | Obj | Message |
---|---|---|---|---|---|---|
60 | 4 | convention | missing-function-docstring |
C0116 | NPingPong.n | Missing function or method docstring |
60 | 4 | convention | invalid-name |
C0103 | NPingPong.n | Attribute name "n" doesn't conform to snake_case naming style |
93 | 8 | convention | invalid-name |
C0103 | TestNPingPong.setUp | Attribute name "n" doesn't conform to snake_case naming style |
98 | 0 | convention | line-too-long |
C0301 | Line too long (118/100) |
|
101 | 8 | convention | invalid-name |
C0103 | TestNPingPong.test_local_communicators | Variable name "rt" doesn't conform to snake_case naming style |
103 | 34 | convention | invalid-name |
C0103 | TestNPingPong.test_local_communicators | Variable name "rt" doesn't conform to snake_case naming style |
117 | 8 | warning | unused-variable |
W0612 | TestNPingPong.test_multiprocessing_broadcast | Unused variable 'broker' |
130 | 59 | convention | invalid-name |
C0103 | TestNPingPong._create_2n_pingpong_agents | Argument name "rt" doesn't conform to snake_case naming style |
tests.test_plugins
(tests/test_plugins.py
)Line | Col. | Type | Symbol | ID | Obj | Message |
---|---|---|---|---|---|---|
1 | 0 | convention | missing-module-docstring |
C0114 | Missing module docstring |
|
11 | 4 | convention | missing-function-docstring |
C0116 | TestPlugin.test_model_plugin | Missing function or method docstring |
13 | 4 | convention | missing-function-docstring |
C0116 | TestPlugin.test_module_plugin | Missing function or method docstring |
15 | 4 | convention | missing-function-docstring |
C0116 | TestPlugin.test_module_not_found_error | Missing function or method docstring |
tests.test_simulator
(tests/test_simulator.py
)Line | Col. | Type | Symbol | ID | Obj | Message |
---|---|---|---|---|---|---|
1 | 0 | convention | missing-module-docstring |
C0114 | Missing module docstring |
|
60 | 4 | convention | missing-function-docstring |
C0116 | TestSimulator.get_agent | Missing function or method docstring |
94 | 4 | convention | missing-function-docstring |
C0116 | TestSimulator.test_simulation | Missing function or method docstring |
101 | 4 | convention | missing-function-docstring |
C0116 | TestSimulator.test_inputs_and_pars | Missing function or method docstring |
103 | 8 | warning | protected-access |
W0212 | TestSimulator.test_inputs_and_pars | Access to a protected member _callback_update_model_input of a client class |
106 | 8 | warning | protected-access |
W0212 | TestSimulator.test_inputs_and_pars | Access to a protected member _callback_update_model_parameter of a client class |
114 | 4 | convention | missing-function-docstring |
C0116 | TestSimulator.test_save_results | Missing function or method docstring |
141 | 4 | convention | missing-function-docstring |
C0116 | TestSimulator.test_wrong_causality | Missing function or method docstring |
148 | 4 | convention | missing-function-docstring |
C0116 | TestSimulator.test_no_files | Missing function or method docstring |
174 | 13 | warning | unspecified-encoding |
W1514 | TestSimulator.test_model_injection | Using open without explicitly specifying an encoding |
tests.test_simulator_dashboard
(tests/test_simulator_dashboard.py
)Line | Col. | Type | Symbol | ID | Obj | Message |
---|---|---|---|---|---|---|
1 | 0 | convention | missing-module-docstring |
C0114 | Missing module docstring |
|
15 | 0 | convention | missing-class-docstring |
C0115 | TestSimulatorDashboard | Missing class docstring |
17 | 4 | convention | missing-function-docstring |
C0116 | TestSimulatorDashboard.test_load_new_data | Missing function or method docstring |
46 | 4 | convention | missing-function-docstring |
C0116 | TestSimulatorDashboard.test_update_data | Missing function or method docstring |
74 | 4 | convention | missing-function-docstring |
C0116 | TestSimulatorDashboard.test_format_time_axis | Missing function or method docstring |
79 | 4 | convention | missing-function-docstring |
C0116 | TestSimulatorDashboard.test_create_plot | Missing function or method docstring |
tests.test_utils
(tests/test_utils.py
)Line | Col. | Type | Symbol | ID | Obj | Message |
---|---|---|---|---|---|---|
1 | 0 | refactor | duplicate-code |
R0801 | Similar lines in 2 files ==tests.test_communicator:[12:18] ==tests.test_module:[27:33] "allowed_values": [100, 150], "shared": True, "unit": "testUnit", "description": "My Doc", "clip": True, "rdf_class": "MyRDFClass", |
|
1 | 0 | refactor | duplicate-code |
R0801 | Similar lines in 2 files ==tests.test_agent:[203:211] ==tests.test_environment:[61:69] try: os.remove(self.filepath) except FileNotFoundError: pass if __name__ == "__main__": unittest.main() |
|
1 | 0 | refactor | duplicate-code |
R0801 | Similar lines in 2 files ==tests.test_agentlogger:[23:31] ==tests.test_simulator:[60:68] env_config = {"rt": False, "factor": 1} agent_config = {"id": "TestAgent", "modules": []} env = Environment(config=env_config) return Agent(env=env, config=agent_config) def _get_module_cfg(self, **kwargs): """Helper method to create logger config""" return { |
|
58 | 0 | convention | missing-class-docstring |
C0115 | TestLoadConfig | Missing class docstring |
81 | 17 | warning | unspecified-encoding |
W1514 | TestLoadConfig.test_load_config | Using open without explicitly specifying an encoding |
81 | 45 | convention | invalid-name |
C0103 | TestLoadConfig.test_load_config | Variable name "f" doesn't conform to snake_case naming style |
89 | 4 | convention | missing-function-docstring |
C0116 | TestLoadConfig.test_load_config_error | Missing function or method docstring |
Name | Count |
---|---|
refactor | 83 |
warning | 79 |
convention | 98 |
error | 7 |
Name | Count |
---|---|
useless-option-value | 67 |
unknown-option-value | 5 |
reimported | 4 |
broad-exception-raised | 3 |
import-outside-toplevel | 1 |
ungrouped-imports | 4 |
missing-class-docstring | 20 |
too-many-instance-attributes | 2 |
unspecified-encoding | 8 |
missing-function-docstring | 45 |
invalid-name | 15 |
attribute-defined-outside-init | 6 |
missing-final-newline | 1 |
missing-module-docstring | 6 |
protected-access | 43 |
unnecessary-dunder-call | 3 |
line-too-long | 2 |
unused-variable | 4 |
unused-argument | 2 |
unused-import | 3 |
use-dict-literal | 10 |
wrong-import-order | 1 |
no-member | 5 |
abstract-class-instantiated | 1 |
pointless-statement | 1 |
unsubscriptable-object | 1 |
no-else-return | 1 |
duplicate-code | 3 |
Name | Count |
---|---|
/builds/EBC/EBC_all/github_ci/AgentLib/pylintrc | 72 |
run_examples | 8 |
tests.test_agent | 19 |
tests.test_agentlogger | 15 |
tests.test_communicator | 5 |
tests.test_data_broker | 25 |
tests.test_data_source | 16 |
tests.test_databroker_limits | 15 |
tests.test_datamodels | 17 |
tests.test_environment | 8 |
tests.test_mas | 3 |
tests.test_model | 10 |
tests.test_module | 19 |
tests.test_n_pingpong | 8 |
tests.test_plugins | 4 |
tests.test_simulator | 10 |
tests.test_simulator_dashboard | 6 |
tests.test_utils | 7 |
Name | Count |
---|---|
pylintrc | 72 |
ci/run_examples.py | 8 |
tests/test_agent.py | 19 |
tests/test_agentlogger.py | 15 |
tests/test_communicator.py | 5 |
tests/test_data_broker.py | 25 |
tests/test_data_source.py | 16 |
tests/test_databroker_limits.py | 15 |
tests/test_datamodels.py | 17 |
tests/test_environment.py | 8 |
tests/test_mas.py | 3 |
tests/test_model.py | 10 |
tests/test_module.py | 19 |
tests/test_n_pingpong.py | 8 |
tests/test_plugins.py | 4 |
tests/test_simulator.py | 10 |
tests/test_simulator_dashboard.py | 6 |
tests/test_utils.py | 7 |