promptsource / Makefile
VictorSanh's picture
initial push
3adea03
raw
history blame
383 Bytes
.PHONY: quality style
check_dirs := promptsource
# Check that source code meets quality standards
quality:
black --check --line-length 119 --target-version py38 $(check_dirs)
isort --check-only $(check_dirs)
flake8 $(check_dirs) --max-line-length 119
# Format source code automatically
style:
black --line-length 119 --target-version py38 $(check_dirs)
isort $(check_dirs)