Skip to content

Commit

Permalink
style: make pylint happy
Browse files Browse the repository at this point in the history
  • Loading branch information
lengau committed May 9, 2024
1 parent f4b31cd commit 8c8e5db
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion snapcraft/models/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -1107,7 +1107,9 @@ def get_partitions(self) -> Optional[List[str]]:
return _get_partitions_from_components(self.components)


def _format_pydantic_errors(errors, *, file_name: str = "snapcraft.yaml"):
def _format_pydantic_errors( # pylint: disable=redefined-outer-name
errors, *, file_name: str = "snapcraft.yaml"
):
"""Format errors.
Example 1: Single error.
Expand Down

0 comments on commit 8c8e5db

Please sign in to comment.