diff --git a/Makefile b/Makefile index 716fd548f..8cce9fb8b 100644 --- a/Makefile +++ b/Makefile @@ -22,7 +22,7 @@ install-gpu: install .PHONY: lint lint: - flake8 ./blueoil --exclude=templates,converter + flake8 ./blueoil ./tests --exclude=templates,converter .PHONY: build build: deps @@ -60,7 +60,7 @@ test-lmnet: test-blueoil-pep8 test-unit-main test-blueoil-pep8: build # Check blueoil pep8 # FIXME: blueoil/templates and blueoil/converter have a lot of errors with flake8 - docker run ${DOCKER_OPT} $(IMAGE_NAME):$(BUILD_VERSION) /bin/bash -c "flake8 ./blueoil --exclude=templates,converter" + docker run ${DOCKER_OPT} $(IMAGE_NAME):$(BUILD_VERSION) /bin/bash -c "flake8 ./blueoil ./tests --exclude=templates,converter" .PHONY: test-unit-main test-unit-main: build diff --git a/tests/e2e/test_object_detection.py b/tests/e2e/test_object_detection.py index d1c9b4d17..4e59dca38 100644 --- a/tests/e2e/test_object_detection.py +++ b/tests/e2e/test_object_detection.py @@ -123,6 +123,7 @@ } } + @pytest.mark.parametrize( "config", [ openimagesv4_object_detection, diff --git a/tests/unit/networks_tests/classification_test/test_lm_resnet_quantize.py b/tests/unit/networks_tests/classification_test/test_lm_resnet_quantize.py index acab6aaad..234be9cbf 100644 --- a/tests/unit/networks_tests/classification_test/test_lm_resnet_quantize.py +++ b/tests/unit/networks_tests/classification_test/test_lm_resnet_quantize.py @@ -24,7 +24,7 @@ from blueoil.datasets.image_folder import ImageFolderBase from blueoil.pre_processor import Resize from blueoil.quantizations import ( - binary_mean_scaling_quantizer, + binary_mean_scaling_quantizer, linear_mid_tread_half_quantizer, ) from blueoil.utils.executor import prepare_dirs