Skip to content

Commit

Permalink
lint: flake8 added a new rule
Browse files Browse the repository at this point in the history
  • Loading branch information
tfranzel committed Sep 23, 2020
1 parent 53f4204 commit 390d3b5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drf_spectacular/generators.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,9 +151,9 @@ def parse(self, request, public):
continue

assert isinstance(view.schema, AutoSchema), (
f'Incompatible AutoSchema used on View. Is DRF\'s DEFAULT_SCHEMA_CLASS '
f'pointing to "drf_spectacular.openapi.AutoSchema" or any other drf-spectacular '
f'compatible AutoSchema?'
'Incompatible AutoSchema used on View. Is DRF\'s DEFAULT_SCHEMA_CLASS '
'pointing to "drf_spectacular.openapi.AutoSchema" or any other drf-spectacular '
'compatible AutoSchema?'
)
operation = view.schema.get_operation(path, path_regex, method, self.registry)

Expand Down

0 comments on commit 390d3b5

Please sign in to comment.