From 2c3470d740f8be36aaf96ea674c907dca46df19e Mon Sep 17 00:00:00 2001 From: Aidan Fitzgerald Date: Tue, 9 Oct 2018 12:47:31 -0400 Subject: [PATCH] Sort roles alphabetically --- scripts/check_role_docs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/check_role_docs.py b/scripts/check_role_docs.py index da0bbd62e..a7deb9c19 100755 --- a/scripts/check_role_docs.py +++ b/scripts/check_role_docs.py @@ -10,7 +10,7 @@ clipboard utility (e.g. pbcopy on macOS, xclip on Linux). import os, glob -for role in os.listdir("roles"): +for role in sorted(os.listdir("roles")): readme_glob = os.path.join("roles", role, "README.*") if not glob.glob(readme_glob): print(role)