| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Marking of line positions for error suppression needed finetuning
in other to make them more robust. They did not work for multiline
statements like decorated functions/methods etc.
|
|
|
|
|
| |
pylintlmi could raise an attribute error, when checking
module name
|
|
|
|
|
|
| |
allow arguments 2 characters long
allow any arguments in provider methods to be unused
- support functions spawning its arguments on multiple lines
|
|
|
|
|
|
|
|
|
|
|
| |
supressed:
* too short variable names (allowed 2 chars long)
* use of * and ** magic
* warnings about hierarchically nested classes under Values
* get_providers not required for each provider module
* too long method names
made 'i' a dummy variable
|
|
|
|
|
|
|
|
|
| |
added allow_cmpi_logging module for suppressing errors concerning
logging statements
disabled our custom C9904 warning message because of providers like
CapabilitiesProvider having no prefix
- but still checking for consistency in module name and class name
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
also modified mof, so it's better parseable
greatly reduced pylint errors and warnings
LMI_SoftwareInstalledPackage now returns reference to
Linux_ComputerSystem instead of CIM_ComputerSystem
|
|
pylintlmi uses pylint (python source code checking utility)
- giving it custom configuration for openlmi project and
plugins with additional checks
for usage see src/software/README
renamed directory "src/software/providers" to
"src/software/openlmi/software"
* allows installation to custom PYTHONPATH together with openlmi-python egg
* that also allows running pylint on sources in devel directory without
messages like:
W0403: 28,0: Relative import 'openlmi.software.core', should be
'openlmi.software.openlmi.software.core'
E0611: 28,0: No name 'software' in module 'openlmi'
F0401: 28,0: Unable to import 'openlmi.software.core'
|