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

Upgrade Flutter used for build, and fix linter warnings #199

Merged
merged 3 commits into from
Feb 23, 2023

Conversation

stevehobbsdev
Copy link
Contributor

  • N/A All new/changed/fixed functionality is covered by tests (or N/A)
  • N/A I have added documentation for all new/changed functionality (or N/A)

📋 Changes

  • Upgrade version of Flutter used in build to 3.7.4
  • Fix linter warnings, mostly around lines > 80 chars in comments. A couple of tests violated this, thought it better to ignore the file rather than obfusticate the test name for this

Primary motivation was that Ship CLI fails when running flutter analyze (now returns a non-zero exit code even for warnings). Plus, good to keep up to date with latest Flutter anyway, and linter warnings should be fixed before they get out of hand.

📎 References

🎯 Testing

@stevehobbsdev stevehobbsdev requested a review from a team as a code owner February 23, 2023 11:13
@@ -6,7 +6,7 @@ import 'constants.dart';

class ApiCard extends StatefulWidget {
final Future<void> Function(String usernameOrEmail, String password) action;
const ApiCard({required final this.action, final Key? key}) : super(key: key);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixes unnecessary final warnings, as these are implicitly final.

@stevehobbsdev stevehobbsdev changed the title Upgrade Flutter used for build, and fix linter warnings" Upgrade Flutter used for build, and fix linter warnings Feb 23, 2023
@codecov
Copy link

codecov bot commented Feb 23, 2023

Codecov Report

Base: 98.68% // Head: 98.74% // Increases project coverage by +0.06% 🎉

Coverage data is based on head (b8f39d9) compared to base (b0b81cc).
Patch has no changes to coverable lines.

❗ Current head b8f39d9 differs from pull request most recent head 110bd0c. Consider uploading reports for the commit 110bd0c to get more accurate results

Additional details and impacted files
@@             Coverage Diff              @@
##               main     #199      +/-   ##
============================================
+ Coverage     98.68%   98.74%   +0.06%     
  Complexity       82       82              
============================================
  Files            80       80              
  Lines          1441     1439       -2     
  Branches        320      320              
============================================
- Hits           1422     1421       -1     
+ Misses            7        6       -1     
  Partials         12       12              
Flag Coverage Δ
auth0_flutter 100.00% <ø> (ø)
auth0_flutter_android 96.60% <ø> (ø)
auth0_flutter_ios 100.00% <ø> (ø)
auth0_flutter_platform_interface 99.29% <ø> (+0.34%) ⬆️

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

Impacted Files Coverage Δ
auth0_flutter/lib/auth0_flutter.dart 100.00% <ø> (ø)
auth0_flutter/lib/src/authentication_api.dart 100.00% <ø> (ø)
auth0_flutter/lib/src/credentials_manager.dart 100.00% <ø> (ø)
auth0_flutter/lib/src/web_authentication.dart 100.00% <ø> (ø)
...entials-manager/credentials_manager_exception.dart 100.00% <ø> (ø)
...ls-manager/method_channel_credentials_manager.dart 95.00% <ø> (ø)
...tials-manager/options/get_credentials_options.dart 100.00% <ø> (ø)
...manager/options/has_valid_credentials_options.dart 100.00% <ø> (ø)
...dentials-manager/options/local_authentication.dart 100.00% <ø> (ø)
...lutter_platform_interface/lib/src/credentials.dart 100.00% <ø> (ø)
... and 9 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@stevehobbsdev stevehobbsdev enabled auto-merge (squash) February 23, 2023 11:38
Copy link
Contributor

@Widcket Widcket left a comment

Choose a reason for hiding this comment

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

Thank you!

@stevehobbsdev stevehobbsdev merged commit 130b0dc into main Feb 23, 2023
@stevehobbsdev stevehobbsdev deleted the chore/build branch February 23, 2023 13:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants