Merge pull request #67 from upsuper-forks/requirements-first-line

Comment out the first line of requirements.txt files
This commit is contained in:
Vikash Kothary 2021-01-05 00:33:13 +00:00 committed by GitHub
commit 81d2764a15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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"