Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wwwanlingxiao
public-apis
Commits
71167b27
Unverified
Commit
71167b27
authored
Jan 16, 2022
by
Matheus Felipe
Browse files
Use punctuation constant built-in
parent
f447f7c7
Changes
1
Hide whitespace changes
Inline
Side-by-side
scripts/validate/format.py
View file @
71167b27
...
...
@@ -2,12 +2,12 @@
import
re
import
sys
from
string
import
punctuation
from
typing
import
List
,
Tuple
,
Dict
anchor
=
'###'
auth_keys
=
[
'apiKey'
,
'OAuth'
,
'X-Mashape-Key'
,
'User-Agent'
,
'No'
]
punctuation
=
[
'.'
,
'?'
,
'!'
]
https_keys
=
[
'Yes'
,
'No'
]
cors_keys
=
[
'Yes'
,
'No'
,
'Unknown'
]
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment