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.

87 lines
2.4 KiB

  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=Tecnativa
  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,OPL-1,OEEL-1
  10. valid_odoo_versions=14.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-author,
  38. manifest-required-key,
  39. manifest-version-format,
  40. method-compute,
  41. method-inverse,
  42. method-required-super,
  43. method-search,
  44. missing-import-error,
  45. missing-manifest-dependency,
  46. openerp-exception-warning,
  47. pointless-statement,
  48. pointless-string-statement,
  49. print-used,
  50. redundant-keyword-arg,
  51. redundant-modulename-xml,
  52. reimported,
  53. relative-import,
  54. return-in-init,
  55. rst-syntax-error,
  56. sql-injection,
  57. too-few-format-args,
  58. translation-field,
  59. translation-required,
  60. unreachable,
  61. use-vim-comment,
  62. wrong-tabs-instead-of-spaces,
  63. xml-syntax-error,
  64. # messages that do not cause the lint step to fail
  65. consider-merging-classes-inherited,
  66. create-user-wo-reset-password,
  67. dangerous-filter-wo-user,
  68. deprecated-module,
  69. file-not-used,
  70. invalid-commit,
  71. missing-newline-extrafiles,
  72. missing-readme,
  73. no-utf8-coding-comment,
  74. odoo-addons-relative-import,
  75. old-api7-method-defined,
  76. redefined-builtin,
  77. too-complex,
  78. unnecessary-utf8-coding-comment
  79. [REPORTS]
  80. msg-template={path}:{line}: [{msg_id}({symbol}), {obj}] {msg}
  81. output-format=colorized
  82. reports=no