Skip to content

Commit

Permalink
[UPD] Update diffs for nitpicking tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
celm1990 committed Nov 12, 2023
1 parent 1ed1a87 commit 6754df5
Show file tree
Hide file tree
Showing 16 changed files with 888 additions and 393 deletions.
57 changes: 57 additions & 0 deletions tests/samples/mqt-diffs/v10.0-.pylintrc-mandatory.diff
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
0a1
>
6a8
> manifest_required_authors=Odoo Community Association (OCA)
8,9c10,12
< manifest_deprecated_keys=active
< valid_odoo_versions=10.0
---
> manifest_deprecated_keys=description,active
> license_allowed=AGPL-3,GPL-2,GPL-2 or any later version,GPL-3,GPL-3 or any later version,LGPL-3
> valid_odoo_versions=13.0
14,29c17
<
< enable=attribute-deprecated,
< manifest-author-string,
< manifest-deprecated-key,
< manifest-required-key,
< manifest-version-format,
< method-compute,
< method-inverse,
< method-required-super,
< method-search,
< print-used,
< sql-injection,
< translation-field,
< translation-required,
< use-vim-comment,
< anomalous-backslash-in-string,
---
> enable=anomalous-backslash-in-string,
32a21
> attribute-deprecated,
35a25
> development-status-allowed,
43,44c33,42
< missing-import-error,
< missing-manifest-dependency,
---
> license-allowed,
> manifest-author-string,
> manifest-deprecated-key,
> manifest-required-author,
> manifest-required-key,
> manifest-version-format,
> method-compute,
> method-inverse,
> method-required-super,
> method-search,
47a46
> print-used,
53a53
> sql-injection,
54a55,56
> translation-field,
> translation-required,
55a58
> use-vim-comment,
77 changes: 77 additions & 0 deletions tests/samples/mqt-diffs/v10.0-.pylintrc.diff
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
0a1,2
>
>
7c9
< manifest_required_authors=Tecnativa
---
> manifest_required_authors=Odoo Community Association (OCA)
10,11c12,13
< 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
< valid_odoo_versions=10.0
---
> license_allowed=AGPL-3,GPL-2,GPL-2 or any later version,GPL-3,GPL-3 or any later version,LGPL-3
> valid_odoo_versions=13.0
23,44c25
< # messages that do not cause the lint step to fail
< enable=attribute-deprecated,
< consider-merging-classes-inherited,
< invalid-commit,
< license-allowed,
< manifest-author-string,
< manifest-deprecated-key,
< manifest-required-author,
< manifest-required-key,
< manifest-version-format,
< method-compute,
< method-inverse,
< method-required-super,
< method-search,
< missing-readme,
< odoo-addons-relative-import,
< print-used,
< sql-injection,
< translation-field,
< translation-required,
< use-vim-comment,
< anomalous-backslash-in-string,
---
> enable=anomalous-backslash-in-string,
47a29
> attribute-deprecated,
50a33
> development-status-allowed,
58,59c41,50
< missing-import-error,
< missing-manifest-dependency,
---
> license-allowed,
> manifest-author-string,
> manifest-deprecated-key,
> manifest-required-author,
> manifest-required-key,
> manifest-version-format,
> method-compute,
> method-inverse,
> method-required-super,
> method-search,
62a54
> print-used,
68a61
> sql-injection,
69a63,64
> translation-field,
> translation-required,
70a66
> use-vim-comment,
72a69,70
> # messages that do not cause the lint step to fail
> consider-merging-classes-inherited,
76a75,76
> invalid-commit,
> missing-manifest-dependency,
77a78
> missing-readme,
78a80
> odoo-addons-relative-import,
82a85
>
85 changes: 29 additions & 56 deletions tests/samples/mqt-diffs/v11.0-.pylintrc-mandatory.diff
Original file line number Diff line number Diff line change
@@ -1,29 +1,16 @@
6a7
0a1
>
6a8
> manifest_required_authors=Odoo Community Association (OCA)
8c9,10
8,9c10,12
< manifest_deprecated_keys=active
< valid_odoo_versions=11.0
---
> manifest_deprecated_keys=description,active
> license_allowed=AGPL-3,GPL-2,GPL-2 or any later version,GPL-3,GPL-3 or any later version,LGPL-3
13a16,32
> # Enable message and code:
> # anomalous-backslash-in-string - W1401
> # assignment-from-none - W1111
> # dangerous-default-value - W0102
> # duplicate-key - W0109
> # missing-import-error - W7935
> # missing-manifest-dependency - W7936
> # pointless-statement - W0104
> # pointless-string-statement - W0105
> # print-statement - E1601
> # redundant-keyword-arg - E1124
> # reimported - W0404
> # relative-import - W0403
> # return-in-init - E0101
> # rst-syntax-error - E7901
> # too-few-format-args - E1306
> # unreachable - W0101
15,31c34,36
> valid_odoo_versions=13.0
14,29c17
<
< enable=attribute-deprecated,
< manifest-author-string,
< manifest-deprecated-key,
Expand All @@ -39,46 +26,32 @@
< translation-required,
< use-vim-comment,
< anomalous-backslash-in-string,
< api-one-deprecated,
< api-one-multi-together,
---
>
>
> enable=anomalous-backslash-in-string,
33d37
< class-camelcase,
35,36c39
< dangerous-view-replace-wo-priority,
< duplicate-id-csv,
---
32a21
> attribute-deprecated,
35a25
> development-status-allowed,
38,42c41
< duplicate-xml-fields,
< duplicate-xml-record-id,
< eval-referenced,
< eval-used,
< incoherent-interpreter-exec-perm,
---
> duplicate-po-message-definition,
45c44,45
< openerp-exception-warning,
43,44c33,42
< missing-import-error,
< missing-manifest-dependency,
---
> po-msgstr-variables,
> po-syntax-error,
47a48
> print-used,
49d49
< redundant-modulename-xml,
56,57c56,62
< wrong-tabs-instead-of-spaces,
< xml-syntax-error
---
> eval-used,
> eval-referenced,
> license-allowed,
> manifest-author-string,
> manifest-deprecated-key,
> manifest-required-author,
> manifest-required-key,
> manifest-version-format
62a68
>
> manifest-version-format,
> method-compute,
> method-inverse,
> method-required-super,
> method-search,
47a46
> print-used,
53a53
> sql-injection,
54a55,56
> translation-field,
> translation-required,
55a58
> use-vim-comment,
Loading

0 comments on commit 6754df5

Please sign in to comment.