-
Notifications
You must be signed in to change notification settings - Fork 52
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
Update detekt.yml to fix the large class lint issue #185
Update detekt.yml to fix the large class lint issue #185
Conversation
Thank you for the pull request!The Scribe team will do our best to address your contribution as soon as we can. The following is a checklist for maintainers to make sure this process goes as well as possible. Feel free to address the points below yourself in further commits if you realize that actions are needed :) If you're not already a member of our public Matrix community, please consider joining! We'd suggest using Element as your Matrix client, and definitely join the General and Android rooms once you're in. Also consider joining our bi-weekly Saturday dev syncs. It'd be great to have you! Maintainer checklist
|
As with the other one, @KesharwaniArpita, it's not just to remove the line, but also to fix the issues that are being hidden by it. Looks like this one is just one issue, but then splitting MyKeyboardView is likely going to be really difficult 🤔 |
Surely @andrewtavis , I'll do better |
You're doing great, @KesharwaniArpita :) |
Yes, you're right @andrewtavis. It would not be easy to split the class and would require a major refactoring which might include several changes to the overall codebase. |
Is there a way for us to put an ignore comment to turn |
You mean by that instead of going straight to this file, we first focus on refactoring other files first and then move back to it later? Like a bottom to top approach? |
This is the only class that has this problem, so if we ignore it or its file and just have that class in the file, then we'll be fine with this for now :) |
@Suppress("LargeClass") We can add this to the top of the class. |
Do you want to make the change here, @KesharwaniArpita? When the tests pass we can then close this :) |
@andrewtavis Can I take it as a to do issue instead a WIP? I want to give it a try. |
Feel free to commit the change to this PR, @KesharwaniArpita :) It's basically adding |
Sure!! Thanks @andrewtavis and @angrezichatterbox |
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.
Fantastic, @KesharwaniArpita, and thanks for the great suggestion, @angrezichatterbox! 😊
Contributor checklist
Description
This PR fixes linting issues due to Large Class Block by removing the line of code:
Related issue