OVSDB application library
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 2.3KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  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: This list is copied from neutron, the options which do not need to be
  8. # suppressed have been removed.
  9. disable=
  10. # "F" Fatal errors that prevent further processing
  11. # "I" Informational noise
  12. # "E" Error for important programming issues (likely bugs)
  13. no-member,
  14. # "W" Warnings for stylistic problems or minor programming issues
  15. arguments-differ,
  16. attribute-defined-outside-init,
  17. broad-except,
  18. fixme,
  19. protected-access,
  20. redefined-outer-name,
  21. unused-argument,
  22. useless-super-delegation,
  23. # "C" Coding convention violations
  24. bad-continuation,
  25. invalid-name,
  26. missing-docstring,
  27. # "R" Refactor recommendations
  28. duplicate-code,
  29. no-self-use,
  30. too-few-public-methods,
  31. too-many-ancestors,
  32. too-many-arguments,
  33. too-many-branches,
  34. too-many-instance-attributes,
  35. too-many-lines,
  36. too-many-locals,
  37. too-many-public-methods,
  38. too-many-return-statements,
  39. inconsistent-return-statements,
  40. catching-non-exception,
  41. using-constant-test,
  42. too-many-statements
  43. [BASIC]
  44. # Variable names can be 1 to 31 characters long, with lowercase and underscores
  45. variable-rgx=[a-z_][a-z0-9_]{0,30}$
  46. # Argument names can be 2 to 31 characters long, with lowercase and underscores
  47. argument-rgx=[a-z_][a-z0-9_]{1,30}$
  48. # Method names should be at least 3 characters long
  49. # and be lowercased with underscores
  50. method-rgx=([a-z_][a-z0-9_]{2,}|setUp|tearDown)$
  51. # Module names matching
  52. module-rgx=(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+))$
  53. # Don't require docstrings on tests.
  54. no-docstring-rgx=((__.*__)|([tT]est.*)|setUp|tearDown)$
  55. [FORMAT]
  56. # Maximum number of characters on a single line.
  57. max-line-length=79
  58. [VARIABLES]
  59. # List of additional names supposed to be defined in builtins. Remember that
  60. # you should avoid to define new builtins when possible.
  61. additional-builtins=
  62. [CLASSES]
  63. # List of interface methods to ignore, separated by a comma.
  64. ignore-iface-methods=
  65. [IMPORTS]
  66. # Deprecated modules which should not be used, separated by a comma
  67. deprecated-modules=
  68. [TYPECHECK]
  69. # List of module names for which member attributes should not be checked
  70. ignored-modules=six.moves,_MovedItems
  71. [REPORTS]
  72. # Tells whether to display a full report or only the messages
  73. reports=no