Skip to content

Commit

Permalink
Fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
axnsan12 committed Aug 7, 2018
1 parent 748b5d3 commit 4c06913
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/drf_yasg/inspectors/field.py
Original file line number Diff line number Diff line change
Expand Up @@ -652,7 +652,6 @@ def camelize_string(s):
"""Hack to force ``djangorestframework_camel_case`` to camelize a plain string."""
return next(iter(camelize({s: ''})))


def camelize_schema(schema_or_ref, components):
"""Recursively camelize property names for the given schema using ``djangorestframework_camel_case``."""
schema = openapi.resolve_ref(schema_or_ref, components)
Expand All @@ -667,7 +666,6 @@ def camelize_schema(schema_or_ref, components):

return schema_or_ref


class CamelCaseJSONFilter(FieldInspector):
"""Converts property names to camelCase if ``CamelCaseJSONParser`` or ``CamelCaseJSONRenderer`` are used."""

Expand Down

0 comments on commit 4c06913

Please sign in to comment.