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

feat!: Upgrade to DCM 1.11.0 #470

Merged
merged 2 commits into from
Nov 14, 2023
Merged

feat!: Upgrade to DCM 1.11.0 #470

merged 2 commits into from
Nov 14, 2023

Conversation

witwash
Copy link
Contributor

@witwash witwash commented Nov 9, 2023

Summary

Update to DCM 1.11.1

Enabled rules:
New rules that were left disabled:

Testing steps

None

Follow-up issues

None

Check during review

  • Verify against Jira issue.
  • Is the PR over 300 additions? Consider rejecting it with advice to split it. Is it over 500 additions? It should definitely be rejected.
  • Unused code removed.
  • Build passing.
  • Is it a bug fix? Check that it is covered by a proper test (unit or integration).

@witwash
Copy link
Contributor Author

witwash commented Nov 9, 2023

@ookami-kb, WDYT about enabling prefer-correct-handler-name and prefer-correct-callback-field-name? I know that is something that we agreed on, but are we ready to enforce it? :D

upd: we'll need to do something with things like this then

Screenshots

CleanShot 2023-11-09 at 12 32 33

@witwash
Copy link
Contributor Author

witwash commented Nov 9, 2023

And what about avoid-collection-mutating-methods? I think we could enable it 🤔

@witwash
Copy link
Contributor Author

witwash commented Nov 9, 2023

Well, I think we should enable handler one, but leave the callback-field-name turned off. We have plenty of typedef functions that are reported by this and I don't think that renaming the to "on...." is making any sense.

@ookami-kb
Copy link
Contributor

Well, I think we should enable handler one, but leave the callback-field-name turned off. We have plenty of typedef functions that are reported by this and I don't think that renaming the to "on...." is making any sense.

Makes sense to me. @alboiuvlad29 @chaeMil @Sevastyan your input?

mews_pedantic/lib/analysis_options.yaml Outdated Show resolved Hide resolved
mews_pedantic/lib/analysis_options.yaml Outdated Show resolved Hide resolved
mews_pedantic/lib/analysis_options.yaml Outdated Show resolved Hide resolved
mews_pedantic/lib/analysis_options.yaml Outdated Show resolved Hide resolved
@Sevastyan
Copy link
Member

Well, I think we should enable handler one, but leave the callback-field-name turned off. We have plenty of typedef functions that are reported by this and I don't think that renaming the to "on...." is making any sense.

Makes sense to me. @alboiuvlad29 @chaeMil @Sevastyan your input?

I agree. In most cases having on.... for typedefs doesn't make sense. Let's ignore.

Copy link
Contributor

⚠️ PR has more than 300 additions. Consider splitting it into smaller PRs.

@witwash witwash added the ignore-size Ignore the size of this PR label Nov 13, 2023
@witwash witwash marked this pull request as ready for review November 13, 2023 12:47
@witwash witwash requested a review from a team November 13, 2023 12:47
@witwash witwash requested a review from ookami-kb November 14, 2023 10:58
@witwash witwash merged commit dfe8a6d into master Nov 14, 2023
5 checks passed
@witwash witwash deleted the dcm-1.11.0 branch November 14, 2023 13:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ignore-size Ignore the size of this PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants