Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 505e119

Browse files
Correct routes snippets to comply with PEP8
These routes had an indent of 3 spaces. Had to reindent correctly.
1 parent 5157a57 commit 505e119

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎snippets/base.json‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,23 +18,23 @@
1818
"body": [
1919
"@app.route('/${1:route_name}')",
2020
"def ${2:method_name}():",
21-
" pass0ドル"
21+
" pass0ドル"
2222
]
2323
},
2424
"Flask route with GET, POST": {
2525
"prefix": "routegp",
2626
"body": [
2727
"@app.route('/${1:route_name}', methods=['GET', 'POST'])",
2828
"def ${2:method_name}():",
29-
" pass0ドル"
29+
" pass0ドル"
3030
]
3131
},
3232
"Flask route POST only": {
3333
"prefix": "routep",
3434
"body": [
3535
"@app.route('/${1:route_name}', methods=['POST'])",
3636
"def ${2:method_name}():",
37-
" pass0ドル"
37+
" pass0ドル"
3838
]
3939
}
4040
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /