smolagents/Makefile
2025-04-18 13:58:58 +02:00

17 lines
No EOL
332 B
Makefile

.PHONY: quality style test docs
check_dirs := examples src tests utils
# Check code quality of the source code
quality:
ruff check $(check_dirs)
ruff format --check $(check_dirs)
# Format source code automatically
style:
ruff check $(check_dirs) --fix
ruff format $(check_dirs)
# Run smolagents tests
test:
pytest ./tests/