Avoid test/tests folder to ignore the file encoding issue, beasuse some package like IPython, joblib use the other encoding file for testing.

This commit is contained in:
Douglas 2024-11-29 14:40:15 +08:00
parent cd3f437689
commit c00ffa3f81

View File

@ -110,6 +110,8 @@ def get_all_imports(path, encoding="utf-8", extra_ignore_dirs=None, follow_links
"__pycache__",
"env",
"venv",
"test",
"tests",
".ipynb_checkpoints",
]