fix: remove mixed tabs/spaces indentation in bangbang.py (#376)#434
Merged
pradeeban merged 1 commit intoFeb 20, 2026
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR addresses Issue #376 by removing mixed tab/space characters on blank lines in the two bangbang.py controller scripts, preventing potential Python TabError and aligning with PEP 8 indentation expectations.
Changes:
- Removed tab+spaces characters on an otherwise blank line in
tools/bangbang.py. - Removed tab+spaces characters on an otherwise blank line in
humanc/bangbang.py.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| tools/bangbang.py | Replaces a mixed-indentation blank line with a clean empty line. |
| humanc/bangbang.py | Replaces a mixed-indentation blank line with a clean empty line. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
28c0f75 to
93a8759
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
hey Pradeeban Sir
Fixes #376 Remove mixed tabs and spaces indentation in
bangbang.py.Problem
Both
tools/bangbang.py(line 12) andhumanc/bangbang.py(line 11) containedblank lines with mixed tab and space characters (
\t \r\n). This violatesPEP 8 indentation rules and can cause
TabErrorin Python 3 when tabs andspaces are mixed in the same block.
Fix
Replaced the mixed-indentation blank lines with clean empty lines in both files.
No logic changes purely whitespace cleanup.
Files Changed
tools/bangbang.pyremoved tab+spaces on blank line 12humanc/bangbang.pyremoved tab+spaces on blank line 11Verification
Confirm no tabs remain
Confirm both files compile
python -m py_compile tools/bangbang.py
python -m py_compile humanc/bangbang.py