Spaces:
sonalkum
/
Running on Zero

GAMA-IT / peft /Makefile
sonalkum's picture
bug fix
fa57c60
raw
history blame contribute delete
533 Bytes
.PHONY: quality style test docs
check_dirs := src tests examples docs
# Check that source code meets quality standards
# this target runs checks on all files
quality:
black --check $(check_dirs)
ruff $(check_dirs)
doc-builder style src/peft tests docs/source --max_len 119 --check_only
# Format source code automatically and check is there are any problems left that need manual fixing
style:
black $(check_dirs)
ruff $(check_dirs) --fix
doc-builder style src/peft tests docs/source --max_len 119
test:
pytest -n 3 tests/