Browse Source

Use punctuation constant built-in

pull/3011/head
Matheus Felipe 2 years ago
parent
commit
71167b2716
No known key found for this signature in database GPG Key ID: AA785C523274872F
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      scripts/validate/format.py

+ 1
- 1
scripts/validate/format.py View File

@@ -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']



Loading…
Cancel
Save