-
-
Notifications
You must be signed in to change notification settings - Fork 365
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 broken lint and add it to GH Actions #511
Conversation
a4be0a0
to
16af1a1
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.
I am not sure I understand what is gw check
?
|
Understood. Wanted to be sure. |
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.
LGTM 🚢
<!-- Default screen margins, per the Android Design guidelines. --> | ||
<dimen name="norm_grid_size">8dp</dimen> | ||
<dimen name="norm_grid_size" tools:ignore="UnusedResources">8dp</dimen> |
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.
Why it is ignored?
Shouldn't be just removed if it is really unused?
Or maybe it is preserved for backwards compatibility?
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.
Why it is ignored?
It's ignored as it's our base grid size. All the others size are derived from this. I'd rather keep it otherwise doub_grid_size
would make little sense
📄 Context
Lint is currently broken on
develop
. I'm fixing it and I've added a job on GH Actions to run it on pre-merge. If you happen to rungw check
to run all the verifications, it will fail.📝 Changes
AcceptsUserCertificates
as we intentionally want to allow user CAsandroid:networkSecurityConfig
⏱️ Next steps
I believe we should update the pre-commit hook to run
gw check