Mel Seto commited on
Commit
8f030ee
·
1 Parent(s): 46bdae9

add black, isort, pylint

Browse files
Files changed (3) hide show
  1. .isort.cfg +7 -0
  2. .pylintrc +11 -0
  3. pyproject.toml +3 -0
.isort.cfg ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ [settings]
2
+ profile = black
3
+ line_length = 88
4
+ multi_line_output = 3
5
+ include_trailing_comma = True
6
+ force_grid_wrap = 0
7
+ use_parentheses = True
.pylintrc ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [MASTER]
2
+ ignore=venv,tests
3
+ load-plugins=
4
+ extension-pkg-whitelist=
5
+
6
+ [MESSAGES CONTROL]
7
+ disable=
8
+ C0114, # missing module docstring
9
+ C0115, # missing class docstring
10
+ C0116, # missing function docstring
11
+ R0903, # too few public methods (for small classes)
pyproject.toml CHANGED
@@ -5,7 +5,10 @@ description = "Add your description here"
5
  readme = "README.md"
6
  requires-python = ">=3.12"
7
  dependencies = [
 
8
  "gradio>=4.44.1",
 
 
9
  "pypinyin>=0.55.0",
10
  "pytest>=8.4.2",
11
  ]
 
5
  readme = "README.md"
6
  requires-python = ">=3.12"
7
  dependencies = [
8
+ "black>=25.1.0",
9
  "gradio>=4.44.1",
10
+ "isort>=6.0.1",
11
+ "pylint>=3.3.8",
12
  "pypinyin>=0.55.0",
13
  "pytest>=8.4.2",
14
  ]