From a3f037773a9ba9dfa21675bc745965864cac9ee8 Mon Sep 17 00:00:00 2001 From: "Zachary J. Rollyson" Date: Sat, 17 Oct 2020 11:20:24 -0400 Subject: [PATCH] feat: include dotfiles (.) in create_highlighted_versions.py search --- tests/syntax-tests/create_highlighted_versions.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/syntax-tests/create_highlighted_versions.py b/tests/syntax-tests/create_highlighted_versions.py index a8d0bc78..4319f47a 100755 --- a/tests/syntax-tests/create_highlighted_versions.py +++ b/tests/syntax-tests/create_highlighted_versions.py @@ -39,8 +39,9 @@ def get_options(source): def create_highlighted_versions(output_basepath): root = os.path.dirname(os.path.abspath(__file__)) + sources = path.join(root, "source", "*") - for source in glob.glob(path.join(root, "source", "*", "*")): + for source in glob.glob(path.join(sources, "*")) + glob.glob(path.join(sources, ".*")): try: env = os.environ.copy() env.pop("PAGER", None)