fix flake8 E712 (comparison-to-bool)
This commit is contained in:
@@ -240,7 +240,7 @@ class InstallableExtension(BaseModel):
|
||||
return False
|
||||
with open(config_file, "r") as json_file:
|
||||
config_json = json.load(json_file)
|
||||
return config_json.get("is_installed") == True
|
||||
return config_json.get("is_installed") is True
|
||||
|
||||
def download_archive(self):
|
||||
ext_zip_file = self.zip_path
|
||||
|
||||
Reference in New Issue
Block a user