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

Reduce cyclomatic complexity of .check_sim_input() #67

Merged
merged 1 commit into from
Feb 15, 2024

Conversation

joshwlambert
Copy link
Member

This PR reduces the cyclomatic complexity of .check_sim_input() by using if (var %in% c(vec)) syntax rather than the previous if (var == val || var == val). The # nolint flag is removed from the .check_sim_input() function.

@joshwlambert joshwlambert added the internal Updates that only change internal functions label Feb 12, 2024
@joshwlambert joshwlambert merged commit 142222e into main Feb 15, 2024
6 checks passed
@joshwlambert joshwlambert deleted the red_cyclo_check branch February 15, 2024 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal Updates that only change internal functions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant