Merged
Conversation
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 updates PyLTSpice to version 5.5.0, introducing several codebase-wide improvements and some minor fixes. The most significant changes are the adoption of f-strings for string formatting throughout the code, dropping support for Python 3.9, and updating documentation and version numbers accordingly. Additionally, a minor code cleanup was performed in the examples.
General improvements and modernization:
Replaced all string concatenations for simulation statistics output with f-strings across the codebase, including examples, documentation, and tests, for improved readability and consistency. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]
Updated documentation and changelog to announce version 5.5.0, note the drop of Python 3.9 support, and mention the adoption of f-strings and new union type hinting syntax. [1] [2]
Updated the version number in
pyproject.tomlto 5.5.0.Code cleanup and minor fixes:
Cleaned up
examples/raw_plotting.pyby removing an unused import and improving parameter output formatting to align colons vertically using dynamic field width calculation. [1] [2]Fixed a typo in
examples/sim_runner_asc_example.py("simulatior" → "simulator").