Spaces:
Runtime error
Runtime error
Download Makefile from Alignment-Lab-AI/orcaleaderboard: direct link, hf CLI and curl.
- Browser
- Download file 527 Bytes
-
https://huggingface.co/spaces/Alignment-Lab-AI/orcaleaderboard/resolve/main/Makefile
- Command line
-
hf download hf://spaces/Alignment-Lab-AI/orcaleaderboard/Makefile
-
curl -L -o Makefile https://huggingface.co/spaces/Alignment-Lab-AI/orcaleaderboard/resolve/main/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 | |