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
#2684 [CT] Improve stocks/sia error handling, abstract duplicate code #2723
Conversation
Nice work!! Also thanks for adding tests as well! |
Once tests and linters are good I can merge. Let me know if you need any help. |
I noticed this step failed quit fast Also wanted to ask if there is any way the linter (other tooling?) detect duplicate code? I think on this controller there were around 40 lines of code duplicated! If it's not something extremely hard, I would raise an improvement issue for this, I noticed this "code smell" in many places |
Hmm weird. It looks like Github actions is failing. I will try to run again later. |
Also, I believe pylint can be configured to check for code duplication. But when I last used it, we got way too many false positives. |
@colin99d can you kick the CI again? Seems like one still failed |
Something in our CI is broken, but its not our fault. I am downgrading the version we use and then tests should run. |
Description
How has this been tested?
Checklist:
Others