utils¶
- class svst.utils.is_ignored_file(root, file)[source]¶
Return if the file is ignored by the configuration.
- Parameters:
root (
str) – Directory path string.file (
str) – Name of the file.
- Return type:
bool- Returns:
Everything that is not a .py extension file is ignored. Checks if a path prefix, a directory or a file need to be ignored based on the configurations.