From 07fa689a4463e663be927271e0e8e26fa5c2e305 Mon Sep 17 00:00:00 2001 From: aboutmydreams Date: Sat, 18 May 2024 18:20:23 +0800 Subject: [PATCH] fix: utils dont have init file --- setup.py | 2 +- way3/file_find/traverse_files_from_folder.py | 2 +- way3/utils/__init__.py | 0 3 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 way3/utils/__init__.py diff --git a/setup.py b/setup.py index 19c8328..18e805e 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ setuptools.setup( name="way3", - version="0.0.28", + version="0.0.29", author="aboutmydreams", author_email="aboutmydreams@163.com", description="Simplified file path management for Python developers", diff --git a/way3/file_find/traverse_files_from_folder.py b/way3/file_find/traverse_files_from_folder.py index 5da613d..b2c2b99 100644 --- a/way3/file_find/traverse_files_from_folder.py +++ b/way3/file_find/traverse_files_from_folder.py @@ -1,6 +1,6 @@ import os from typing import Dict, List -from ..utils.ignore_rule import parse_gitignore, is_gitignored +from way3.utils.ignore_rule import parse_gitignore, is_gitignored def get_files_in_directory(directory, should_ignore=True, ignore_file_path=None): diff --git a/way3/utils/__init__.py b/way3/utils/__init__.py new file mode 100644 index 0000000..e69de29