metastable-void commited on
Commit
79f4047
·
unverified ·
1 Parent(s): e82ab79

update python_version

Browse files
Files changed (3) hide show
  1. .python-version +1 -1
  2. README.md +1 -0
  3. pyproject.toml +29 -29
.python-version CHANGED
@@ -1 +1 @@
1
- 3.10
 
1
+ 3.11
README.md CHANGED
@@ -3,6 +3,7 @@ title: chat-1
3
  emoji: ⚡
4
  colorFrom: red
5
  colorTo: purple
 
6
  sdk: gradio
7
  sdk_version: 5.9.1
8
  app_file: app.py
 
3
  emoji: ⚡
4
  colorFrom: red
5
  colorTo: purple
6
+ python_version: 3.11
7
  sdk: gradio
8
  sdk_version: 5.9.1
9
  app_file: app.py
pyproject.toml CHANGED
@@ -1,9 +1,4 @@
1
  [project]
2
- name = "chat-1"
3
- version = "0.1.0"
4
- description = ""
5
- readme = "README.md"
6
- requires-python = ">=3.10"
7
  dependencies = [
8
  "accelerate>=1.3.0",
9
  "bitsandbytes>=0.45.2",
@@ -13,38 +8,43 @@ dependencies = [
13
  "torch==2.6.0",
14
  "transformers>=4.48.3",
15
  ]
 
 
 
 
 
16
 
17
  [tool.ruff]
18
  line-length = 119
19
 
20
  [tool.ruff.lint]
21
- select = ["ALL"]
22
- ignore = [
23
- "COM812", # missing-trailing-comma
24
- "D203", # one-blank-line-before-class
25
- "D213", # multi-line-summary-second-line
26
- "E501", # line-too-long
27
- "SIM117", # multiple-with-statements
28
- ]
29
  extend-ignore = [
30
- "D100", # undocumented-public-module
31
- "D101", # undocumented-public-class
32
- "D102", # undocumented-public-method
33
- "D103", # undocumented-public-function
34
- "D104", # undocumented-public-package
35
- "D105", # undocumented-magic-method
36
- "D107", # undocumented-public-init
37
- "EM101", # raw-string-in-exception
38
- "FBT001", # boolean-type-hint-positional-argument
39
- "FBT002", # boolean-default-value-positional-argument
40
- "PD901", # pandas-df-variable-name
41
- "PGH003", # blanket-type-ignore
42
- "PLR0913", # too-many-arguments
43
- "PLR0915", # too-many-statements
44
- "TRY003", # raise-vanilla-args
45
  ]
 
 
 
 
 
 
 
 
46
  unfixable = [
47
- "F401", # unused-import
48
  ]
49
 
50
  [tool.ruff.format]
 
1
  [project]
 
 
 
 
 
2
  dependencies = [
3
  "accelerate>=1.3.0",
4
  "bitsandbytes>=0.45.2",
 
8
  "torch==2.6.0",
9
  "transformers>=4.48.3",
10
  ]
11
+ description = ""
12
+ name = "chat-1"
13
+ readme = "README.md"
14
+ requires-python = ">=3.11"
15
+ version = "0.1.0"
16
 
17
  [tool.ruff]
18
  line-length = 119
19
 
20
  [tool.ruff.lint]
 
 
 
 
 
 
 
 
21
  extend-ignore = [
22
+ "D100", # undocumented-public-module
23
+ "D101", # undocumented-public-class
24
+ "D102", # undocumented-public-method
25
+ "D103", # undocumented-public-function
26
+ "D104", # undocumented-public-package
27
+ "D105", # undocumented-magic-method
28
+ "D107", # undocumented-public-init
29
+ "EM101", # raw-string-in-exception
30
+ "FBT001", # boolean-type-hint-positional-argument
31
+ "FBT002", # boolean-default-value-positional-argument
32
+ "PD901", # pandas-df-variable-name
33
+ "PGH003", # blanket-type-ignore
34
+ "PLR0913", # too-many-arguments
35
+ "PLR0915", # too-many-statements
36
+ "TRY003", # raise-vanilla-args
37
  ]
38
+ ignore = [
39
+ "COM812", # missing-trailing-comma
40
+ "D203", # one-blank-line-before-class
41
+ "D213", # multi-line-summary-second-line
42
+ "E501", # line-too-long
43
+ "SIM117", # multiple-with-statements
44
+ ]
45
+ select = ["ALL"]
46
  unfixable = [
47
+ "F401", # unused-import
48
  ]
49
 
50
  [tool.ruff.format]