Skip to content

Two fixes for the _AlignTrailingComments(final_lines) function #1021

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
update changelog
  • Loading branch information
lizawang committed Aug 30, 2022
commit 316c65af38e3886532f6a3ec6eedd9f223cbbfa9
7 changes: 7 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@
# All notable changes to this project will be documented in this file.
# This project adheres to [Semantic Versioning](http://semver.org/).

## [0.40.2] 2022-08-30
### Fixed
- Fixed a problem in _AlignTrailingComments(final_lines).
Exclude the pseudo parantheses when calculating the line length before the comment.
- Fixed another problem when the number of the existing spaces before the
comment is larger than the padding spaces needed to align.

## [0.40.0] UNRELEASED
### Added
- Add a new Python parser to generate logical lines.
Expand Down