Charlie Marsh
f2939c678b
Avoid breaking call chains unnecessarily (#6488)
## Summary
This PR attempts to fix the formatting of the following expression:
```python
max_message_id = (
Message.objects.filter(recipient=recipient).order_by("id").reverse()[0].id
)
```
Specifically, Black preserves _that_ formatting, while we do:
```python
max_message_id = (
Message.objects.filter(recipient=recipient)
.order_by("id")
.reverse()[0]
.id
)
```
The fix here is to add a group around the entire call chain.
## Test Plan
Before:
- `zulip`: 0.99702
- `django`: 0.99784
- `warehouse`: 0.99585
- `build`: 0.75623
- `transformers`: 0.99470
- `cpython`: 0.75989
- `typeshed`: 0.74853
After:
- `zulip`: 0.99703
- `django`: 0.99791
- `warehouse`: 0.99586
- `build`: 0.75623
- `transformers`: 0.99470
- `cpython`: 0.75989
- `typeshed`: 0.74853
2023-08-11 13:33:15 +00:00
..
2023-08-11 11:21:16 +00:00
2023-08-11 13:33:15 +00:00
2023-08-01 15:30:59 +00:00
2023-08-10 09:19:27 +02:00
2023-07-27 09:29:11 +00:00
2023-07-18 18:27:46 +00:00
2023-08-09 13:28:18 +00:00
2023-08-04 10:48:58 +02:00
2023-08-08 19:17:17 +00:00
2023-08-04 11:52:26 +00:00
2023-08-11 10:41:48 +00:00
2023-08-09 13:28:18 +00:00
2023-08-10 09:19:27 +02:00
2023-08-04 11:52:26 +00:00
2023-08-10 14:39:53 +02:00
2023-06-20 16:49:21 +00:00