mirror of
https://github.com/Instagram/LibCST.git
synced 2025-12-23 10:35:53 +00:00
Fix spelling and grammar in some comments (#908)
I'm going to go ahead and land this, I don't think it needs review
This commit is contained in:
parent
f936db240f
commit
f0a4d62c3b
1 changed files with 2 additions and 2 deletions
|
|
@ -706,7 +706,7 @@ class ConvertTypeComments(VisitorBasedCodemodCommand):
|
|||
# able to extract type information. This is done via mutable state and the
|
||||
# usual visitor pattern.
|
||||
# (B) we also manually reach down to the first statement inside of the
|
||||
# funciton body and aggressively strip type comments from leading
|
||||
# function body and aggressively strip type comments from leading
|
||||
# whitespaces
|
||||
#
|
||||
# PEP 484 underspecifies how to apply type comments to (non-static)
|
||||
|
|
@ -786,7 +786,7 @@ class ConvertTypeComments(VisitorBasedCodemodCommand):
|
|||
self,
|
||||
node: cst.FunctionDef,
|
||||
) -> None:
|
||||
"Turn off aggressive type comment removal when we've leaved the header."
|
||||
"Turn off aggressive type comment removal when we've left the header."
|
||||
self.aggressively_strip_type_comments = False
|
||||
|
||||
def leave_IndentedBlock(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue