-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
tests_functional rc file not found overpasses default disables hotfix #5687
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tests_functional rc file not found overpasses default disables hotfix #5687
Conversation
Copying my response from the other PR: This is the relevant code: The |
Pull Request Test Coverage Report for Build 1780787896
π - Coveralls |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the fix !
@DanielNoord I understand it better now. |
@Pierre-Sassoulas I think it can be pushed anyway.. because you want these default disables anyway if you have/don't have |
I'm not sure how this works, sorry I'm not totally up to speed with the various ways
The latter case should be handled by the current code. The former is trickier: I don't know yet what type of dev package you're installing but since it apparently doesn't include the commit that added |
I do I think that it has to do with the
Then when I use |
close then and open a new issue for the testing_pylintrc? |
Hey guys I found the solution for it! You need to install the package with: instead of with: You get symlinks to the actual source code instead of creating a new directory. in the original directory obviously you have the I will delete my changes and add documentation for the correct installation of |
7326eeb
to
e68ae41
Compare
Hmm, I wonder if we should add this to the docs. I always use |
I also use |
I tend to use @Pierre-Sassoulas Do you have any opinion on this? |
Same here, it's the reason why we can't have |
e68ae41
to
19afddf
Compare
|
I think we should only recommend using the editable install. It seems to work fine without any issues both inside and outside of the fork and thus allows for some simplification, or is there something that |
As far as I am concerned these 2 options are the same. they will give you the same results.. they both will override existing installation when invoked too. |
@Pierre-Sassoulas should we merge it/modify message? |
I guess more doc can't hurt, but what's wrong with editable install ? Having only one way to do it would prevent us from having to troubleshoot the |
I like that the repo tells the contributors how to set their environment, and having a straight way could be indeed better for troubleshooting. I am convinced now it's better this way. I will modify the message re-upload it |
19afddf
to
19b5766
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @orSolocate !
Type of Changes
Description
When running
tests_functional
and there is no.rc
file, the 3 default messages disables do not apply [suppressed-message
,locally-disabled
,useless-suppression
].Problematic code block of
pylint/testutils/lint_module_test.py
:Suggested fix after discussion in this comment
Closes #XXX