_loader/loader.py: Refactor warnings about element names in one method
Currently we some duplication in the way we check for invalid filenames. To make it more robust and allow room for adding more warnings, refactor it into a separate method `_warn_invalid_elements()` that handles just this.
Loading
Please register or sign in to comment