Skip to content

Commit 84e8b7a

Browse files
committed
fix lint issues
1 parent cd7922b commit 84e8b7a

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

django_rest_cli/engine/cli/mixins.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,11 @@ def template_type() -> str:
99
{
1010
"type": "list",
1111
"name": "user_option",
12-
"message": "What template do you want to start this project with? Refer to docs for details on what each template comes with",
12+
"message": (
13+
"What template do you want to start this"
14+
"project with? Refer to docs for details"
15+
"on what each template comes with"
16+
),
1317
"choices": ["Basic", "Medior", "Advanced"],
1418
}
1519
]

django_rest_cli/engine/file_api.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@ def append_file_content(file_path, tail):
5858

5959
def wrap_file_content(file_path, head, tail):
6060
"""
61-
wraps a file content between two strings and sets the result as the content of the file
61+
wraps a file content between two strings and
62+
sets the result as the content of the file
6263
"""
6364
prepend_file_content(file_path, head)
6465
append_file_content(file_path, tail)

django_rest_cli/engine/templates/serializers_template.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
SERIALIZER = """
66
77
class %(model)sSerializer(serializers.ModelSerializer):
8-
8+
99
class Meta:
1010
model = %(model)s
1111
fields = '__all__'

0 commit comments

Comments
 (0)