(options: {
projectDir: string;
venvPath: string;
noBuild?: boolean;
upgrade?: boolean;
})
| 166 | } |
| 167 | |
| 168 | async lock(options: { |
| 169 | projectDir: string; |
| 170 | venvPath: string; |
| 171 | noBuild?: boolean; |
| 172 | upgrade?: boolean; |
| 173 | }): Promise<void> { |
| 174 | const { projectDir, venvPath, noBuild, upgrade } = options; |
| 175 | const args = ['lock', '--python', getVenvPythonBin(venvPath)]; |
| 176 | if (noBuild) { |
| 177 | args.push('--no-build'); |
| 178 | } |
| 179 | if (upgrade) { |
| 180 | args.push('--upgrade'); |
| 181 | } |
| 182 | await this.runUvCmd(args, projectDir, venvPath); |
| 183 | } |
| 184 | |
| 185 | async addDependencies(options: { |
| 186 | venvPath: string; |
no test coverage detected