Firewall services for OpenStack Neutron.
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.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  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. bad-super-call,
  19. maybe-no-member,
  20. no-member,
  21. no-method-argument,
  22. no-self-argument,
  23. not-callable,
  24. no-value-for-parameter,
  25. super-on-old-class,
  26. too-few-format-args,
  27. # "W" Warnings for stylistic problems or minor programming issues
  28. abstract-method,
  29. anomalous-backslash-in-string,
  30. anomalous-unicode-escape-in-string,
  31. arguments-differ,
  32. attribute-defined-outside-init,
  33. bad-builtin,
  34. bad-indentation,
  35. broad-except,
  36. dangerous-default-value,
  37. deprecated-lambda,
  38. duplicate-key,
  39. expression-not-assigned,
  40. fixme,
  41. global-statement,
  42. global-variable-not-assigned,
  43. logging-not-lazy,
  44. no-init,
  45. non-parent-init-called,
  46. pointless-string-statement,
  47. protected-access,
  48. redefined-builtin,
  49. redefined-outer-name,
  50. redefine-in-handler,
  51. signature-differs,
  52. star-args,
  53. super-init-not-called,
  54. unnecessary-lambda,
  55. unnecessary-pass,
  56. unpacking-non-sequence,
  57. unreachable,
  58. unused-argument,
  59. unused-import,
  60. unused-variable,
  61. # TODO(dougwig) - disable nonstandard-exception while we have neutron_lib shims
  62. nonstandard-exception,
  63. # "C" Coding convention violations
  64. bad-continuation,
  65. invalid-name,
  66. missing-docstring,
  67. old-style-class,
  68. superfluous-parens,
  69. # "R" Refactor recommendations
  70. abstract-class-little-used,
  71. abstract-class-not-used,
  72. duplicate-code,
  73. interface-not-implemented,
  74. no-self-use,
  75. too-few-public-methods,
  76. too-many-ancestors,
  77. too-many-arguments,
  78. too-many-branches,
  79. too-many-instance-attributes,
  80. too-many-lines,
  81. too-many-locals,
  82. too-many-public-methods,
  83. too-many-return-statements,
  84. too-many-statements
  85. [BASIC]
  86. # Variable names can be 1 to 31 characters long, with lowercase and underscores
  87. variable-rgx=[a-z_][a-z0-9_]{0,30}$
  88. # Argument names can be 2 to 31 characters long, with lowercase and underscores
  89. argument-rgx=[a-z_][a-z0-9_]{1,30}$
  90. # Method names should be at least 3 characters long
  91. # and be lowercased with underscores
  92. method-rgx=([a-z_][a-z0-9_]{2,}|setUp|tearDown)$
  93. # Module names matching neutron-* are ok (files in bin/)
  94. module-rgx=(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+)|(neutron-[a-z0-9_-]+))$
  95. # Don't require docstrings on tests.
  96. no-docstring-rgx=((__.*__)|([tT]est.*)|setUp|tearDown)$
  97. [FORMAT]
  98. # Maximum number of characters on a single line.
  99. max-line-length=79
  100. [VARIABLES]
  101. # List of additional names supposed to be defined in builtins. Remember that
  102. # you should avoid to define new builtins when possible.
  103. # _ is used by our localization
  104. additional-builtins=_
  105. [CLASSES]
  106. # List of interface methods to ignore, separated by a comma.
  107. ignore-iface-methods=
  108. [IMPORTS]
  109. # Deprecated modules which should not be used, separated by a comma
  110. deprecated-modules=
  111. # should use oslo_serialization.jsonutils
  112. json
  113. [TYPECHECK]
  114. # List of module names for which member attributes should not be checked
  115. ignored-modules=six.moves,_MovedItems
  116. [REPORTS]
  117. # Tells whether to display a full report or only the messages
  118. reports=no