muellerzr's picture
muellerzr HF staff
Refactor
06a60a3
raw
history blame contribute delete
462 Bytes
.PHONY: quality style test docs
# Check that source code meets quality standards
extra_quality_checks:
doc-builder style src --max_len 119
# this target runs checks on all files
quality:
black --check src
isort --check-only src
flake8 src
doc-builder style src --max_len 119 --check_only
# Format source code automatically and check is there are any problems left that need manual fixing
style:
black src
isort src
doc-builder style src --max_len 119