Neutron integration for Huawei Technologies
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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  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. #
  6. # Note the 'openstack' below is intended to match only
  7. # neutron.openstack.common. If we ever have another 'openstack'
  8. # dirname, then we'll need to expand the ignore features in pylint :/
  9. ignore=.git,tests,openstack
  10. [MESSAGES CONTROL]
  11. # NOTE(gus): This is a long list. A number of these are important and
  12. # should be re-enabled once the offending code is fixed (or marked
  13. # with a local disable)
  14. disable=
  15. # "F" Fatal errors that prevent further processing
  16. import-error,
  17. # "I" Informational noise
  18. locally-disabled,
  19. # "E" Error for important programming issues (likely bugs)
  20. access-member-before-definition,
  21. no-member,
  22. no-method-argument,
  23. no-self-argument,
  24. # "W" Warnings for stylistic problems or minor programming issues
  25. abstract-method,
  26. arguments-differ,
  27. attribute-defined-outside-init,
  28. bad-builtin,
  29. bad-indentation,
  30. broad-except,
  31. dangerous-default-value,
  32. deprecated-lambda,
  33. expression-not-assigned,
  34. fixme,
  35. global-statement,
  36. no-init,
  37. non-parent-init-called,
  38. not-callable,
  39. protected-access,
  40. redefined-builtin,
  41. redefined-outer-name,
  42. signature-differs,
  43. star-args,
  44. super-init-not-called,
  45. super-on-old-class,
  46. unpacking-non-sequence,
  47. unused-argument,
  48. unused-import,
  49. unused-variable,
  50. # TODO(dougwig) - disable nonstandard-exception while we have neutron_lib shims
  51. nonstandard-exception,
  52. # "C" Coding convention violations
  53. bad-continuation,
  54. invalid-name,
  55. missing-docstring,
  56. superfluous-parens,
  57. # "R" Refactor recommendations
  58. abstract-class-little-used,
  59. abstract-class-not-used,
  60. duplicate-code,
  61. interface-not-implemented,
  62. no-self-use,
  63. too-few-public-methods,
  64. too-many-ancestors,
  65. too-many-arguments,
  66. too-many-branches,
  67. too-many-instance-attributes,
  68. too-many-lines,
  69. too-many-locals,
  70. too-many-public-methods,
  71. too-many-return-statements,
  72. too-many-statements
  73. [BASIC]
  74. # Variable names can be 1 to 31 characters long, with lowercase and underscores
  75. variable-rgx=[a-z_][a-z0-9_]{0,30}$
  76. # Argument names can be 2 to 31 characters long, with lowercase and underscores
  77. argument-rgx=[a-z_][a-z0-9_]{1,30}$
  78. # Method names should be at least 3 characters long
  79. # and be lowecased with underscores
  80. method-rgx=([a-z_][a-z0-9_]{2,}|setUp|tearDown)$
  81. # Module names matching neutron-* are ok (files in bin/)
  82. module-rgx=(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+)|(neutron-[a-z0-9_-]+))$
  83. # Don't require docstrings on tests.
  84. no-docstring-rgx=((__.*__)|([tT]est.*)|setUp|tearDown)$
  85. [FORMAT]
  86. # Maximum number of characters on a single line.
  87. max-line-length=79
  88. [VARIABLES]
  89. # List of additional names supposed to be defined in builtins. Remember that
  90. # you should avoid to define new builtins when possible.
  91. # _ is used by our localization
  92. additional-builtins=_
  93. [CLASSES]
  94. # List of interface methods to ignore, separated by a comma.
  95. ignore-iface-methods=
  96. [IMPORTS]
  97. # Deprecated modules which should not be used, separated by a comma
  98. deprecated-modules=
  99. # should use openstack.common.jsonutils
  100. json
  101. [TYPECHECK]
  102. # List of module names for which member attributes should not be checked
  103. ignored-modules=six.moves,_MovedItems
  104. [REPORTS]
  105. # Tells whether to display a full report or only the messages
  106. reports=no