Skip to content

Fix typo and simplify boolean assignment in setup.py#1221

Open
Prer26 wants to merge 1 commit intoopencv:4.xfrom
Prer26:fix-build-error
Open

Fix typo and simplify boolean assignment in setup.py#1221
Prer26 wants to merge 1 commit intoopencv:4.xfrom
Prer26:fix-build-error

Conversation

@Prer26
Copy link
Copy Markdown

@Prer26 Prer26 commented May 4, 2026

Summary

This PR makes small improvements to the setup.py build script by fixing a typo and simplifying a boolean assignment.

Changes

  • Corrected a typo in a comment (sptringstring)
  • Simplified the is_CI_build assignment using a direct boolean expression

Why this change

  • Improves code readability and consistency with Python best practices
  • Reduces unnecessary conditional verbosity without altering behavior

Impact

  • No functional changes
  • No effect on build or runtime behavior
  • Purely a readability and maintainability improvement

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.

2 participants