diff options
author | Aleš Mrázek <ales.mrazek@nic.cz> | 2024-08-29 15:32:29 +0200 |
---|---|---|
committer | Aleš Mrázek <ales.mrazek@nic.cz> | 2024-09-07 00:28:31 +0200 |
commit | c53ab42d3a7954f458c4f45c83f462a7f8d91997 (patch) | |
tree | e69dca3e5d851e2a26416b13a3689171084a9410 /scripts/poe-tasks | |
parent | python/knot_resolver: imports formatting (diff) | |
download | knot-resolver-c53ab42d3a7954f458c4f45c83f462a7f8d91997.tar.xz knot-resolver-c53ab42d3a7954f458c4f45c83f462a7f8d91997.zip |
scripts/poe-tasks/check: added isort check
Diffstat (limited to 'scripts/poe-tasks')
-rwxr-xr-x | scripts/poe-tasks/check | 6 |
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 |