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.

86 lines
2.4 KiB

5 years ago
  1. [MASTER]
  2. load-plugins=pylint_odoo
  3. score=n
  4. [ODOOLINT]
  5. readme_template_url="https://github.com/OCA/maintainer-tools/blob/master/template/module/README.rst"
  6. # manifest_required_authors=
  7. manifest_required_keys=license
  8. manifest_deprecated_keys=description,active
  9. license_allowed=AGPL-3,GPL-2,GPL-2 or any later version,GPL-3,GPL-3 or any later version,LGPL-3
  10. valid_odoo_versions=12.0
  11. [MESSAGES CONTROL]
  12. disable=all
  13. # This .pylintrc contains optional AND mandatory checks and is meant to be
  14. # loaded in an IDE to have it check everything, in the hope this will make
  15. # optional checks more visible to contributors who otherwise never look at a
  16. # green travis to see optional checks that failed.
  17. # .pylintrc-mandatory containing only mandatory checks is used the pre-commit
  18. # config as a blocking check.
  19. enable=anomalous-backslash-in-string,
  20. api-one-deprecated,
  21. api-one-multi-together,
  22. assignment-from-none,
  23. attribute-deprecated,
  24. class-camelcase,
  25. dangerous-default-value,
  26. dangerous-view-replace-wo-priority,
  27. duplicate-id-csv,
  28. duplicate-key,
  29. duplicate-xml-fields,
  30. duplicate-xml-record-id,
  31. eval-referenced,
  32. eval-used,
  33. incoherent-interpreter-exec-perm,
  34. license-allowed,
  35. manifest-author-string,
  36. manifest-deprecated-key,
  37. manifest-required-key,
  38. manifest-version-format,
  39. method-compute,
  40. method-inverse,
  41. method-required-super,
  42. method-search,
  43. missing-import-error,
  44. missing-manifest-dependency,
  45. openerp-exception-warning,
  46. pointless-statement,
  47. pointless-string-statement,
  48. print-used,
  49. redundant-keyword-arg,
  50. redundant-modulename-xml,
  51. reimported,
  52. relative-import,
  53. return-in-init,
  54. rst-syntax-error,
  55. sql-injection,
  56. too-few-format-args,
  57. translation-field,
  58. translation-required,
  59. unreachable,
  60. use-vim-comment,
  61. wrong-tabs-instead-of-spaces,
  62. xml-syntax-error,
  63. # messages that do not cause the lint step to fail
  64. consider-merging-classes-inherited,
  65. create-user-wo-reset-password,
  66. dangerous-filter-wo-user,
  67. deprecated-module,
  68. file-not-used,
  69. invalid-commit,
  70. missing-newline-extrafiles,
  71. missing-readme,
  72. no-utf8-coding-comment,
  73. odoo-addons-relative-import,
  74. old-api7-method-defined,
  75. redefined-builtin,
  76. too-complex,
  77. unnecessary-utf8-coding-comment
  78. [REPORTS]
  79. msg-template={path}:{line}: [{msg_id}({symbol}), {obj}] {msg}
  80. output-format=colorized
  81. reports=no