diff --git a/condax/conda.py b/condax/conda.py index 1e6b107..ac502ca 100644 --- a/condax/conda.py +++ b/condax/conda.py @@ -258,6 +258,8 @@ def is_good(p: Union[str, Path]) -> bool: p = to_path(p) res = (p.parent.name in ("bin", "sbin", "scripts", "Scripts")) and ( p.suffix not in EXCLUCDED_FILE_EXTENSIONS + ) and ( + not p.name.startswith(".") and not p.name.startswith("_") ) return res