Skip to content

Commit

Permalink
ignore new ruff issues which doesn't make sense for us
Browse files Browse the repository at this point in the history
  • Loading branch information
bellini666 committed Jan 14, 2025
1 parent 2ec9588 commit 2ea2e8f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,7 @@ ignore = [
"A001",
"A002",
"A003",
"A005",

# Unused arguments
"ARG001",
Expand Down
2 changes: 1 addition & 1 deletion strawberry/schema/types/scalar.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def _get_scalar_definition(scalar: type) -> ScalarDefinition:
GlobalID,
name="GlobalID",
description=GraphQLID.description,
parse_literal=lambda v, vars=None: GlobalID.from_id(
parse_literal=lambda v, vars=None: GlobalID.from_id( # noqa: A006
GraphQLID.parse_literal(v, vars)
),
parse_value=GlobalID.from_id,
Expand Down

0 comments on commit 2ea2e8f

Please sign in to comment.