You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
While reviewing a PR today I was about to make a comment for the collaborator to follow the Clojure Style Guide and POSIX and make sure all lines are valid (A sequence of zero or more non- characters plus a terminating character).
But this would be the 100th time I would make this kind of comment. Therefore, this PR automates the lint and lint-fix targets to take into account this rule that, unfortunately, is not supported by any of the tools we use (such as zprint). Well, not that I know of.
Notes
All text editors support a configuration to automatically insert a final newline character if one doesn't exist.
# STEP: Admin gets push notification with the mention and tap it
Device 1: Getting PN by 'user_1'
critical/test_public_chat_browsing.py:907: in test_community_mentions_push_notification
self.errors.verify_no_errors()
base_test_case.py:182: in verify_no_errors
pytest.fail('\n '.join([self.errors.pop(0) for _ in range(len(self.errors))]))
Push notification with the mention was not received by admin
Device 1: Looking for a message by text: Hurray! unblocked
critical/test_public_chat_browsing.py:780: in test_community_contact_block_unblock_offline
self.errors.verify_no_errors()
base_test_case.py:182: in verify_no_errors
pytest.fail('\n '.join([self.errors.pop(0) for _ in range(len(self.errors))]))
Hurray! unblocked was not received in public chat after user unblock!
Device 1: Find Text by xpath: //*[@content-desc='user-avatar']/../following-sibling::android.widget.TextView
critical/test_public_chat_browsing.py:391: in test_restore_multiaccount_with_waku_backup_remove_switch
shown_name_text = chat.user_name_text_new_UI.text
../views/base_element.py:391: in text
text = self.find_element().text
../views/base_element.py:80: in find_element
raise NoSuchElementException(
Device 1: Text by xpath: `//*[@content-desc='user-avatar']/../following-sibling::android.widget.TextView` is not found on the screen
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
While reviewing a PR today I was about to make a comment for the collaborator to follow the Clojure Style Guide and POSIX and make sure all lines are valid (A sequence of zero or more non- characters plus a terminating character).
But this would be the 100th time I would make this kind of comment. Therefore, this PR automates the
lint
andlint-fix
targets to take into account this rule that, unfortunately, is not supported by any of the tools we use (such aszprint
). Well, not that I know of.Notes
tail
andecho
and doesn't read the whole file to lint.Is it fast?
I think yes, fast enough, adds a negligible amount of time to our already quite slow lint targets.
status: ready