-
-
Notifications
You must be signed in to change notification settings - Fork 620
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
Reduced the list of ignored errors by flake8 #1598
Conversation
0f3f7d2
to
e72d340
Compare
@sdesrozis @fco-dv any ideas why code formatting does not pass here, but passes locally without problem ? |
I also faced this in one of my PRs, I think (I am not sure) it could be one of these things |
Thanks for pointers @Devanshu24 ! I think, my actual problem is not with git-auto-commit-action but with the fact that
|
Just checked out this PR locally and ran all the steps given below ignite/.github/workflows/code-style.yml Lines 30 to 33 in 514b8f4
Output for each commands $ isort -rc .
Skipped 11 files $ autopep8 --recursive --in-place --aggressive --aggressive . (no output for $ black .
All done! ✨ 🍰 ✨
238 files left unchanged. Even I could not get the following lines after following all the steps the workflow config file (totally clueless why)
Are you aware which of the tools actually produces this kind of output ( |
I think it is
We also run code formatting check in unit-tests acitons, for example: |
61262fa
to
8c2bd9d
Compare
@ydcjeff do you have any idea why code-style action is irreproducible in some sort ? |
@vfdev-5 Maybe that's because of pre-commit hooks? And that's why it works locally |
@trsvchn thanks for joining :) Actually I'm not using precommit :) and I just running it in a conda env... Strange thing here is that it uses python 3.8.7 that I could not even install with conda. I tested on 3.8.5. I'm now suspecting every difference with my setup in the logs. This warning seems weird:
|
One possible way to debug is maybe to fix the problem with |
@Devanshu24 yes, makes sense. In this case, I also wonder if other steps where we only check the formatting will pass ... |
Just ran a quick check https://github.com/ydcjeff/ignite/runs/1808526597?check_suite_focus=true |
Well I've found issue where |
ok, I've tried to reproduce the issue, I added these: And no errors: https://github.com/trsvchn/ignite/actions/runs/528601462 Am I missing smth? |
@trsvchn so, if understand correctly, you removed ignored errors from setup.cfg as I did in my PR and let run code style formatting to format the code, right ? EDIT: Let me try to do the same ! Thanks for the suggest ! |
8c2bd9d
to
9355576
Compare
@vfdev-5 yes, I removed |
I close this PR in favor of #1602 Thanks a lot everyone who participated in the discussion, appreciate a lot your help ! |
Description:
Check list: