File tree Expand file tree Collapse file tree 2 files changed +6
-16
lines changed Expand file tree Collapse file tree 2 files changed +6
-16
lines changed Original file line number Diff line number Diff line change @@ -39,29 +39,17 @@ jobs:
39
39
run : |
40
40
python -m pip install --upgrade pip setuptools wheel
41
41
42
- - name : Install TorchOpt
42
+ - name : Install DeepSeek-VL
43
43
env :
44
44
USE_FP16 : " OFF"
45
45
TORCH_CUDA_ARCH_LIST : " Auto"
46
46
run : |
47
47
python -m pip install torch numpy pybind11
48
48
python -m pip install -vvv --no-build-isolation --editable '.[lint]'
49
49
50
- - name : pre-commit
50
+ - name : black
51
51
run : |
52
- make pre-commit
53
-
54
- - name : ruff
55
- run : |
56
- make ruff
57
-
58
- - name : flake8
59
- run : |
60
- make flake8
61
-
62
- - name : isort and black
63
- run : |
64
- make py-format
52
+ make black-format
65
53
66
54
- name : addlicense
67
55
run : |
Original file line number Diff line number Diff line change @@ -66,6 +66,9 @@ py-format: py-format-install
66
66
$(PYTHON ) -m isort --project $(PROJECT_PATH ) --check $(PYTHON_FILES ) && \
67
67
$(PYTHON ) -m black --check $(PYTHON_FILES )
68
68
69
+ black-format : py-format-install
70
+ $(PYTHON ) -m black --check $(PYTHON_FILES )
71
+
69
72
ruff : ruff-install
70
73
$(PYTHON ) -m ruff check .
71
74
@@ -85,7 +88,6 @@ lint: ruff flake8 py-format mypy pylint addlicense
85
88
format : py-format-install ruff-install addlicense-install
86
89
$(PYTHON ) -m isort --project $(PROJECT_PATH ) $(PYTHON_FILES )
87
90
$(PYTHON ) -m black $(PYTHON_FILES )
88
- $(PYTHON ) -m ruff check . --fix --exit-zero
89
91
addlicense -c $(COPYRIGHT ) -ignore tests/coverage.xml -l mit -y 2023-$(shell date +"% Y") $(SOURCE_FOLDERS ) cli_chat.py inference.py
90
92
91
93
clean-py :
You can’t perform that action at this time.
0 commit comments