Download Makefile from Duibonduil/Final_Assignment_Template: direct link, hf CLI and curl.
- Browser
- Download file 326 Bytes
-
https://huggingface.co/spaces/Duibonduil/Final_Assignment_Template/resolve/main/Makefile
- Command line
-
hf download hf://spaces/Duibonduil/Final_Assignment_Template/Makefile
-
curl -L -o Makefile https://huggingface.co/spaces/Duibonduil/Final_Assignment_Template/resolve/main/Makefile
326 Bytes
| .PHONY: quality style test docs | |
| check_dirs := examples src tests | |
| # 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/ |