Enderchef commited on
Commit
34d1355
Β·
verified Β·
1 Parent(s): c67c15e

Create pyproject.toml

Browse files
Files changed (1) hide show
  1. pyproject.toml +53 -0
pyproject.toml ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [project]
2
+ name = "ICONN 1 Lite"
3
+ version = "0.1.0"
4
+ description = "Chat with ICONN 1 Lite"
5
+ readme = "README.md"
6
+ requires-python = ">=3.10"
7
+ dependencies = [
8
+ "accelerate>=1.2.1",
9
+ "bitsandbytes>=0.45.0",
10
+ "gradio>=5.12.0",
11
+ "hf-transfer>=0.1.9",
12
+ "protobuf>=5.29.3",
13
+ "sentencepiece>=0.2.0",
14
+ "spaces>=0.32.0",
15
+ "torch==2.4.0",
16
+ "transformers>=4.48.0",
17
+ ]
18
+
19
+ [tool.ruff]
20
+ line-length = 119
21
+
22
+ [tool.ruff.lint]
23
+ select = ["ALL"]
24
+ ignore = [
25
+ "COM812", # missing-trailing-comma
26
+ "D203", # one-blank-line-before-class
27
+ "D213", # multi-line-summary-second-line
28
+ "E501", # line-too-long
29
+ "SIM117", # multiple-with-statements
30
+ ]
31
+ extend-ignore = [
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.format]
53
+ docstring-code-format = true