Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
csst-pipeline
csst_common
Commits
2babf1d7
Commit
2babf1d7
authored
Sep 26, 2023
by
BO ZHANG
🏀
Browse files
tweaks
parent
8ef667d1
Pipeline
#1231
passed with stage
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
csst_common/status.py
View file @
2babf1d7
...
...
@@ -44,15 +44,15 @@ class CsstResult:
def
__init__
(
self
,
status
:
CsstStatus
=
CsstStatus
.
ERROR
,
file
_list
:
Optional
=
None
,
file
s
:
Optional
=
None
,
**
output
,
):
if
file
_list
is
None
:
file
_list
=
[]
if
file
s
is
None
:
file
s
=
[]
assert
isinstance
(
status
,
CsstStatus
)
assert
type
(
file
_list
)
is
list
assert
type
(
file
s
)
is
list
self
.
status
=
status
self
.
file_list
=
file
_list
self
.
file_list
=
file
s
self
.
output
=
output
def
__repr__
(
self
):
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment