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