-
-
Notifications
You must be signed in to change notification settings - Fork 266
[REF] pylint_beta.cfg: Removing beta messages to enable real error #284
base: master
Are you sure you want to change the base?
Conversation
703025c
to
0c7f907
Compare
For what branches is this? |
all branches just modules changed |
@moylop260 does that mean that if I change 1 line in a file in a v8 addons Travis will fail if one of these new checks fails? |
@lmignon The idea of beta messages is that one time is tested, now should be stable messages. After that (4 months, 6 months... I don't know), in all modules of branch. FYI The proposal of active them is from next community thread |
@moylop260 Alexandre proposed that for 9.0 only. I'm not sure if we should activate that for 8.0. It certainly shouldn't be activated for < 8.0. Can you point at the doc explaining how the different cfg files are used? I'm not finding it. |
@dreispt The idea is that beta.cfg should be exists only to test them, then now are stable messages and we should remove it from beta.cfg in a moment (Maybe that moment is now with migration v9)
https://github.com/OCA/maintainer-quality-tools/blob/master/travis/test_pylint#L5-L43 |
@ALL Build-7 - For master version |
0c7f907
to
15b88cd
Compare
See main message with information of new configuration checks |
Thanks for the clarification, 👍 |
Thanks @pedrobaeza |
@gurneyalex |
This PR is step 2: |
@pedrobaeza @lepistone @guewen @gurneyalex @max3903 @dreispt @lmignon I want to propose change the logic to a configuration file by version of odoo:
Current structure:
New structure:
These is a hard work and I don't want work before to discuss and receive a 👎 after that 😞 What do you think? |
Yes, it can be a good idea to have only one place to see. |
👍 |
I think changes in our process/infrastructure should be implemented for a new version and remains the same for that version. |
@dreispt, this PR enables more checks. @moylop260, can you rebase this one to see if we merge it to allow more checks that make Travis red? |
I think we really really need this. |
d23f67a
to
bd52b5c
Compare
15b88cd
to
705cef7
Compare
Regarding W7907(duplicate-xml-fields) - we ran into a false positive earlier, so I'm not so sure it would be good to fail builds on it. I'm trying to figure out what's causing it, but not so sure. Here's the info:
The duplicate XML is being triggered for the |
97f633c
to
1155c9f
Compare
@lasley |
Question regarding |
For custom projects you could use a custom configuration file. You can disable and enable checks or change parameters. |
Forgive my ignorance, but how do you define the pylint for a custom project? Is it a Travis key or something? It kind of makes me 😢 having to maintain another file, but doesn't affect me enough to try and come up with a solution or block the inclusion of it into the non-beta checks. Just more incentive to move stuff into OCA, really. |
Define a parameter is a cool feature. (It's not created) |
33e68cc
to
3cd4104
Compare
Ok ONLY for v10 |
Really we aren't adding new checks. |
@moylop260 Should not we close this PR or it is valid yet? |
@MOYLOP you are assuming that people look at the CI log for the beta messages. |
It's sad because that will leave old supported versions out of the new test bandwagon, but assuming we keep the output in the logs I think this is the best solution as well. Otherwise we will find ourselves rewriting modules to perform simple one line bugfixes |
This PR enable next configuration checks: