style: format all Python files with Black
Apply Black formatter to the entire codebase for consistent code style. Co-Authored-By: Claude (glm-5) <noreply@anthropic.com>
This commit is contained in:
@@ -72,7 +72,9 @@ def get_materials_to_delete_by_managers(
|
||||
"""
|
||||
with get_connection() as conn:
|
||||
results = conn.execute_query(query)
|
||||
material_codes = [row["MaterialCode"] for row in results if row["MaterialCode"]]
|
||||
material_codes = [
|
||||
row["MaterialCode"] for row in results if row["MaterialCode"]
|
||||
]
|
||||
return material_codes
|
||||
else:
|
||||
# 使用 IN 子句查询多个负责人
|
||||
@@ -85,7 +87,9 @@ def get_materials_to_delete_by_managers(
|
||||
"""
|
||||
with get_connection() as conn:
|
||||
results = conn.execute_query(query, tuple(manager_names))
|
||||
material_codes = [row["MaterialCode"] for row in results if row["MaterialCode"]]
|
||||
material_codes = [
|
||||
row["MaterialCode"] for row in results if row["MaterialCode"]
|
||||
]
|
||||
return material_codes
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user