treefmt/ruff: Set python lint version to 3.13. Fix all new lints coming up.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user