python: do not import print function

This commit is contained in:
link2xt
2023-02-15 16:28:16 +00:00
parent e021a59b87
commit 01653a881a
3 changed files with 1 additions and 3 deletions

View File

@@ -45,7 +45,7 @@ git_describe_command = "git describe --dirty --tags --long --match py-*.*"
line-length = 120 line-length = 120
[tool.ruff] [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 line-length = 120
[tool.isort] [tool.isort]

View File

@@ -1,6 +1,5 @@
"""Account class implementation.""" """Account class implementation."""
from __future__ import print_function
import os import os
from array import array from array import array

View File

@@ -1,4 +1,3 @@
from __future__ import print_function
import fnmatch import fnmatch
import io import io