-
Notifications
You must be signed in to change notification settings - Fork 447
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Excluding files from message extraction is under-documented (ignore) #124
Comments
So, after quite some debugging, a rule to exclude "awesomepackage/contrib" must be written as such:
If the babel.cfg, setup.cfg and "awesomepackage" are within the same directory. |
Is there a way for us to ignore the entire contrib folder but at the same time have [python: **.py] not look there either? If I have the following tree: -app Id like to ignore the entire node_modules directory and not have python:**.py check that directory. Is there a way for this? The closest I got was:
However jinja2 and python are always checking into static even though it is ignored.. You can see this happening in the check_and_call_extract_file method of extract.py
|
Note: since 2.10 I've added a PR #963 with adding them to the documentation. |
I was trying to exclude a folder from message extraction through an ignore rule in the mapping file, and ended up having to read the source code to find out how to do it. Some of the questions that are not answered in the documentation are:
The text was updated successfully, but these errors were encountered: