code: lint unused imports

Unused imports are only warnings in pylint; here we make sure that they
are processed as errors.
This commit is contained in:
Régis Behmo 2021-04-06 11:58:04 +02:00 committed by Régis Behmo
parent 17088e2fc6
commit 887ba31e09
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ test-format: ## Run code formatting tests
black --check --diff $(BLACK_OPTS)
test-lint: ## Run code linting tests
pylint --errors-only --ignore=templates ${SRC_DIRS}
pylint --errors-only --enable=unused-import --ignore=templates ${SRC_DIRS}
test-unit: ## Run unit tests
python -m unittest discover tests