Neutron drivers for OpenDaylight.
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.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  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. ignore=.git,tests
  7. [MESSAGES CONTROL]
  8. # NOTE(gus): This is a long list. A number of these are important and
  9. # should be re-enabled once the offending code is fixed (or marked
  10. # with a local disable)
  11. disable=
  12. # "F" Fatal errors that prevent further processing
  13. import-error,
  14. # "I" Informational noise
  15. locally-disabled,
  16. # "E" Error for important programming issues (likely bugs)
  17. access-member-before-definition,
  18. no-member,
  19. no-method-argument,
  20. no-self-argument,
  21. # "W" Warnings for stylistic problems or minor programming issues
  22. abstract-method,
  23. arguments-differ,
  24. attribute-defined-outside-init,
  25. bad-builtin,
  26. bad-indentation,
  27. broad-except,
  28. cyclic-import,
  29. dangerous-default-value,
  30. deprecated-lambda,
  31. expression-not-assigned,
  32. fixme,
  33. global-statement,
  34. no-init,
  35. non-parent-init-called,
  36. protected-access,
  37. redefined-builtin,
  38. redefined-outer-name,
  39. signature-differs,
  40. star-args,
  41. super-init-not-called,
  42. unpacking-non-sequence,
  43. unused-argument,
  44. unused-import,
  45. unused-variable,
  46. # "C" Coding convention violations
  47. bad-continuation,
  48. invalid-name,
  49. missing-docstring,
  50. superfluous-parens,
  51. # "R" Refactor recommendations
  52. abstract-class-little-used,
  53. abstract-class-not-used,
  54. duplicate-code,
  55. interface-not-implemented,
  56. no-self-use,
  57. too-few-public-methods,
  58. too-many-ancestors,
  59. too-many-arguments,
  60. too-many-branches,
  61. too-many-instance-attributes,
  62. too-many-lines,
  63. too-many-locals,
  64. too-many-public-methods,
  65. too-many-return-statements,
  66. too-many-statements
  67. [BASIC]
  68. # Variable names can be 1 to 31 characters long, with lowercase and underscores
  69. variable-rgx=[a-z_][a-z0-9_]{0,30}$
  70. # Argument names can be 2 to 31 characters long, with lowercase and underscores
  71. argument-rgx=[a-z_][a-z0-9_]{1,30}$
  72. # Method names should be at least 3 characters long
  73. # and be lowecased with underscores
  74. method-rgx=([a-z_][a-z0-9_]{2,}|setUp|tearDown)$
  75. # Module names matching neutron-* are ok (files in bin/)
  76. module-rgx=(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+)|(neutron-[a-z0-9_-]+))$
  77. # Don't require docstrings on tests.
  78. no-docstring-rgx=((__.*__)|([tT]est.*)|setUp|tearDown)$
  79. [FORMAT]
  80. # Maximum number of characters on a single line.
  81. max-line-length=79
  82. [VARIABLES]
  83. # List of additional names supposed to be defined in builtins. Remember that
  84. # you should avoid to define new builtins when possible.
  85. # _ is used by our localization
  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