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
Since there is no violation in the above code, I didn't expect any modifications to be made. However, after I ran the rule, I found that the original ^Ms were disappeared:
deffoo(a: str,
b: str):
...
How can I preserve the original newline character?
The text was updated successfully, but these errors were encountered:
sangwoo-joh
changed the title
How can I preserve the original newline(whether Newline or Carriage Return) when no rules are applied?
How can I preserve the original newline character(whether Newline or Carriage Return) when no rules are applied?
Oct 12, 2021
For example, for the below code where
^M
as carriage return,And I have a rule for rewriting the wrongly typed
string
tostr
as follow:Since there is no violation in the above code, I didn't expect any modifications to be made. However, after I ran the rule, I found that the original
^M
s were disappeared:How can I preserve the original newline character?
The text was updated successfully, but these errors were encountered: