Skip to content

Commit

Permalink
fix: dependencies, scipy stats namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
entelecheia committed Apr 26, 2023
1 parent 3740e46 commit 17e101c
Show file tree
Hide file tree
Showing 4 changed files with 119 additions and 214 deletions.
10 changes: 3 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -65,14 +65,14 @@ run: ## run the main script
##@ Testing

.PHONY: tests
tests: scm-version ## run tests with pytest
tests: ## run tests with pytest
@poetry run pytest --doctest-modules

.PHONY: tests-cov
tests-cov: scm-version ## run tests with pytest and show coverage (terminal + html)
tests-cov: ## run tests with pytest and show coverage (terminal + html)
@poetry run pytest --doctest-modules --cov=src --cov-report term-missing --cov-report=html

.PHONY: scm-version tests-cov-fail
.PHONY: tests-cov-fail
tests-cov-fail: ## run unit tests with pytest and show coverage (terminal + html) & fail if coverage too low & create files for CI
@poetry run pytest --doctest-modules --cov=src --cov-report term-missing --cov-report=html --cov-fail-under=80 --junitxml=pytest.xml | tee pytest-coverage.txt

Expand Down Expand Up @@ -123,9 +123,6 @@ prerelease-noop: ## release a pre-release without changing anything
prerelease-ci: ## release a pre-release in CI
@poetry run semantic-release publish --prerelease -v DEBUG -D commit_author="github-actions <action@github.com>"

scm-version: ## returns the version from the setuptools_scm
@poetry run python -m setuptools_scm

build: ## build the package
@poetry build

Expand Down Expand Up @@ -188,6 +185,5 @@ init-project: install-copier install-precommit-hooks ## initialize the project (
init-git: ## initialize git
@git init


reinit-project: install-copier ## reinitialize the project
@copier --answers-file .copier-config.yaml gh:entelecheia/hyperfast-python-template .

0 comments on commit 17e101c

Please sign in to comment.