Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
For better or worse this is already part of this function's API.
  • Loading branch information
Julian committed Oct 5, 2022
1 parent 1ada5d0 commit 8fd12e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jsonschema/validators.py
Original file line number Diff line number Diff line change
Expand Up @@ -758,7 +758,7 @@ def from_schema(cls, schema, id_of=_id_of, *args, **kwargs):
`RefResolver`
"""

return cls(base_uri=id_of(schema), referrer=schema, *args, **kwargs)
return cls(base_uri=id_of(schema), referrer=schema, *args, **kwargs) # noqa: B026, E501

def push_scope(self, scope):
"""
Expand Down

0 comments on commit 8fd12e2

Please sign in to comment.