ruff: enable ISC lint

This commit is contained in:
Marcel Hellwig
2026-01-04 14:12:38 +01:00
parent eac58d2843
commit 42502c93fc
2 changed files with 2 additions and 14 deletions

View File

@@ -60,19 +60,7 @@ __all__ = [
db_config = MediaManagerConfig().database
db_url = (
"postgresql+psycopg"
+ "://"
+ db_config.user
+ ":"
+ db_config.password
+ "@"
+ db_config.host
+ ":"
+ str(db_config.port)
+ "/"
+ db_config.dbname
)
db_url = f"postgresql+psycopg://{db_config.user}:{db_config.password}@{db_config.host}:{db_config.port}/{db_config.dbname}"
config.set_main_option("sqlalchemy.url", db_url)

View File

@@ -10,7 +10,7 @@ extend-select = [
"C4", "COM",
"E", "EM", "EXE",
"F", "FA", "FAST", "FIX", "FLY", "FURB",
"ICN",
"ICN", "ISC",
"LOG",
"PGH", "PT", "PYI",
"Q",