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: fix inconsistent return results in consistency checker #121

Conversation

IronCore864
Copy link
Collaborator

Fix inconsistent return Results in consistency_checker.py.

Closes #120.

@benhoyt
Copy link
Collaborator

benhoyt commented Apr 12, 2024

I can see what you mean, but I think this is a debatable: if there are no warnings, what's the advantage in having a variable at all over just passing []?

@tonyandrewmeyer
Copy link
Collaborator

I can see what you mean, but I think this is a debatable: if there are no warnings, what's the advantage in having a variable at all over just passing []?

I don't see a lot of merit in this, especially where the check method currently has no warnings at all.

The one advantage I can see is that if a method has a warning added, then it's less likely that it accidentally gets dropped in some cases if the code is updated like this proposal.

So I'm ok with this change - @IronCore864 if you're still keen on it, could you please merge or rebase to resolve the conflicts?

@tonyandrewmeyer
Copy link
Collaborator

I'm going to close this - @IronCore864 if you're still keen on it, could you please open it against the operator repo now that we've migrated there?

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.

Inconsistent return Results in consistency_checker.py
3 participants