Commit 2babf1d7 authored by BO ZHANG's avatar BO ZHANG 🏀
Browse files

tweaks

parent 8ef667d1
Pipeline #1231 passed with stage
in 0 seconds
......@@ -44,15 +44,15 @@ class CsstResult:
def __init__(
self,
status: CsstStatus = CsstStatus.ERROR,
file_list: Optional = None,
files: Optional = None,
**output,
):
if file_list is None:
file_list = []
if files is None:
files = []
assert isinstance(status, CsstStatus)
assert type(file_list) is list
assert type(files) is list
self.status = status
self.file_list = file_list
self.file_list = files
self.output = output
def __repr__(self):
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment