treefmt/ruff: Set python lint version to 3.13. Fix all new lints coming up.

This commit is contained in:
Qubasa
2025-06-30 15:28:15 +07:00
committed by Jörg Thalheim
parent b35ca4f1a8
commit 3f1fdc0aae
10 changed files with 21 additions and 27 deletions

View File

@@ -1,5 +1,6 @@
import argparse
import sys
import re
from dataclasses import dataclass
from pathlib import Path
@@ -118,9 +119,6 @@ def epilog_to_md(text: str) -> str:
return md
import re
def contains_https_link(line: str) -> bool:
pattern = r"https://\S+"
return re.search(pattern, line) is not None