File tree 2 files changed +420
-254
lines changed
2 files changed +420
-254
lines changed Original file line number Diff line number Diff line change 1
1
[project ]
2
- name = " transformers_for_sentiment_analysis "
2
+ name = " transformers-for-sentiment-analysis "
3
3
version = " 0.1.0"
4
4
readme = " README.md"
5
5
requires-python = " >=3.12"
6
6
dependencies = [
7
7
" datasets>=3.1.0" ,
8
8
" polars>=1.17.1" ,
9
- " torch>=2.5.1" ,
10
- " transformers>=4.47.0" ,
9
+ " transformers[torch]>=4.47.0" ,
11
10
]
12
11
13
- [[tool .uv .index ]]
14
- name = " pytorch-cpu"
15
- url = " https://download.pytorch.org/whl/cpu"
16
- explicit = true
17
-
18
- [tool .uv .sources ]
19
- torch = [{ index = " pytorch-cpu" , marker = " platform_system != 'Darwin'" }]
12
+ # [[tool.uv.index]]
13
+ # name = "pytorch-cpu"
14
+ # url = "https://download.pytorch.org/whl/cpu"
15
+ # explicit = true
16
+ #
17
+ # [tool.uv.sources]
18
+ # torch = [{ index = "pytorch-cpu", marker = "platform_system != 'Darwin'" }]
20
19
21
20
[tool .ruff .lint ]
22
21
select = [" ALL" ]
23
22
ignore = [
24
23
# print is fine
25
24
" T201" ,
26
- # conflicts with D211
27
- " D203" ,
28
- # conflicts with D213
29
- " D213" ,
30
25
# documentation is hard
31
26
" D100" ,
32
27
" D103" ,
28
+ # noise
29
+ " TC002" ,
30
+ # conflicts with D211
31
+ " D203" ,
32
+ # conflicts with D212
33
+ " D213" ,
33
34
# can't be used with formatter
34
35
" COM812" ,
35
36
" ISC001" ,
You can’t perform that action at this time.
0 commit comments