OpenStack Dashboard (Horizon)
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 1.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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=test
  6. [Messages Control]
  7. # NOTE(justinsb): We might want to have a 2nd strict pylintrc in future
  8. # C0111: Don't require docstrings on every method
  9. # W0511: TODOs in code comments are fine.
  10. # W0142: *args and **kwargs are fine.
  11. # W0622: Redefining id is fine.
  12. disable=C0111,W0511,W0142,W0622
  13. [Basic]
  14. # Variable names can be 1 to 31 characters long, with lowercase and underscores
  15. variable-rgx=[a-z_][a-z0-9_]{0,30}$
  16. # Argument names can be 2 to 31 characters long, with lowercase and underscores
  17. argument-rgx=[a-z_][a-z0-9_]{1,30}$
  18. # Method names should be at least 3 characters long
  19. # and be lowecased with underscores
  20. method-rgx=([a-z_][a-z0-9_]{2,50}|setUp|tearDown)$
  21. # Module names matching keystone-* are ok (files in bin/)
  22. module-rgx=(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+)|(keystone-[a-z0-9_-]+))$
  23. # Don't require docstrings on tests.
  24. no-docstring-rgx=((__.*__)|([tT]est.*)|setUp|tearDown)$
  25. [Design]
  26. max-public-methods=100
  27. min-public-methods=0
  28. max-args=6
  29. [Variables]
  30. # List of additional names supposed to be defined in builtins. Remember that
  31. # you should avoid to define new builtins when possible.
  32. # _ is used by our localization
  33. additional-builtins=_