summaryrefslogtreecommitdiffstats
path: root/tools/pylint
Commit message (Collapse)AuthorAgeFilesLines
* fixed pylint plugins0.0.18Michal Minar2013-02-041-6/+7
| | | | | | 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.
* fixed pylint pluginMichal Minar2013-01-311-1/+5
| | | | | pylintlmi could raise an attribute error, when checking module name
* made pylint more friendlyMichal Minar2013-01-242-6/+6
| | | | | | allow arguments 2 characters long allow any arguments in provider methods to be unused - support functions spawning its arguments on multiple lines
* made pylint more friendlyMichal Minar2013-01-242-29/+38
| | | | | | | | | | | 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
* pyling plugins improvementsMichal Minar2013-01-233-13/+95
| | | | | | | | | 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
* Fixed traceback on checking class with constants inside.Jan Safranek2013-01-231-0/+2
|
* Suppress common CIMProvider2 messages before analyzing other errors.Jan Safranek2013-01-231-1/+1
|
* Ignore 'W0613: unused argument' in entry methods from CIMOM.Jan Safranek2013-01-231-0/+12
|
* fixed most of pylint errorsMichal Minar2012-11-291-0/+3
| | | | | | | | | 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
* added pylintlmi checker for python source checkingMichal Minar2012-11-287-0/+566
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'