File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,13 +11,14 @@ jobs:
1111 steps :
1212 - uses : actions/checkout@v4
1313 - name : Set up Python ${{ matrix.python-version }}
14- uses : actions/setup-python@v3
14+ uses : actions/setup-python@v5
1515 with :
1616 python-version : ${{ matrix.python-version }}
1717 - name : Install dependencies
1818 run : |
19- python -m pip install --upgrade pip
20- pip install pylint
19+ pip install --upgrade pip
20+ pip install -e .
21+ pip install -e ".[dev]"
2122 - name : Analysing the code with pylint
2223 run : |
2324 pylint $(git ls-files '*.py')
Original file line number Diff line number Diff line change @@ -116,8 +116,8 @@ Environment requirements: Python 3.12+ with `pip` package manager.
116116``` bash
117117git clone https://github.com/StrategyLogic/omen.git
118118cd omen
119- python -m pip install --upgrade pip setuptools wheel
120- python -m pip install -e " .[dev] "
119+ pip install --upgrade pip setuptools wheel
120+ pip install -e .
121121```
122122
123123### Run Example
Original file line number Diff line number Diff line change @@ -116,8 +116,8 @@ graph TD
116116``` bash
117117git clone https://github.com/StrategyLogic/omen.git
118118cd omen
119- python -m pip install --upgrade pip setuptools wheel
120- python -m pip install -e " .[dev] "
119+ pip install --upgrade pip setuptools wheel
120+ pip install -e .
121121```
122122
123123### 运行示例
Original file line number Diff line number Diff line change @@ -15,8 +15,8 @@ cd omen
1515在仓库根目录下执行以下命令,安装项目依赖:
1616
1717``` bash
18- python -m pip install --upgrade pip setuptools wheel
19- python -m pip install -e .
18+ pip install --upgrade pip setuptools wheel
19+ pip install -e .
2020```
2121
2222### 配置 LLM
Original file line number Diff line number Diff line change @@ -41,14 +41,14 @@ flowchart LR
4141下载 Omen 源代码后,在仓库根目录下执行以下命令,安装项目依赖:
4242
4343``` bash
44- python -m pip install --upgrade pip setuptools wheel
45- python -m pip install -e " .[dev] "
44+ pip install --upgrade pip setuptools wheel
45+ pip install -e .
4646```
4747
48- 💡 ** 提示** :如果你仅需运行示例而不需要测试工具,可以使用精简安装 :
48+ 💡 ** 提示** :如果你需要进行开发或测试,请安装开发依赖 :
4949
5050``` bash
51- python -m pip install -e .
51+ pip install -e " .[dev] "
5252```
5353
5454## ⚔️ 运行推演工作流
You can’t perform that action at this time.
0 commit comments