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

Format source code and add format verification on ci #758

Merged
merged 1 commit into from
Dec 24, 2023
Merged

Format source code and add format verification on ci #758

merged 1 commit into from
Dec 24, 2023

Conversation

Romfos
Copy link
Contributor

@Romfos Romfos commented Nov 30, 2023

Changes:

  • Format source code via dotnet format
  • Added ci check for format verification
  • Remove unusable WarningsAsErrors

note: no changes in product, no need to release new nuget package

@Romfos Romfos changed the title Format source code and add format check on ci Format source code and add format verification on ci Nov 30, 2023
@Romfos Romfos marked this pull request as ready for review November 30, 2023 00:41
Copy link
Member

@alexandrnikitin alexandrnikitin left a comment

Choose a reason for hiding this comment

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

I like the PR. Thank you for improving the code!
All formatting changes make sense to me. My only concern is possible merge conflicts for existing PRs. @dtchepak WDYT? do we want to merge any existing PRs?

@@ -32,7 +32,6 @@

<PropertyGroup>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<WarningsAsErrors />
Copy link
Member

Choose a reason for hiding this comment

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

Doesn't look like formatting change. Is this intended?

Copy link
Contributor Author

@Romfos Romfos Nov 30, 2023

Choose a reason for hiding this comment

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

yes, this is cleanup unusable WarningsAsErrors. added to list

@alexandrnikitin alexandrnikitin merged commit 02f67a8 into nsubstitute:main Dec 24, 2023
13 checks passed
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.

None yet

2 participants