Neutron integration with OVN
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.

115 lines
3.0KB

  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. # TODO: This list is copied from neutron, the options which do not need to be
  8. # suppressed have been already removed, some of the remaining options will be
  9. # removed by code adjustment.
  10. disable=
  11. # "F" Fatal errors that prevent further processing
  12. import-error,
  13. # "I" Informational noise
  14. # "E" Error for important programming issues (likely bugs)
  15. no-member,
  16. # "W" Warnings for stylistic problems or minor programming issues
  17. abstract-method,
  18. arguments-differ,
  19. attribute-defined-outside-init,
  20. broad-except,
  21. dangerous-default-value,
  22. fixme,
  23. global-statement,
  24. no-init,
  25. protected-access,
  26. redefined-builtin,
  27. redefined-outer-name,
  28. signature-differs,
  29. unused-argument,
  30. unused-import,
  31. unused-variable,
  32. useless-super-delegation,
  33. # "C" Coding convention violations
  34. bad-continuation,
  35. invalid-name,
  36. len-as-condition,
  37. misplaced-comparison-constant,
  38. missing-docstring,
  39. superfluous-parens,
  40. ungrouped-imports,
  41. wrong-import-order,
  42. # "R" Refactor recommendations
  43. duplicate-code,
  44. no-else-return,
  45. no-self-use,
  46. too-few-public-methods,
  47. too-many-ancestors,
  48. too-many-arguments,
  49. too-many-branches,
  50. too-many-instance-attributes,
  51. too-many-lines,
  52. too-many-locals,
  53. too-many-public-methods,
  54. too-many-return-statements,
  55. too-many-statements,
  56. inconsistent-return-statements,
  57. useless-object-inheritance,
  58. too-many-nested-blocks,
  59. too-many-boolean-expressions,
  60. not-callable,
  61. # new for python3 version of pylint
  62. chained-comparison,
  63. consider-using-dict-comprehension,
  64. consider-using-in,
  65. consider-using-set-comprehension,
  66. unnecessary-pass,
  67. useless-object-inheritance
  68. [BASIC]
  69. # Variable names can be 1 to 31 characters long, with lowercase and underscores
  70. variable-rgx=[a-z_][a-z0-9_]{0,30}$
  71. # Argument names can be 2 to 31 characters long, with lowercase and underscores
  72. argument-rgx=[a-z_][a-z0-9_]{1,30}$
  73. # Method names should be at least 3 characters long
  74. # and be lowercased with underscores
  75. method-rgx=([a-z_][a-z0-9_]{2,}|setUp|tearDown)$
  76. # Module names matching
  77. module-rgx=(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+))$
  78. # Don't require docstrings on tests.
  79. no-docstring-rgx=((__.*__)|([tT]est.*)|setUp|tearDown)$
  80. [FORMAT]
  81. # Maximum number of characters on a single line.
  82. max-line-length=79
  83. [VARIABLES]
  84. # List of additional names supposed to be defined in builtins. Remember that
  85. # you should avoid to define new builtins when possible.
  86. additional-builtins=
  87. [CLASSES]
  88. # List of interface methods to ignore, separated by a comma.
  89. ignore-iface-methods=
  90. [IMPORTS]
  91. # Deprecated modules which should not be used, separated by a comma
  92. deprecated-modules=
  93. # should use oslo_serialization.jsonutils
  94. json
  95. [TYPECHECK]
  96. # List of module names for which member attributes should not be checked
  97. ignored-modules=six.moves,_MovedItems
  98. [REPORTS]
  99. # Tells whether to display a full report or only the messages
  100. reports=no