浏览代码

Use punctuation constant built-in

pull/3011/head
Matheus Felipe 2 年前
父节点
当前提交
71167b2716
找不到此签名对应的密钥 GPG 密钥 ID: AA785C523274872F
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      scripts/validate/format.py

+ 1
- 1
scripts/validate/format.py 查看文件

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



正在加载...
取消
保存