summaryrefslogtreecommitdiffstats
path: root/scripts/poe-tasks
diff options
context:
space:
mode:
authorAleš Mrázek <ales.mrazek@nic.cz>2024-08-29 15:32:29 +0200
committerAleš Mrázek <ales.mrazek@nic.cz>2024-09-07 00:28:31 +0200
commitc53ab42d3a7954f458c4f45c83f462a7f8d91997 (patch)
treee69dca3e5d851e2a26416b13a3689171084a9410 /scripts/poe-tasks
parentpython/knot_resolver: imports formatting (diff)
downloadknot-resolver-c53ab42d3a7954f458c4f45c83f462a7f8d91997.tar.xz
knot-resolver-c53ab42d3a7954f458c4f45c83f462a7f8d91997.zip
scripts/poe-tasks/check: added isort check
Diffstat (limited to 'scripts/poe-tasks')
-rwxr-xr-xscripts/poe-tasks/check6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/poe-tasks/check b/scripts/poe-tasks/check
index 8aa33b36..7628b1fb 100755
--- a/scripts/poe-tasks/check
+++ b/scripts/poe-tasks/check
@@ -36,6 +36,12 @@ black python/knot_resolver tests/manager scripts/poe-tasks/utils/create_setup.py
check_rv $?
echo
+# check imports formatting using isort
+echo -e "${yellow}Checking imports formatting using isort...${reset}"
+isort python/knot_resolver tests/manager scripts/poe-tasks/utils/create_setup.py --check --diff
+check_rv $?
+echo
+
# check code with pylint
echo -e "${yellow}Linting using pylint...${reset}"
pylint python/knot_resolver