Merged
Conversation
There was a problem hiding this comment.
Pull request overview
This pull request releases version 1.0.1 of envstack, fixing a SyntaxWarning caused by an invalid escape sequence in the shell prompt code. The fix converts a regular string to a raw string to prevent Python from interpreting backslash sequences like \[ and \e as escape sequences.
Changes:
- Fixed SyntaxWarning in
get_shell_promptmethod by using raw string literal - Updated version number from 1.0.0 to 1.0.1 across all version declarations
- Added CHANGELOG entry documenting the bug fix
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| lib/envstack/envshell.py | Fixed invalid escape sequence by converting string to raw string literal with r prefix |
| lib/envstack/init.py | Updated __version__ from "1.0.0" to "1.0.1" |
| pyproject.toml | Updated version field from "1.0.0" to "1.0.1" |
| CHANGELOG.md | Added version 1.0.1 entry with "Fixed" section documenting the SyntaxWarning fix |
💡 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.
This pull request releases version 1.0.1 of
envstack, addressing a syntax warning in the shell prompt code and updating version information throughout the project.Bug fix:
SyntaxWarningcaused by an invalid escape sequence in the shell prompt string by using a raw string in theget_shell_promptmethod inlib/envstack/envshell.py.Version updates:
1.0.1inlib/envstack/__init__.py,pyproject.toml, and added a new entry to theCHANGELOG.mdreflecting the bug fix. [1] [2] [3]