-
Notifications
You must be signed in to change notification settings - Fork 9
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
Fix Style Check step #279
Fix Style Check step #279
Conversation
Pre-commit step is currently failing due to new version of `isort` not being used. Add update command when installing pre-commit.
Codecov Report
@@ Coverage Diff @@
## master #279 +/- ##
=======================================
Coverage 83.64% 83.64%
=======================================
Files 25 25
Lines 1351 1351
=======================================
Hits 1130 1130
Misses 221 221 |
Hi @RobPasMue I am trying to fix the problem with pre-commit and isort you mentioned. I tried updating the Style Check step in our CI to match what is done in the pyansys action yet it is not enough. |
HI @PProfizi! Let me fix this quickly. Steps to reproduce my upcoming changes are: pre-commit autoupdate
pre-commit run --all-files The version has to be changed at the |
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.
This should work now 😄 thanks for pinging me @PProfizi
Thank you so much @RobPasMue! |
@RobPasMue one question though: I thought dependabot would deal with the pre-commit.yaml dependencies, yet I guess I haven't plugged this in. |
Sorry, just checked, and it does not support it yet I think. |
Nope, that's not supported. What we can do is set up pre-commit.ci though. This tool will automatically open pre-commit related update PRs on a weekly basis. And it will also allow you to remove the style-checks step of your workflows since it runs on cached runners always. See this issue for a summary of the benefits: ansys/pyfluent#1253 If you wanted it on your repository let me know and I can help you set it up 😄 |
Pre-commit step is currently failing due to new version of
isort
not being used. Add update command when installing pre-commit.