[`pyupgrade`] Preserve parenthesis when fixing native literals containing newlines (`UP018`) #17220
(tests) Preserve parens when newline in combined unary
1f25fbaa
(fix) Preserve parens around native literals with newlines
62315326
(fixup) Make newline handling work for carriage returns
7688fd6f
(test) Add CR return smoke test and new snapshot
5edfdc8f
dhruvmanila
changed the title Preserve parenthesis when fixing native literals containing newlines [`pyupgrade`] Preserve parenthesis when fixing native literals containing newlines (`UP018`) 159 days ago
(fixup) Reformat \r tests and add eol handling to .gitattributes
b84521ab
(tests) UP018, keep multiline literals enclosed for multiple newlines
5eddcba3
(tests) Add LF line ending test to RUF046
4f94c62f
Remove CR/LF checks from main fixtures of RUF046 and UP018
2e7e73fa
(fixup) fix typo in testfile
be82c8c4
(fixup) Changed filename of fixture in snapshot
9d9ff49f
Add editorconfigs to avoid reformatting of LF\CR lineendings
67348be1
Remove fixed lineendings of snapshots in .gitattributes
005a5288
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub