Skip to content

Commit

Permalink
Use prolog for cog --check in Justfile
Browse files Browse the repository at this point in the history
  • Loading branch information
simonw committed Aug 12, 2023
1 parent 7207554 commit 4db949b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
echo " Black"
pipenv run black . --check
echo " cog"
pipenv run cog --check README.md docs/*.md
pipenv run cog --check \
-p "import sys, os; sys._called_from_test=True; os.environ['LLM_USER_PATH'] = '/tmp'" \
README.md docs/*.md
echo " mypy"
pipenv run mypy llm
echo " ruff"
Expand Down

0 comments on commit 4db949b

Please sign in to comment.