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

Direct assert rule to ignore asserts in test functions #639

Merged
merged 1 commit into from
Oct 14, 2024

Conversation

ericwb
Copy link
Contributor

@ericwb ericwb commented Oct 14, 2024

For several Python test frameworks, the assert builtin is required to validate the test. Precli should avoid showing results for this condition since this isn't the use case the rule is trying to find.

Fixes: #638

For several Python test frameworks, the assert builtin is
required to validate the test. Precli should avoid showing
results for this condition since this isn't the use case
the rule is trying to find.

Fixes: securesauce#638

Signed-off-by: Eric Brown <[email protected]>
@ericwb ericwb merged commit ab60ca2 into securesauce:main Oct 14, 2024
20 checks passed
@ericwb ericwb deleted the better_assert branch October 14, 2024 18:31
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.

Add intelligence to the assert rule to reduce results on test files
1 participant