Skip to content

Commit e34388e

Browse files
committed
use --locked flag for uv sync
1 parent ab845c3 commit e34388e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hatch_uvenv/plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ def command_context(self):
221221
yield
222222

223223
def construct_uv_sync_command(self):
224-
command = ["uv", "sync", "--active"]
224+
command = ["uv", "sync", "--active", "--locked"]
225225

226226
# Default to -1 verbosity
227227
add_verbosity_flag(command, self.verbosity, adjustment=-1)

0 commit comments

Comments
 (0)