Comment out the first line of requirements.txt files

This commit is contained in:
Xidorn Quan 2021-01-01 19:38:59 +11:00
parent bd5f002718
commit afff3516c4
3 changed files with 4 additions and 4 deletions

View File

@ -2,8 +2,8 @@
# file: lock.sh
# description: Lock dependencies and export requirements.
echo "THE FILE WAS GENERATED BY POETRY, DO NOT EDIT!\n\n" > src/requirements.txt
echo "THE FILE WAS GENERATED BY POETRY, DO NOT EDIT!\n\n" > src/requirements-dev.txt
echo "# THE FILE WAS GENERATED BY POETRY, DO NOT EDIT!\n\n" > src/requirements.txt
echo "# THE FILE WAS GENERATED BY POETRY, DO NOT EDIT!\n\n" > src/requirements-dev.txt
poetry lock
poetry export --without-hashes -f requirements.txt >> src/requirements.txt
poetry export --dev --without-hashes -f requirements.txt >> src/requirements-dev.txt

View File

@ -1,4 +1,4 @@
THE FILE WAS GENERATED BY POETRY, DO NOT EDIT!
# THE FILE WAS GENERATED BY POETRY, DO NOT EDIT!
anki==2.1.37; python_version >= "3.8"

View File

@ -1,4 +1,4 @@
THE FILE WAS GENERATED BY POETRY, DO NOT EDIT!
# THE FILE WAS GENERATED BY POETRY, DO NOT EDIT!
anki==2.1.37; python_version >= "3.8"