[WIP] Run Black formatter on Python files for code style conformity#11
Merged
[WIP] Run Black formatter on Python files for code style conformity#11
Conversation
Co-authored-by: pangerlkr <73515951+pangerlkr@users.noreply.github.com>
Copilot stopped work on behalf of
pangerlkr due to an error
February 16, 2026 15:26
There was a problem hiding this comment.
Pull request overview
This PR applies Black formatter to fix CI/CD pipeline failures caused by non-conforming Python code formatting. The changes consolidate multi-line function calls and field definitions to single lines while respecting the project's configured line length of 127 characters. All modifications are purely cosmetic with no functional impact.
Changes:
- Consolidated multi-line function calls to single lines in test files
- Reformatted Field definitions in configuration files to single-line format
- Applied Black formatting to sys.path.insert and redis client calls
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| tests/test_python_modules.py | Consolidated 4 multi-line test method calls (identify_ioc_type and update_feed) to single lines |
| modules-python/main.py | Consolidated redis_client.setex call to single line |
| gateway/config.py | Consolidated Field definitions for jwt_secret and cors_origins to single lines |
| gateway/app.py | Consolidated sys.path.insert call to single line |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
Black Formatting Fix Plan
Files formatted:
Changes:
Configuration: Using Black with line-length 127 from pyproject.toml
Original prompt
This pull request was created from Copilot chat.
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.