Anders Kaseorg
5199c14077
ruff: Fix PERF401 Use a list comprehension to create a transformed list.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-10-30 12:08:59 -07:00
Anders Kaseorg
93156d994a
ruff: Fix SIM118 Use key in dict
instead of key in dict.keys()
.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-10-29 18:17:39 -07:00
PIG208
9ce7c52a10
pyupgrade: Reformat with --py36-plus.
...
This includes mainly fixes of string literals using f-strings or
.format(...), as well as unpacking of list comprehensions.
2021-06-02 18:45:57 -07:00
PIG208
e27ac0ddbe
pyupgrade: Replace Text
with str
.
...
We uses `pyupgrade --py3-plus` to automatically replace all occurence
of `Text`. But manual fix is required to remove the unused imports. Note
that with this configuration pyupgrade also convert string literals to
.format(...) style, which is manually not included in the commit as well.
2021-06-02 18:45:57 -07:00
PIG208
6f3f9bf7e4
black: Reformat without skipping string normalization.
2021-06-02 18:45:57 -07:00
PIG208
fba21bb00d
black: Reformat skipping string normalization.
2021-06-02 18:45:57 -07:00
PIG208
5580c68ae5
isort: Reformat using isort.
2021-06-02 18:45:57 -07:00
Privisus
08bd395658
interactive bots: Create monkeytest.it bot.
2018-01-02 17:14:13 -03:30