You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the source code, there are lengthy equations that, when formatted by Black, may result in less readable or undesired formatting. To address this, we propose introducing #fmt: off and #fmt: on tags to instruct Black to skip formatting for specific lines containing equations.
Identify the specific lines in the source code that contain equations requiring special formatting consideration
Introduce #fmt: off (before the lines) and #fmt: on (after the lines) with equations to instruct Black to skip formatting for those lines
Verify that lines with #fmt: off and #fmt: on tags are excluded from Black formatting
Ensure that the introduction of formatting exceptions does not compromise the overall readability and consistency of the code
Update the project documentation to include information about the use of #fmt: off and #fmt: on tags for Black formatting exceptions
The text was updated successfully, but these errors were encountered:
In the source code, there are lengthy equations that, when formatted by Black, may result in less readable or undesired formatting. To address this, we propose introducing #fmt: off and #fmt: on tags to instruct Black to skip formatting for specific lines containing equations.
#fmt: off
(before the lines) and#fmt: on
(after the lines) with equations to instruct Black to skip formatting for those linesThe text was updated successfully, but these errors were encountered: