-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #15 from StacklokLabs/yaml-prompts
Implement YAML and CLI approach
- Loading branch information
Showing
30 changed files
with
4,353 additions
and
327 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,30 @@ | ||
# Makefile | ||
.PHONY: test test-all lint | ||
.PHONY: clean install format lint test security build all | ||
|
||
test: | ||
pytest -v --cov=promptwright --cov-report=xml | ||
clean: | ||
rm -rf build/ | ||
rm -rf dist/ | ||
rm -rf *.egg-info | ||
rm -f .coverage | ||
find . -type d -name '__pycache__' -exec rm -rf {} + | ||
find . -type f -name '*.pyc' -delete | ||
|
||
install: | ||
poetry install --with dev | ||
|
||
test-all: | ||
pytest -v | ||
format: | ||
poetry run black . | ||
poetry run ruff check --fix . | ||
|
||
lint: | ||
ruff check . | ||
ruff format --check . | ||
poetry run ruff check . | ||
|
||
test: | ||
poetry run pytest | ||
|
||
security: | ||
poetry run bandit -r promptwright/ | ||
|
||
build: clean test | ||
poetry build | ||
|
||
all: clean install format lint test security build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.