Skip to content

Commit

Permalink
chore: Delete poetry.lock if there's a local one lurking
Browse files Browse the repository at this point in the history
  • Loading branch information
cpswan committed Oct 19, 2023
1 parent 548b2c5 commit 9478232
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions update_requirements.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
# update the requirements.txt, which is what we actually use to pull
# in our Python dependencies. So we need to run this to generate a
# new requirements.txt from the updated files.
if ! [ -f poetry.lock ]; then
rm poetry.lock
fi
poetry export --format requirements.txt --output requirements.txt
poetry export --format requirements.txt --output requirements.dev --with dev
# of course this assumes that poetry is installed, which is done by:
Expand Down

0 comments on commit 9478232

Please sign in to comment.