Files
peft/Makefile
T
2022-11-25 12:55:35 +05:30

19 lines
489 B
Makefile

.PHONY: quality style test docs
check_dirs := src
# Check that source code meets quality standards
# this target runs checks on all files
quality:
black --check $(check_dirs)
isort --check-only $(check_dirs)
flake8 $(check_dirs)
python utils/style_doc.py src --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)
isort $(check_dirs)
python utils/style_doc.py src --max_len 119