Skip to content

Commit 02a98e8

Browse files
committed
Format files using pre-commit
1 parent 74d279b commit 02a98e8

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

74 files changed

+3335
-3337
lines changed

.pre-commit-config.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ repos:
2929
hooks:
3030
- id: fix-byte-order-marker
3131
- id: trailing-whitespace
32-
- id: end-of-file-fixer
3332
- repo: https://github.com/frostming/pofmt
3433
rev: "0.1.0"
3534
hooks:

docs/locales/zh_CN/LC_MESSAGES/advanced_foreword.po

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,14 @@ msgid ""
3030
"One of the design decisions in Flask was that simple tasks should be "
3131
"simple; they should not take a lot of code and yet they should not limit "
3232
"you. Because of that, Flask has a few design choices that some people "
33-
"might find surprising or unorthodox. For example, Flask uses thread-local"
34-
" objects internally so that you don’t have to pass objects around from "
33+
"might find surprising or unorthodox. For example, Flask uses thread-local "
34+
"objects internally so that you don’t have to pass objects around from "
3535
"function to function within a request in order to stay threadsafe. This "
3636
"approach is convenient, but requires a valid request context for "
3737
"dependency injection or when attempting to reuse code which uses a value "
3838
"pegged to the request. The Flask project is honest about thread-locals, "
39-
"does not hide them, and calls out in the code and documentation where "
40-
"they are used."
39+
"does not hide them, and calls out in the code and documentation where they"
40+
" are used."
4141
msgstr ""
4242

4343
#: ../../advanced_foreword.rst:20
@@ -52,8 +52,8 @@ msgstr ""
5252
msgid ""
5353
"If you write a web application, you are probably allowing users to "
5454
"register and leave their data on your server. The users are entrusting "
55-
"you with data. And even if you are the only user that might leave data in"
56-
" your application, you still want that data to be stored securely."
55+
"you with data. And even if you are the only user that might leave data in "
56+
"your application, you still want that data to be stored securely."
5757
msgstr ""
5858

5959
#: ../../advanced_foreword.rst:29
@@ -70,8 +70,8 @@ msgstr ""
7070
msgid ""
7171
"The documentation will warn you about aspects of web development that "
7272
"require attention to security. Some of these security concerns are far "
73-
"more complex than one might think, and we all sometimes underestimate the"
74-
" likelihood that a vulnerability will be exploited - until a clever "
73+
"more complex than one might think, and we all sometimes underestimate the "
74+
"likelihood that a vulnerability will be exploited - until a clever "
7575
"attacker figures out a way to exploit our applications. And don't think "
7676
"that your application is not important enough to attract an attacker. "
7777
"Depending on the kind of attack, chances are that automated bots are "

0 commit comments

Comments
 (0)