Files
Buffteks-Website/venv/lib/python3.12/site-packages/deptry/python_file_finder.py
2025-05-08 21:10:14 -05:00

19 lines
472 B
Python

from __future__ import annotations
from pathlib import Path
from deptry.rust import find_python_files
def get_all_python_files_in(
directories: tuple[Path, ...],
exclude: tuple[str, ...],
extend_exclude: tuple[str, ...],
using_default_exclude: bool,
ignore_notebooks: bool = False,
) -> list[Path]:
return [
Path(f)
for f in find_python_files(directories, exclude, extend_exclude, using_default_exclude, ignore_notebooks)
]