diff --git a/src/pas/plugins/oidc/locales/update.py b/src/pas/plugins/oidc/locales/update.py index 4a4ad27..2225b49 100644 --- a/src/pas/plugins/oidc/locales/update.py +++ b/src/pas/plugins/oidc/locales/update.py @@ -38,10 +38,7 @@ def locale_folder_setup(domain: str): f"--input={locale_path}/{domain}.pot " f"--output={locale_path}/{lang}/LC_MESSAGES/{domain}.po" ) - subprocess.call( - cmd, - shell=True, - ) + subprocess.call(cmd, shell=True) # nosec B404 def _rebuild(domain: str): @@ -50,10 +47,7 @@ def _rebuild(domain: str): f"--exclude {excludes} " f"--create {domain} {target_path}" ) - subprocess.call( - cmd, - shell=True, - ) + subprocess.call(cmd, shell=True) # nosec B404 def _sync(domain: str): @@ -61,10 +55,7 @@ def _sync(domain: str): f"{i18ndude} sync --pot {locale_path}/{domain}.pot " f"{locale_path}/*/LC_MESSAGES/{domain}.po" ) - subprocess.call( - cmd, - shell=True, - ) + subprocess.call(cmd, shell=True) # nosec B404 def update_locale():