Scanners can now use multiple validators. Any attached validator that returns False filters the file. The default validator is used if no validators are provided.
Scanners can now use multiple validators.
Any attached validator that returns False filters the file. The default validator is used if no validators are provided.

Use scanner.add_validator(function) to add a validator. The function should return a bool and accepts a filename string.

jeffh/sniffer