fix: resolve CI/CD issues - Poetry setup, type annotations, MyPy errors
Some checks failed
CI / test (push) Has been cancelled
CI / build (push) Has been cancelled

This commit is contained in:
2026-02-02 00:08:12 +00:00
parent 275119db73
commit 7151f75346

View File

@@ -1,3 +1,4 @@
import os
from pathlib import Path
from typing import Optional
import hashlib
@@ -47,7 +48,7 @@ def find_files_pattern(directory: Path, patterns: list) -> list:
from fnmatch import fnmatch
matches = []
for root, dirs, files in directory.walk():
for root, dirs, files in os.walk(directory):
for file in files:
file_path = Path(root) / file
rel_path = str(file_path.relative_to(directory))