id_translation.utils#
Various supporting functions and classes.
Functions
|
Add a path to skip in warnings. |
- add_skip_file_prefix(path)[source]#
Add a path to skip in warnings.
Useful e.g. for internal libraries that are based on the rsundqvist/id-translation-project template.
- Parameters:
path – Path to add.
See also
The
EMIT_LOGGED_WARNINGSattribute.The
warnings.warn(skip_file_prefixes=...)function.
Modules
Utility for single-purpose translation tasks. |