ruff
Join implicit concatenated strings when they fit on a line
#13663
Merged

Join implicit concatenated strings when they fit on a line #13663

MichaReiser
MichaReiser MichaReiser added formatter
MichaReiser MichaReiser added preview
github-actions
MichaReiser MichaReiser force pushed from 0a0fed78 to 75afd641 1 year ago
MichaReiser MichaReiser force pushed from 75afd641 to 0a86ffe9 1 year ago
MichaReiser MichaReiser force pushed from c0565b97 to c7380d4b 1 year ago
MichaReiser
MichaReiser MichaReiser force pushed from 0be506f4 to b6bf7b4c 1 year ago
MichaReiser MichaReiser force pushed from b6bf7b4c to 06ba5c92 1 year ago
MichaReiser MichaReiser force pushed from 06ba5c92 to 89b0ef66 1 year ago
MichaReiser MichaReiser force pushed from 89b0ef66 to 7d25ad0d 1 year ago
MichaReiser MichaReiser force pushed from 7d25ad0d to cf7b9951 1 year ago
MichaReiser MichaReiser force pushed from cf7b9951 to 54175dcb 1 year ago
MichaReiser
MichaReiser MichaReiser force pushed from a917143f to 28be037f 1 year ago
MichaReiser MichaReiser force pushed from 78f48659 to bf38f7a4 1 year ago
MichaReiser MichaReiser force pushed from ffddac61 to 26a132b6 1 year ago
MichaReiser MichaReiser force pushed from 690b5485 to 845d8ac2 1 year ago
MichaReiser MichaReiser force pushed from c49f8c79 to 0602554d 1 year ago
MichaReiser MichaReiser changed the base branch from main to micha/refactor-normalize 1 year ago
MichaReiser
MichaReiser commented on 2024-10-21
Base automatically changed from micha/refactor-normalize to main 1 year ago
MichaReiser MichaReiser force pushed from 0602554d to 4310a02c 1 year ago
MichaReiser MichaReiser changed the base branch from main to micha/f-string-alternate-quotes 1 year ago
MichaReiser
MichaReiser MichaReiser force pushed from 92ba8cdf to c26a5f57 1 year ago
MichaReiser
MichaReiser commented on 2024-10-22
Base automatically changed from micha/f-string-alternate-quotes to main 1 year ago
MichaReiser All tests are passing
42d1b6d9
MichaReiser Fix assert formatting instability
a688cbeb
MichaReiser More preview gating
c2ab97a0
MichaReiser Add some docstrings
49b5d424
MichaReiser In progress, tests for assignments
d7b0db72
MichaReiser Fix instability when implicit string is in the right hand side of a n…
9ff7d738
MichaReiser Add tests and fix assignment formatting
3b84fdd7
MichaReiser Review `maybe_parenthesize_expression` usages and add tests
0d4750a4
MichaReiser Add tests for can_omit
072cbb8d
MichaReiser Add tests for leading/trailing comments
56c30d4b
MichaReiser Initial f-string formatting support
52fdb83f
MichaReiser Handle comments and debug text in fstrings
c2166600
MichaReiser Quote style preserve
dc6be219
MichaReiser Fix instability when f-string formatting was disabled
68a360d6
MichaReiser Correctly handle implicit concatenated strings in docstrings positions
c4bf7f64
MichaReiser Handle f-strings with quoted debug expressions and triple quoted lite…
17642b42
MichaReiser Clippy
40960096
MichaReiser Fix bug with implicit concatenated string preceded by comment
f3256b87
MichaReiser MichaReiser force pushed from c26a5f57 to f3256b87 1 year ago
MichaReiser Fix instability when switching between `BestFit` and `IfBreaksParenth…
e9255838
MichaReiser Fix chaperon space handling in docstrings
ed5a9df2
MichaReiser
MichaReiser commented on 2024-10-23
MichaReiser Discard changes to crates/ruff_python_formatter/tests/snapshots/black…
6cbcc301
MichaReiser Discard changes to crates/ruff_python_formatter/tests/snapshots/black…
ac84cfd3
MichaReiser Improve StmtAssign formattign doc, don't format f-strings if a debug …
7e32fa7d
MichaReiser Gate `line_suffix_boundary` change in implicit formatting
d227d079
MichaReiser Fix implicit concatenated string with comments in docstring position
c01a330a
MichaReiser MichaReiser requested a review from AlexWaygood AlexWaygood 1 year ago
MichaReiser MichaReiser requested a review from dhruvmanila dhruvmanila 1 year ago
MichaReiser MichaReiser requested a review from charliermarsh charliermarsh 1 year ago
MichaReiser MichaReiser marked this pull request as ready for review 1 year ago
AlexWaygood
charliermarsh
charliermarsh approved these changes on 2024-10-24
charliermarsh
dhruvmanila
dhruvmanila approved these changes on 2024-10-24
MichaReiser Fix dropping comments when f-string contains magic trailing comma
b67d3c6c
MichaReiser Fix docstring stable style regresssion
f14f2baa
MichaReiser
MichaReiser MichaReiser merged 73ee72b6 into main 1 year ago
MichaReiser MichaReiser deleted the micha/format-implicit-concatenated-strings branch 1 year ago

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone