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: run csharpier #1617

Merged
merged 1 commit into from
Nov 26, 2023
Merged

Conversation

TimothyMakkison
Copy link
Contributor

@TimothyMakkison TimothyMakkison commented Nov 20, 2023

Ran csharpier 0.25.0, haven't made any other changes.

See #1596 & #1602

Copy link

codecov bot commented Nov 20, 2023

Codecov Report

Attention: 114 lines in your changes are missing coverage. Please review.

Comparison is base (bca7448) 85.40% compared to head (ad4b9fd) 87.85%.

Files Patch % Lines
Refit/RequestBuilderImplementation.cs 94.27% 15 Missing and 6 partials ⚠️
Refit/RestMethodInfo.cs 91.66% 14 Missing and 5 partials ⚠️
Refit.Xml/XmlContentSerializer.cs 72.91% 11 Missing and 2 partials ⚠️
Refit/Buffers/PooledBufferWriter.Stream.cs 0.00% 7 Missing and 5 partials ⚠️
Refit/Buffers/PooledBufferWriter.cs 21.42% 5 Missing and 6 partials ⚠️
...t.HttpClientFactory/HttpClientFactoryExtensions.cs 90.54% 4 Missing and 3 partials ⚠️
...Buffers/PooledBufferWriter.Stream.NETStandard21.cs 0.00% 6 Missing ⚠️
...Newtonsoft.Json/NewtonsoftJsonContentSerializer.cs 73.68% 4 Missing and 1 partial ⚠️
Refit/FormValueMultimap.cs 93.10% 0 Missing and 4 partials ⚠️
Refit/SystemTextJsonContentSerializer.cs 81.81% 1 Missing and 3 partials ⚠️
... and 8 more
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1617      +/-   ##
==========================================
+ Coverage   85.40%   87.85%   +2.44%     
==========================================
  Files          33       33              
  Lines        1685     2354     +669     
  Branches      295      295              
==========================================
+ Hits         1439     2068     +629     
- Misses        167      207      +40     
  Partials       79       79              

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

@anaisbetts
Copy link
Member

I think we probably also want to set this up as a build tool? Running it Just Once doesn't really make much sense

@TimothyMakkison
Copy link
Contributor Author

Good idea, I'm not the best at CI but I know how to run csharpier via husky if that's okay

@anaisbetts
Copy link
Member

Paging @ChrisPulman @glennawatson who I bet have a great idea on how to do this

@glennawatson
Copy link
Contributor

We can enforce the stylecop rules which probably be more useful long term. What we do on other rxui projects. Basically means it won't get out of control again.

Stylecop has the advantage of allowed exception etc.

@TimothyMakkison
Copy link
Contributor Author

TimothyMakkison commented Nov 26, 2023

#1622 should automatically run csharpier on all commits. Not sure if you want csharpier if it isn't used in the other rxui projects. I'm happy to look into other solutions

@glennawatson
Copy link
Contributor

I'd prefer we don't run the csharpier ever commit and we use stylecop analysers to maintain the styling. It has more flexibility then overriding deliberate style choices.

@TimothyMakkison
Copy link
Contributor Author

Fair enough, as long as the solution removes the whitespace I'm happy 😊

@glennawatson
Copy link
Contributor

Let's commit this one as a one time commit, I just don't want this running EVERY commit.

Sorry for the confusion.

@glennawatson
Copy link
Contributor

Apologies, can you rerun the application on that failing file? Thanks.

@glennawatson glennawatson merged commit 2dff048 into reactiveui:main Nov 26, 2023
3 checks passed
@TimothyMakkison TimothyMakkison deleted the csharpier branch November 27, 2023 10:14
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 12, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants