This repository was archived by the owner on Sep 8, 2025. It is now read-only.
Commit 823c145
committed
lint/mypy: silence more messages on "improper" f-string formatting.
Copy-paste from the earlier commit (that was cherry-picked from
previous PR):
The messages silenced in this commit are all:
On Python 3 '{}'.format(b'abc') produces "b'abc'"; use !r if this is a desired behavior
Sadly, `mypy` doesn't say which particular fields are problematic; I've
tried my best to single them out - hopefully, nothing extraneous got in.1 parent 606c64f commit 823c145
2 files changed
+5
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
144 | | - | |
145 | | - | |
| 144 | + | |
| 145 | + | |
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
152 | | - | |
153 | | - | |
| 152 | + | |
| 153 | + | |
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
261 | 261 | | |
262 | 262 | | |
263 | 263 | | |
264 | | - | |
| 264 | + | |
265 | 265 | | |
266 | 266 | | |
267 | 267 | | |
| |||
0 commit comments