style: update to black 25 style, silence new flake8 warnings

[no changelog]
This commit is contained in:
matejcik
2025-09-03 13:44:23 +02:00
committed by matejcik
parent 8a75794d15
commit 87f5f12d64
38 changed files with 112 additions and 106 deletions

View File

@@ -131,9 +131,10 @@ def filter_changelog(changelog_file: Path, internal_name: str):
return None
destination_file = changelog_file.with_suffix(f".{internal_name}.md")
with open(changelog_file, "r") as changelog, open(
destination_file, "w"
) as destination:
with (
open(changelog_file, "r") as changelog,
open(destination_file, "w") as destination,
):
for line in changelog:
res = filter_line(line)
if res is not None: