Skip to content
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

chore: resolve swiftlint errors and warnings for Analytics plugin #3445

Merged
merged 7 commits into from
Jan 3, 2024

Conversation

phantumcode
Copy link
Contributor

Issue #

Description

  • resolve swiftlint errors and warnings for Analytics plugin
  • only contains formatting changes, no functional changes

General Checklist

  • Added new tests to cover change, if needed
  • Build succeeds with all target using Swift Package Manager
  • All unit tests pass
  • All integration tests pass
  • Security oriented best practices and standards are followed (e.g. using input sanitization, principle of least privilege, etc)
  • Documentation update for the change if required
  • PR title conforms to conventional commit style
  • New or updated tests include Given When Then inline code documentation and are named accordingly testThing_condition_expectation()
  • If breaking change, documentation/changelog update with migration instructions

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@phantumcode phantumcode requested a review from a team as a code owner January 2, 2024 19:28
@codecov-commenter
Copy link

codecov-commenter commented Jan 2, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

❗ No coverage uploaded for pull request base (chore/swiftlint_storage@8ce6f8f). Click here to learn what that means.

❗ Current head 104b63a differs from pull request most recent head 99b837d. Consider uploading reports for the commit 99b837d to get more accurate results

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@                    Coverage Diff                     @@
##             chore/swiftlint_storage    #3445   +/-   ##
==========================================================
  Coverage                           ?   67.86%           
==========================================================
  Files                              ?     1085           
  Lines                              ?    36307           
  Branches                           ?        0           
==========================================================
  Hits                               ?    24638           
  Misses                             ?    11669           
  Partials                           ?        0           
Flag Coverage Δ
API_plugin_unit_test 67.07% <0.00%> (?)
AWSPluginsCore 64.13% <0.00%> (?)
Amplify 48.10% <0.00%> (?)
Analytics_plugin_unit_test 81.16% <0.00%> (?)
Auth_plugin_unit_test 79.01% <0.00%> (?)
CoreMLPredictions_plugin_unit_test 59.44% <0.00%> (?)
DataStore_plugin_unit_test 79.88% <0.00%> (?)
Geo_plugin_unit_test 70.75% <0.00%> (?)
Logging_plugin_unit_test 63.22% <0.00%> (?)
Predictions_plugin_unit_test 37.29% <0.00%> (?)
PushNotifications_plugin_unit_test 87.03% <0.00%> (?)
Storage_plugin_unit_test 78.10% <0.00%> (?)
unit_tests 67.86% <0.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -117,12 +117,12 @@ extension PinpointEvent: CustomStringConvertible {
"""
return string
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks like theme was copied from Xcode as well with the text

Base automatically changed from chore/swiftlint_storage to chore/swiftlint January 3, 2024 20:41
@phantumcode phantumcode merged commit bf374b7 into chore/swiftlint Jan 3, 2024
72 checks passed
@phantumcode phantumcode deleted the chore/swiftlint_analytics branch January 3, 2024 20:41
phantumcode added a commit that referenced this pull request Jan 4, 2024
* chore: resolve swiftlint errors and warnings in amplify categories and amplify core (#3440)

* chore: resolve swiftlint errors

* chore: resolve swiftlint warnings

* chore: resolve swiftlint errors and warnings for Amplify API plugin (#3441)

* chore: resolve swiftlint errors

* chore: resolve swiftlint warnings

* chore: resolve swiftlint warnings

* chore: resolve swiftlint errors and warnings for Amplify Auth plugin (#3442)

* chore: resolve swiftlint errors

* chore: resolve swiftlint warnings

* chore: resolve swiftlint warnings

* chore: resolve swiftlint errors and warnings

* chore: resolve swiftlint errors and warnings for Amplify Datastore plugin (#3443)

* chore: resolve swiftlint errors

* chore: resolve swiftlint warnings

* chore: resolve swiftlint warnings

* chore: resolve swiftlint errors and warnings

* chore: resolve swiftlint errors and warnings

* chore: resolve swiftlint errors and warnings in Amplify Storage plugin (#3444)

* chore: resolve swiftlint errors

* chore: resolve swiftlint warnings

* chore: resolve swiftlint warnings

* chore: resolve swiftlint errors and warnings

* chore: resolve swiftlint errors and warnings

* chore: resolve swiftlint errors and warnings

* chore: resolve swiftlint errors and warnings for Analytics plugin (#3445)

* chore: resolve swiftlint errors

* chore: resolve swiftlint warnings

* chore: resolve swiftlint warnings

* chore: resolve swiftlint errors and warnings

* chore: resolve swiftlint errors and warnings

* chore: resolve swiftlint errors and warnings

* chore: resolve swiftlint errors and warnings

* chore: resolve swiftlint errors and warnings for Amplify Push Notifications plugin (#3446)

* chore: resolve swiftlint errors

* chore: resolve swiftlint warnings

* chore: resolve swiftlint warnings

* chore: resolve swiftlint errors and warnings

* chore: resolve swiftlint errors and warnings

* chore: resolve swiftlint errors and warnings

* chore: resolve swiftlint errors and warnings

* chore: resolve swiftlint errors and warnings

* chore: resolve swiftlint errors and warnings for Amplify Predictions plugin (#3447)

* chore: resolve swiftlint errors

* chore: resolve swiftlint warnings

* chore: resolve swiftlint warnings

* chore: resolve swiftlint errors and warnings

* chore: resolve swiftlint errors and warnings

* chore: resolve swiftlint errors and warnings

* chore: resolve swiftlint errors and warnings

* chore: resolve swiftlint errors and warnings

* chore: resolve swiftlint errors and warnings

* chore: resolve swiftlint errors and warnings for Amplify Logging plugin (#3448)

* chore: resolve swiftlint errors

* chore: resolve swiftlint warnings

* chore: resolve swiftlint warnings

* chore: resolve swiftlint errors and warnings

* chore: resolve swiftlint errors and warnings

* chore: resolve swiftlint errors and warnings

* chore: resolve swiftlint errors and warnings

* chore: resolve swiftlint errors and warnings

* chore: resolve swiftlint errors and warnings

* chore: resolve swiftlint errors and warnings

* chore: resolve merge conflicts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants