Update linting

This commit is contained in:
Veronica Berglyd Olsen
2025-10-22 21:26:38 +02:00
parent e676bdc322
commit df2766d80e
3 changed files with 3 additions and 4 deletions
+1 -1
View File
@@ -615,7 +615,7 @@ class GuiTheme:
lookup = f"{prefix}{name} {key}"
keys.append(lookup)
data[lookup] = (file.stem, name, mode == "dark", file)
except Exception: # noqa: PERF203
except Exception:
logger.error("Could not read file: %s", file)
logException()
+1 -1
View File
@@ -67,7 +67,7 @@ version = { attr = "novelwriter.__init__.__version__" }
include = ["novelwriter*"]
[tool.isort]
py_version = "310"
py_version = "311"
line_length = 99
wrap_length = 79
multi_line_output = 5
+1 -2
View File
@@ -23,11 +23,10 @@ from __future__ import annotations
import shutil
import subprocess
import sys
import tomllib
from pathlib import Path
import tomllib
ROOT_DIR = Path(__file__).parent.parent
SETUP_DIR = ROOT_DIR / "setup"