diff --git a/code_check.py b/code_check.py index dc629ab8b3c..d86bcffcace 100755 --- a/code_check.py +++ b/code_check.py @@ -39,11 +39,10 @@ def get_current_msgids(): saved_msgids = get_current_msgids() # re-extract locale files from source code - ignore_paths = ("env/*", "static/bower/*", "static/components/*", "node_modules/*") + ignore_paths = ("env/*", "fabric/*", "media/*", "sitestatic/*", "static/*", "node_modules/*") ignore_args = " ".join([f'--ignore="{p}"' for p in ignore_paths]) cmd(f"python manage.py makemessages -a -e haml,html,txt,py --no-location --no-wrap {ignore_args}") - cmd(f"python manage.py makemessages -d djangojs -a --no-location --no-wrap {ignore_args}") # get the new set of msgids actual_msgids = get_current_msgids()