From 01653a881a50e7d26d1e12aca7a865d704f8dfa6 Mon Sep 17 00:00:00 2001 From: link2xt Date: Wed, 15 Feb 2023 16:28:16 +0000 Subject: [PATCH] python: do not import print function --- python/pyproject.toml | 2 +- python/src/deltachat/account.py | 1 - python/src/deltachat/testplugin.py | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/python/pyproject.toml b/python/pyproject.toml index 580b02535..56c6d87f4 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -45,7 +45,7 @@ git_describe_command = "git describe --dirty --tags --long --match py-*.*" line-length = 120 [tool.ruff] -select = ["E", "F", "W", "YTT", "C4", "ISC", "ICN", "TID", "DTZ", "PLC", "PLE", "PLW", "PIE", "COM", "UP004", "UP032"] +select = ["E", "F", "W", "YTT", "C4", "ISC", "ICN", "TID", "DTZ", "PLC", "PLE", "PLW", "PIE", "COM", "UP004", "UP010", "UP032"] line-length = 120 [tool.isort] diff --git a/python/src/deltachat/account.py b/python/src/deltachat/account.py index a1c5b3e52..295e9d02f 100644 --- a/python/src/deltachat/account.py +++ b/python/src/deltachat/account.py @@ -1,6 +1,5 @@ """Account class implementation.""" -from __future__ import print_function import os from array import array diff --git a/python/src/deltachat/testplugin.py b/python/src/deltachat/testplugin.py index fe1d85436..9e8d7b536 100644 --- a/python/src/deltachat/testplugin.py +++ b/python/src/deltachat/testplugin.py @@ -1,4 +1,3 @@ -from __future__ import print_function import fnmatch import io