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

simple code QA for a better scoring #379

Merged
merged 8 commits into from
Mar 15, 2024
Merged

simple code QA for a better scoring #379

merged 8 commits into from
Mar 15, 2024

Conversation

meltzow
Copy link
Contributor

@meltzow meltzow commented Mar 14, 2024

"we" want to have a full scoring. see https://pub.dev/packages/convenient_test/score ;-)

@meltzow
Copy link
Contributor Author

meltzow commented Mar 14, 2024

oh we are using a line-length with 120 in our checks. It looks like, it's more as the checker for the pub.dev-scoring is using.
ok than I will revert my formatting things.

@meltzow meltzow marked this pull request as draft March 14, 2024 11:32
@meltzow meltzow marked this pull request as ready for review March 14, 2024 11:43
@meltzow
Copy link
Contributor Author

meltzow commented Mar 14, 2024

just only 5 points more ;-)
because of removing insecure link in Readme.md

@fzyzcjy
Copy link
Owner

fzyzcjy commented Mar 14, 2024

LGTM! It would be great to modify https://github.com/fzyzcjy/flutter_convenient_test/blob/master/.all-contributorsrc correspondingly, o/w the next time it will override the readme.

@fzyzcjy
Copy link
Owner

fzyzcjy commented Mar 14, 2024

oh we are using a line-length with 120 in our checks. It looks like, it's more as the checker for the pub.dev-scoring is using.
ok than I will revert my formatting things.

No worries, we can format it to be 80. Indeed I have done so for https://github.com/fzyzcjy/flutter_rust_bridge for the pub scores (though I personally prefer 120).

replace http with https
@meltzow
Copy link
Contributor Author

meltzow commented Mar 14, 2024

oh we are using a line-length with 120 in our checks. It looks like, it's more as the checker for the pub.dev-scoring is using.
ok than I will revert my formatting things.

No worries, we can format it to be 80. Indeed I have done so for https://github.com/fzyzcjy/flutter_rust_bridge for the pub scores (though I personally prefer 120).

this check will be failed if we format it to be 80:

run: dart format --set-exit-if-changed --line-length 120 .

@meltzow
Copy link
Contributor Author

meltzow commented Mar 14, 2024

grrr ... this was a huge refactoring in a lot of files. the score-page (https://pub.dev/packages/convenient_test/score) displays formatting warnings in only 2 files. But after I started the reformatting in these 2 files, the CI failed.
Luckily it was a automatically done with a combination of "flutter analyze", "dart format . " and "dart fix --apply"
Please decide by your own, if this PR is needed and merged

@fzyzcjy
Copy link
Owner

fzyzcjy commented Mar 15, 2024

this check will be failed if we format it to be 80

Just change the CI :)

@fzyzcjy fzyzcjy merged commit 9a0a7e9 into fzyzcjy:master Mar 15, 2024
9 checks passed
@fzyzcjy
Copy link
Owner

fzyzcjy commented Mar 15, 2024

@all-contributors please add @meltzow for code

Copy link
Contributor

@fzyzcjy

@meltzow already contributed before to code

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.

2 participants