Hemanth-thunder's picture
End of training
c0551d3
raw
history blame contribute delete
605 Bytes
.PHONY: quality style test
# Check that source code meets quality standards
quality:
black --check --line-length 119 --target-version py38 .
isort --check-only .
flake8 --max-line-length 119
# Format source code automatically
style:
black --line-length 119 --target-version py38 .
isort .
test:
pytest -sv ./src/
docker:
docker build -t autotrain-advanced:latest .
docker tag autotrain-advanced:latest huggingface/autotrain-advanced:latest
docker push huggingface/autotrain-advanced:latest
pip:
rm -rf build/
rm -rf dist/
python setup.py sdist bdist_wheel
twine upload dist/* --verbose