Skip to content

Commit

Permalink
refactor(python): revert some makefile changes (#5101)
Browse files Browse the repository at this point in the history
  • Loading branch information
ritchie46 committed Oct 5, 2022
1 parent 2989a0f commit 5aebd7a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions py-polars/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.DEFAULT_GOAL := help
.DEFAULT_GOAL := telp

SHELL=/bin/bash
VENV ?= venv
Expand Down Expand Up @@ -27,7 +27,7 @@ venv:
:
else # use VENV
VENV_BIN := $(abspath $(VENV_BIN))/# no space after trailing '/'
VENV_ACT_BIN = $(CONDA_DEACT) . $(VENV_BIN)activate; $(VENV_BIN)# no space after closing ')'
VENV_ACT_BIN = $(VENV_BIN)# no space after closing ')'
CLEAN_VENV = -rm -rf $(VENV)
ifeq ($(VENV),venv)
venv: ## Create virtual environment for building polars (optionally with VENV=<name>)
Expand Down Expand Up @@ -89,21 +89,21 @@ clippy: ## Run clippy
pre-commit: fmt clippy ## Run all code quality checks

.PHONY: test
test: # develop ## Run fast unittests
$(VENV_ACT_BIN)pytest -v tests/unit/
test: develop # develop ## Run fast unittests
$(VENV_ACT_BIN)pytest tests/unit/

.PHONY: doctest
doctest: $(VENV) build ## Run doctests
$(VENV_ACT_BIN)python tests/docs/run_doc_examples.py

.PHONY: test-all
test-all: # develop ## Run all tests
$(VENV_ACT_BIN)pytest -v
$(VENV_ACT_BIN)pytest
$(VENV_ACT_BIN)python tests/docs/run_doc_examples.py

.PHONY: coverage
coverage: ## Run tests and report coverage
$(VENV_ACT_BIN)pytest -v --cov
$(VENV_ACT_BIN)pytest --cov

build-debug: $(VENV) ## Build debug wheel
$(VENV_ACT_BIN)maturin build -o $(WHEELS_DEBUG)
Expand Down

0 comments on commit 5aebd7a

Please sign in to comment.