@@ -67,9 +67,6 @@ PYTEST_OPTIONS += --cov-report=xml
6767endif
6868PYTEST_RERUN_OPTIONS := --last-failed --exitfirst
6969
70- .PHONY : test
71- test : test-all # # Run unit and integration tests
72-
7370.PHONY : test-unit
7471test-unit : install
7572 @ ( mv $( FAILURES) $( FAILURES) .bak || true ) > /dev/null 2>&1
@@ -79,23 +76,8 @@ ifndef DISABLE_COVERAGE
7976 poetry run coveragespace update unit
8077endif
8178
82- .PHONY : test-int
83- test-int : install
84- @ if test -e $( FAILURES) ; then poetry run pytest tests $( PYTEST_RERUN_OPTIONS) ; fi
85- @ rm -rf $(FAILURES )
86- poetry run pytest tests $(PYTEST_OPTIONS )
87- ifndef DISABLE_COVERAGE
88- poetry run coveragespace update integration
89- endif
90-
91- .PHONY : test-all
92- test-all : install
93- @ if test -e $( FAILURES) ; then poetry run pytest $( PACKAGE) tests $( PYTEST_RERUN_OPTIONS) ; fi
94- @ rm -rf $(FAILURES )
95- poetry run pytest $(PACKAGE ) tests $(PYTEST_OPTIONS )
96- ifndef DISABLE_COVERAGE
97- poetry run coveragespace update overall
98- endif
79+ .PHONY : test
80+ test : test-unit
9981
10082.PHONY : read-coverage
10183read-coverage :
@@ -105,18 +87,18 @@ read-coverage:
10587
10688.PHONY : format
10789format : install
108- poetry run isort $(PACKAGE ) tests notebooks
109- poetry run black $(PACKAGE ) tests notebooks
90+ poetry run isort $(PACKAGE ) notebooks
91+ poetry run black $(PACKAGE ) notebooks
11092 @ echo
11193
11294.PHONY : check
11395check : install format # # Run formatters, linters, and static analysis
11496ifdef CI
11597 git diff --exit-code
11698endif
117- poetry run mypy $(PACKAGE) tests
118- poetry run pylint $(PACKAGE) tests --rcfile=.pylint.ini
119- poetry run pydocstyle $(PACKAGE) tests
99+ poetry run mypy $(PACKAGE)
100+ poetry run pylint $(PACKAGE) --rcfile=.pylint.ini
101+ poetry run pydocstyle $(PACKAGE)
120102
121103# DOCUMENTATION ###############################################################
122104
@@ -195,7 +177,7 @@ clean-all: clean
195177
196178.PHONY : .clean-install
197179.clean-install :
198- find $(PACKAGE ) tests -name ' __pycache__' -delete
180+ find $(PACKAGE ) -name ' __pycache__' -delete
199181 rm -rf * .egg-info
200182
201183.PHONY : .clean-test
0 commit comments