Skip to content

Conversation

@privateip
Copy link
Member

  • Change implicit boolean checks to explicit is True, is False, or is not None comparisons
  • Update connection.py to use explicit comparisons for use_tls, authenticated, and isinstance checks
  • Update logging.py to explicitly check _sensitive_data_filtering_enabled with is True
  • Update heuristics.py to explicitly check _initialized, custom_patterns, and redaction_func
  • Improve code clarity and readability by making boolean logic explicit throughout

- Change implicit boolean checks to explicit `is True`, `is False`, or `is not None` comparisons
- Update connection.py to use explicit comparisons for use_tls, authenticated, and isinstance checks
- Update logging.py to explicitly check _sensitive_data_filtering_enabled with `is True`
- Update heuristics.py to explicitly check _initialized, custom_patterns, and redaction_func
- Improve code clarity and readability by making boolean logic explicit throughout
@privateip privateip requested a review from a team as a code owner December 12, 2025 04:29
@privateip privateip merged commit 341b228 into itential:devel Dec 12, 2025
4 checks passed
@privateip privateip deleted the bool-comparisions branch December 12, 2025 04:37
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.

1 participant