summaryrefslogtreecommitdiffstats
path: root/scripts/poe-tasks
diff options
context:
space:
mode:
authorAleš Mrázek <ales.mrazek@nic.cz>2024-10-09 22:19:31 +0200
committerAleš Mrázek <ales.mrazek@nic.cz>2024-10-17 14:39:47 +0200
commit2d90ac2dd35a49a1fff42ec5c1a9189437ab0092 (patch)
tree39bca6b7df5af8a16f47082907b493553ee13a29 /scripts/poe-tasks
parentscripts/poe-tasks: use ruff instead of black, isort, pylint and flake8 (diff)
downloadknot-resolver-2d90ac2dd35a49a1fff42ec5c1a9189437ab0092.tar.xz
knot-resolver-2d90ac2dd35a49a1fff42ec5c1a9189437ab0092.zip
python: code format fixes
Diffstat (limited to 'scripts/poe-tasks')
-rwxr-xr-xscripts/poe-tasks/utils/create_setup.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/poe-tasks/utils/create_setup.py b/scripts/poe-tasks/utils/create_setup.py
index 2240cea8..93ff0b92 100755
--- a/scripts/poe-tasks/utils/create_setup.py
+++ b/scripts/poe-tasks/utils/create_setup.py
@@ -36,8 +36,8 @@ try:
from poetry.core.factory import Factory
from poetry.core.masonry.builders.sdist import SdistBuilder
except (ImportError, ModuleNotFoundError):
- from poetry.masonry.builders.sdist import SdistBuilder
from poetry.factory import Factory
+ from poetry.masonry.builders.sdist import SdistBuilder
from poetry.__version__ import __version__
except (ImportError, ModuleNotFoundError) as ee:
raise ImportError(f"install poetry by doing pip install poetry to use this script: {ee}")