yuccaaa commited on
Commit
55cd030
·
verified ·
1 Parent(s): 33af35a

Upload ms-swift/setup.cfg with huggingface_hub

Browse files
Files changed (1) hide show
  1. ms-swift/setup.cfg +32 -0
ms-swift/setup.cfg ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [isort]
2
+ line_length = 120
3
+ multi_line_output = 0
4
+ known_standard_library = setuptools
5
+ known_first_party = swift
6
+ known_third_party = json,yaml
7
+ no_lines_before = STDLIB,LOCALFOLDER
8
+ default_section = THIRDPARTY
9
+
10
+ [yapf]
11
+ BASED_ON_STYLE = pep8
12
+ COLUMN_LIMIT = 120
13
+ BLANK_LINE_BEFORE_NESTED_CLASS_OR_DEF = true
14
+ SPLIT_BEFORE_EXPRESSION_AFTER_OPENING_PAREN = true
15
+ SPLIT_BEFORE_ARITHMETIC_OPERATOR = true
16
+
17
+ [codespell]
18
+ skip = *.ipynb
19
+ quiet-level = 3
20
+ ignore-words-list = patten,nd,ty,mot,hist,formating,winn,gool,datas,wan,confids
21
+
22
+ [flake8]
23
+ max-line-length = 120
24
+ select = B,C,E,F,P,T4,W,B9
25
+ ignore = F401,F403,F405,F821,W503,E251,W504,E126
26
+ exclude = docs/src,*.pyi,.git,peft.py
27
+
28
+ [darglint]
29
+ ignore=DAR101
30
+
31
+ [easy_install]
32
+ index-url=https://pypi.tuna.tsinghua.edu.cn/simple