diff --git a/toolbox/__init__.py b/toolbox/__init__.py index 9bc2bbd..41ee528 100644 --- a/toolbox/__init__.py +++ b/toolbox/__init__.py @@ -23,7 +23,6 @@ class Builder(object): exceptions = ( - '.tox', '.git', '.github', '.cache', 'build', 'static', 'templates', 'tests', ) @@ -48,6 +47,7 @@ def git_version(self): def dir_list(self): dir_list = [d for d in os.listdir('.') if d not in self.exceptions] dir_list = filter(lambda x: os.path.isdir(x), dir_list) + dir_list = filter(lambda x: not x.startswith('.'), dir_list) return dir_list def get_template(self, path):