SeaWolf-AI commited on
Commit
daa968b
·
verified ·
1 Parent(s): 4aba501

Upload 3 files

Browse files
Files changed (3) hide show
  1. pyproject.toml +64 -0
  2. python-version +1 -0
  3. uv.lock +0 -0
pyproject.toml ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [project]
2
+ name = "gemma-4-31b-it"
3
+ version = "0.1.0"
4
+ description = "Add your description here"
5
+ readme = "README.md"
6
+ requires-python = ">=3.12"
7
+ dependencies = [
8
+ "accelerate>=1.13.0",
9
+ "gradio>=6.9.0",
10
+ "spaces>=0.47.0",
11
+ "torch==2.9.1",
12
+ "torchcodec>=0.9.0,<0.10",
13
+ "torchvision>=0.24.1",
14
+ ]
15
+
16
+ [tool.ruff]
17
+ line-length = 119
18
+
19
+ [tool.ruff.lint]
20
+ select = ["ALL"]
21
+ ignore = [
22
+ "COM812", # missing-trailing-comma
23
+ "D203", # one-blank-line-before-class
24
+ "D213", # multi-line-summary-second-line
25
+ "E501", # line-too-long
26
+ "SIM117", # multiple-with-statements
27
+ #
28
+ "D100", # undocumented-public-module
29
+ "D101", # undocumented-public-class
30
+ "D102", # undocumented-public-method
31
+ "D103", # undocumented-public-function
32
+ "D104", # undocumented-public-package
33
+ "D105", # undocumented-magic-method
34
+ "D107", # undocumented-public-init
35
+ "EM101", # raw-string-in-exception
36
+ "FBT001", # boolean-type-hint-positional-argument
37
+ "FBT002", # boolean-default-value-positional-argument
38
+ "ISC001", # single-line-implicit-string-concatenation
39
+ "PGH003", # blanket-type-ignore
40
+ "PLR0913", # too-many-arguments
41
+ "PLR0915", # too-many-statements
42
+ "TRY003", # raise-vanilla-args
43
+ ]
44
+ unfixable = [
45
+ "F401", # unused-import
46
+ ]
47
+
48
+ [tool.ruff.lint.pydocstyle]
49
+ convention = "google"
50
+
51
+ [tool.ruff.format]
52
+ docstring-code-format = true
53
+
54
+ [tool.uv.sources]
55
+ transformers = { path = "transformers-5.5.0.dev0-py3-none-any.whl" }
56
+
57
+ [dependency-groups]
58
+ dev = [
59
+ "ruff>=0.15.6",
60
+ "transformers",
61
+ ]
62
+ hf-spaces = [
63
+ "datasets>=4.7.0",
64
+ ]
python-version ADDED
@@ -0,0 +1 @@
 
 
1
+ 3.12
uv.lock ADDED
The diff for this file is too large to render. See raw diff