Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
danielkjellid committed Aug 8, 2024
1 parent 55e2e8a commit dddb066
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion django_api_decorator/schema_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@ def get_api_spec() -> dict[str, Any]:
if not isinstance(resolver_or_pattern, URLResolver):
continue

app_name, namespace = resolver_or_pattern.app_name, resolver_or_pattern.namespace
app_name, namespace = (
resolver_or_pattern.app_name,
resolver_or_pattern.namespace,
)
if (app_name, namespace) in ignored_resolvers:
resolvers_to_ignore.append(resolver_or_pattern)

Expand Down

0 comments on commit dddb066

Please sign in to comment.