From 1f5b0900b9c570021f35101ddf0456c70994db0e Mon Sep 17 00:00:00 2001 From: Artem Konev Date: Thu, 3 Oct 2024 14:38:19 +0100 Subject: [PATCH] pre-install woke Done as a counterpart to mandatory installation in spellcheck/spellcheck.py. This fixes the build in canonical/sphinx-docs-starter-pack#291 --- inclusive-language/inclusive_language.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/inclusive-language/inclusive_language.py b/inclusive-language/inclusive_language.py index 076fcba..7679ae3 100644 --- a/inclusive-language/inclusive_language.py +++ b/inclusive-language/inclusive_language.py @@ -18,6 +18,9 @@ def run_command(command, cwd): makefile = args.makefile try: + # Install Woke + run_command('sudo snap install woke', args.working_dir) + # If the Makefile has not been specified, use the starter pack Makefile (and the corresponding # targets) if available. Otherwise, use "Makefile". if makefile == "use-default":