rmdhirr commited on
Commit
a55f730
·
verified ·
1 Parent(s): 7c1341a

Upload pyproject.toml

Browse files
Files changed (1) hide show
  1. pyproject.toml +59 -0
pyproject.toml ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [project]
2
+ name = "gemma-3-12b-it"
3
+ version = "0.1.0"
4
+ description = ""
5
+ readme = "README.md"
6
+ requires-python = ">=3.10"
7
+ dependencies = [
8
+ "accelerate>=1.9.0",
9
+ "gradio>=5.40.0",
10
+ "hf-transfer>=0.1.9",
11
+ "loguru>=0.7.3",
12
+ "opencv-python-headless>=4.11.0.86",
13
+ "protobuf>=6.30.0",
14
+ "sentencepiece>=0.2.0",
15
+ "spaces>=0.39.0",
16
+ "torch==2.4.0",
17
+ "transformers==4.51.3",
18
+ ]
19
+
20
+ [tool.ruff]
21
+ line-length = 119
22
+
23
+ [tool.ruff.lint]
24
+ select = ["ALL"]
25
+ ignore = [
26
+ "COM812", # missing-trailing-comma
27
+ "D203", # one-blank-line-before-class
28
+ "D213", # multi-line-summary-second-line
29
+ "E501", # line-too-long
30
+ "SIM117", # multiple-with-statements
31
+ #
32
+ "D100", # undocumented-public-module
33
+ "D101", # undocumented-public-class
34
+ "D102", # undocumented-public-method
35
+ "D103", # undocumented-public-function
36
+ "D104", # undocumented-public-package
37
+ "D105", # undocumented-magic-method
38
+ "D107", # undocumented-public-init
39
+ "EM101", # raw-string-in-exception
40
+ "FBT001", # boolean-type-hint-positional-argument
41
+ "FBT002", # boolean-default-value-positional-argument
42
+ "PD901", # pandas-df-variable-name
43
+ "PGH003", # blanket-type-ignore
44
+ "PLR0913", # too-many-arguments
45
+ "PLR0915", # too-many-statements
46
+ "TRY003", # raise-vanilla-args
47
+ ]
48
+ unfixable = [
49
+ "F401", # unused-import
50
+ ]
51
+
52
+ [tool.ruff.lint.pydocstyle]
53
+ convention = "google"
54
+
55
+ [tool.ruff.lint.per-file-ignores]
56
+ "*.ipynb" = ["T201", "T203"]
57
+
58
+ [tool.ruff.format]
59
+ docstring-code-format = true