From 1c7b8aa1ea0e87da5e696da4b9f9c8961b31d6ec Mon Sep 17 00:00:00 2001 From: chaofengc Date: Fri, 23 Jun 2023 20:30:27 +0800 Subject: [PATCH] feat: :package: small version update --- Makefile | 5 ++--- VERSION | 2 +- tests/test_metric_general.py | 1 + 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 5c1b962..f0bfbea 100644 --- a/Makefile +++ b/Makefile @@ -10,7 +10,6 @@ build_dist: make clean python setup.py sdist bdist_wheel pip install dist/*.whl - # make test release: python -m twine upload dist/* @@ -18,8 +17,8 @@ release: # lint: # flake8 pyiqa/ --count --max-line-length=127 --ignore=W293,W503,W504,E126,E741 -# test: -# python -m unittest +test: + pytest tests/ -m calibration -v clean: rm -rf __pycache__ diff --git a/VERSION b/VERSION index 86e6727..1180819 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.1.6.4 +0.1.7 diff --git a/tests/test_metric_general.py b/tests/test_metric_general.py index ab22934..4d416e4 100644 --- a/tests/test_metric_general.py +++ b/tests/test_metric_general.py @@ -59,6 +59,7 @@ def dist_img() -> torch.Tensor: # ==================================== Test metrics ==================================== +@pytest.mark.calibration @pytest.mark.parametrize( ("metric_name"), [(k) for k in metrics_with_official_results().keys()]