forked from AlwarrenSidh/ArmAToolbox
-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
scope: internalInternal changes and improvementsInternal changes and improvementstype: changeChange in featureChange in feature
Milestone
Description
Motivation
Currently the addon uses the % formatting, as that was the suggested solution by the Python style guide for Blender at the time the addon project was started.
The new guidelines require the use of the str.format method, mainly due to the easier translation solutions (but these are not really applicable to this project).
https://developer.blender.org/docs/handbook/guidelines/python/#conventions-for-core-scripts
Description
Changing the string formatting to use f-strings would improve code readability, and would make printing heavy parts of the code more concise.
The translation requirement doesn't apply to this codebase, so the f-string usage seems to be a better choice.
Metadata
Metadata
Assignees
Labels
scope: internalInternal changes and improvementsInternal changes and improvementstype: changeChange in featureChange in feature