@@ -758,7 +758,7 @@ class YieldInComprehensionViolation(ASTViolation):
758758
759759 # Wrong:
760760 list((yield letter) for letter in 'ab')
761- # Will resilt in: ['a', None, 'b', None]
761+ # Will result in: ['a', None, 'b', None]
762762
763763 list([(yield letter) for letter in 'ab'])
764764 # Will result in: ['a', 'b']
@@ -2506,7 +2506,7 @@ class of violations.
25062506@final
25072507class WrongMultilineStringUseViolation (TokenizeViolation ):
25082508 '''
2509- Frobids direct usage of multiline strings.
2509+ Forbids direct usage of multiline strings.
25102510
25112511 Multiline strings are only allowed in docstrings
25122512 or assignments to variables.
@@ -2657,9 +2657,9 @@ class NewStyledDecoratorViolation(ASTViolation):
26572657 earlier versions do not have this concept.
26582658
26592659 Reasoning:
2660- New grammar allows to use decorators in a more liberal way.
2661- It is probably not a good idea.
2662- Because decorators should be simple and easy to read.
2660+ New grammar allows to use decorators in a more liberal way.
2661+ It is probably not a good idea.
2662+ Because decorators should be simple and easy to read.
26632663
26642664 Solution:
26652665 Use names, attributes and calls with generic type specifications
@@ -2672,7 +2672,7 @@ class NewStyledDecoratorViolation(ASTViolation):
26722672 @some.decorator(args)
26732673 def my_function(): ...
26742674
2675- Only for `` python3.12+` `
2675+ Only for `python3.12+`
26762676 @MyClassDecorator[my_type](args)
26772677 def my_function(): ...
26782678
0 commit comments