Skip to content
Snippets Groups Projects
Commit 565d8e8d authored by Yoann Schneider's avatar Yoann Schneider :tennis: Committed by Erwan Rouchet
Browse files

Comply with UP039

parent d918a9fc
No related branches found
No related tags found
1 merge request!2307Introduce pyupgrade
This commit is part of merge request !2307. Comments created here will be created in the context of that merge request.
......@@ -737,7 +737,7 @@ class DatasetElementCursorPagination(CountCursorPagination):
ordering = ("element_id", "id")
class DatasetSetBase():
class DatasetSetBase:
permission_classes = (IsVerified, )
serializer_class = DatasetSetSerializer
......
......@@ -45,6 +45,8 @@ select = [
"UP032",
# extraneous-parentheses
"UP034",
# unnecessary-class-parentheses
"UP039",
]
ignore = ["E501", "RET502", "RET503"]
......
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