Spaces:
Build error
Build error
Download Makefile from smothiki/open_llm_leaderboard_old: direct link, hf CLI and curl.
- Browser
- Download file 527 Bytes
-
https://huggingface.co/spaces/smothiki/open_llm_leaderboard_old/resolve/aa85eec3930b91facb67acf1b1d16a5bd685355e/Makefile
- Command line
-
hf download hf://spaces/smothiki/open_llm_leaderboard_old@aa85eec3930b91facb67acf1b1d16a5bd685355e/Makefile
-
curl -L -o Makefile https://huggingface.co/spaces/smothiki/open_llm_leaderboard_old/resolve/aa85eec3930b91facb67acf1b1d16a5bd685355e/Makefile
527 Bytes
| .PHONY: style format quality all | |
| # Applies code style fixes to the specified file or directory | |
| style: | |
| @echo "Applying style fixes to $(file)" | |
| ruff format $(file) | |
| ruff check --fix $(file) --line-length 119 | |
| # Checks code quality for the specified file or directory | |
| quality: | |
| @echo "Checking code quality for $(file)" | |
| ruff check $(file) --line-length 119 | |
| # Applies PEP8 formatting and checks the entire codebase | |
| all: | |
| @echo "Formatting and checking the entire codebase" | |
| ruff format . | |
| ruff check --fix . --line-length 119 | |