fix lint comparison

This commit is contained in:
Christian McHugh 2020-05-06 05:57:11 +01:00 committed by Daniel Wozniak
parent d6aa368b0d
commit c58707e0de

View file

@ -186,7 +186,7 @@ def _get_files(name=False, type="states", return_type="args") -> List:
if name:
if "." in name:
if return_type is not "docs":
if return_type != "docs":
# Only docs support module.function syntax
raise ArgumentValueError("Function name given")
else: