We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d4f70fb commit e3d002eCopy full SHA for e3d002e
mypy/checkstrformat.py
@@ -458,14 +458,14 @@ def perform_special_format_checks(
458
specifierIndex = i
459
if specifierIndex > -1:
460
self.msg.fail(
461
- (
462
- f'Alignment format specifier '
463
- f'"{spec.format_spec[specifierIndex]}" '
464
- f'is not supported for None'
465
- ),
466
- call,
467
- code=codes.STRING_FORMATTING,
468
- )
+ (
+ f"Alignment format specifier "
+ f'"{spec.format_spec[specifierIndex]}" '
+ f"is not supported for None"
+ ),
+ call,
+ code=codes.STRING_FORMATTING,
+ )
469
470
def find_replacements_in_call(self, call: CallExpr, keys: list[str]) -> list[Expression]:
471
"""Find replacement expression for every specifier in str.format() call.
0 commit comments