Merge OpenStack related logs meaningfully.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

.pylintrc 3.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. # The format of this file isn't really documented; just use --generate-rcfile
  2. [MASTER]
  3. # Add <file or directory> to the black list. It should be a base name, not a
  4. # path. You may set this option multiple times.
  5. ignore=.git,tests
  6. [MESSAGES CONTROL]
  7. # NOTE(gus): This is a long list. A number of these are important and
  8. # should be re-enabled once the offending code is fixed (or marked
  9. # with a local disable)
  10. disable=
  11. # "F" Fatal errors that prevent further processing
  12. import-error,
  13. # "I" Informational noise
  14. locally-disabled,
  15. # "E" Error for important programming issues (likely bugs)
  16. access-member-before-definition,
  17. anomalous-backslash-in-string,
  18. no-member,
  19. no-method-argument,
  20. no-self-argument,
  21. not-an-iterable,
  22. # "W" Warnings for stylistic problems or minor programming issues
  23. abstract-method,
  24. arguments-differ,
  25. attribute-defined-outside-init,
  26. bad-builtin,
  27. bad-indentation,
  28. broad-except,
  29. dangerous-default-value,
  30. deprecated-lambda,
  31. expression-not-assigned,
  32. fixme,
  33. global-statement,
  34. literal-comparison,
  35. no-init,
  36. non-parent-init-called,
  37. not-callable,
  38. protected-access,
  39. redefined-builtin,
  40. redefined-outer-name,
  41. signature-differs,
  42. star-args,
  43. super-init-not-called,
  44. super-on-old-class,
  45. unpacking-non-sequence,
  46. unused-argument,
  47. unused-import,
  48. unused-variable,
  49. useless-super-delegation,
  50. nonstandard-exception,
  51. # "C" Coding convention violations
  52. bad-continuation,
  53. consider-iterating-dictionary,
  54. consider-using-enumerate,
  55. invalid-name,
  56. len-as-condition,
  57. misplaced-comparison-constant,
  58. missing-docstring,
  59. singleton-comparison,
  60. superfluous-parens,
  61. ungrouped-imports,
  62. wrong-import-order,
  63. # "R" Refactor recommendations
  64. abstract-class-little-used,
  65. abstract-class-not-used,
  66. consider-merging-isinstance,
  67. consider-using-ternary,
  68. duplicate-code,
  69. interface-not-implemented,
  70. no-else-return,
  71. no-self-use,
  72. redefined-argument-from-local,
  73. simplifiable-if-statement,
  74. too-few-public-methods,
  75. too-many-ancestors,
  76. too-many-arguments,
  77. too-many-branches,
  78. too-many-instance-attributes,
  79. too-many-lines,
  80. too-many-locals,
  81. too-many-nested-blocks,
  82. too-many-public-methods,
  83. too-many-return-statements,
  84. too-many-statements,
  85. useless-object-inheritance
  86. [BASIC]
  87. # Variable names can be 1 to 31 characters long, with lowercase and underscores
  88. variable-rgx=[a-z_][a-z0-9_]{0,30}$
  89. # Argument names can be 2 to 31 characters long, with lowercase and underscores
  90. argument-rgx=[a-z_][a-z0-9_]{1,30}$
  91. # Method names should be at least 3 characters long
  92. # and be lowercased with underscores
  93. method-rgx=([a-z_][a-z0-9_]{2,}|setUp|tearDown)$
  94. # Don't require docstrings on tests.
  95. no-docstring-rgx=((__.*__)|([tT]est.*)|setUp|tearDown)$
  96. [FORMAT]
  97. # Maximum number of characters on a single line.
  98. max-line-length=79
  99. [VARIABLES]
  100. # List of additional names supposed to be defined in builtins. Remember that
  101. # you should avoid to define new builtins when possible.
  102. # _ is used by our localization
  103. additional-builtins=_
  104. [CLASSES]
  105. # List of interface methods to ignore, separated by a comma.
  106. ignore-iface-methods=
  107. [IMPORTS]
  108. # Deprecated modules which should not be used, separated by a comma
  109. deprecated-modules=
  110. # should use oslo_serialization.jsonutils
  111. json
  112. [TYPECHECK]
  113. # List of module names for which member attributes should not be checked
  114. ignored-modules=six.moves,_MovedItems
  115. [REPORTS]
  116. # Tells whether to display a full report or only the messages
  117. reports=no