Skip to content

Commit

Permalink
Merge e6c890b into 4046563
Browse files Browse the repository at this point in the history
  • Loading branch information
adrienverge committed Mar 16, 2023
2 parents 4046563 + e6c890b commit 8ade4de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yamllint/linter.py
Expand Up @@ -223,7 +223,7 @@ def run(input, conf, filepath=None):
:param input: buffer, string or stream to read from
:param conf: yamllint configuration object
"""
if conf.is_file_ignored(filepath):
if filepath is not None and conf.is_file_ignored(filepath):
return ()

if isinstance(input, (bytes, str)):
Expand Down

0 comments on commit 8ade4de

Please sign in to comment.