Skip to content
Snippets Groups Projects
Verified Commit ddd4f9c2 authored by Yoann Schneider's avatar Yoann Schneider :tennis:
Browse files

Comply with RET501

parent c76fdeeb
No related branches found
No related tags found
No related merge requests found
......@@ -304,4 +304,4 @@ class NullField(serializers.CharField):
def to_internal_value(self, data):
if data is not None:
self.fail("invalid")
return None
return
......@@ -8,5 +8,7 @@ quote-style = "double"
select = ["Q0", "F", "W", "E",
# request-without-timeout
"S113",
# flake8-return: unnecessary-return-none
"RET501",
]
ignore = ["E501"]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment