linter: Prevent testing is_file_ignored() with filepath == None
As reported in https://github.com/adrienverge/yamllint/pull/548, there might be a problem with pathspec 0.11.1 which does't allow calling `match_file()` with argument `None` anymore. The `linter.run()` function shouldn't call `YamlLintConfig.is_file_ignored(None)` anyway.pull/550/head
parent
404656394c
commit
15f8204427
Loading…
Reference in New Issue