Skip to content

Commit

Permalink
Add noqas where required
Browse files Browse the repository at this point in the history
  • Loading branch information
akx committed Nov 27, 2023
1 parent f318c96 commit acdd13e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion libcst/_nodes/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ def deep_clone(self: _CSTNodeSelfT) -> _CSTNodeSelfT:
True
"""
cloned_fields: Dict[str, object] = {}
for field in fields(self):
for field in fields(self): # noqa: F402
key = field.name
if key[0] == "_":
continue
Expand Down
2 changes: 1 addition & 1 deletion libcst/_parser/conversions/params.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def convert_argslist( # noqa: C901
kwonly_params: List[Param] = []
star_kwarg: Optional[Param] = None

def add_param(
def add_param( # noqa: C901
current_param: Optional[List[Param]], param: Union[Param, ParamStar]
) -> Optional[List[Param]]:
nonlocal star_arg
Expand Down

0 comments on commit acdd13e

Please sign in to comment.