Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Fixed Makefile by converting spaces to tabs #615

Merged
merged 1 commit into from
Nov 12, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,32 +1,32 @@
# this target runs checks on all files
quality:
isort **/*.py -c -v
flake8 ./
mypy doctr/
isort **/*.py -c -v
flake8 ./
mypy doctr/

# this target runs checks on all files and potentially modifies some of them
style:
isort **/*.py
isort **/*.py

# Run tests for the library
test:
coverage run -m pytest tests/common/
USE_TF='1' coverage run -m pytest tests/tensorflow/
USE_TORCH='1' coverage run -m pytest tests/pytorch/
coverage run -m pytest tests/common/
USE_TF='1' coverage run -m pytest tests/tensorflow/
USE_TORCH='1' coverage run -m pytest tests/pytorch/

test-common:
coverage run -m pytest tests/common/
coverage run -m pytest tests/common/

test-tf:
USE_TF='1' coverage run -m pytest tests/tensorflow/
USE_TF='1' coverage run -m pytest tests/tensorflow/

test-torch:
USE_TORCH='1' coverage run -m pytest tests/pytorch/
USE_TORCH='1' coverage run -m pytest tests/pytorch/

# Check that docs can build
docs-single-version:
sphinx-build docs/source docs/_build -a
sphinx-build docs/source docs/_build -a

# Check that docs can build
docs:
cd docs && bash build.sh
cd docs && bash build.sh