Skip to content

Commit 7077172

Browse files
committed
Replace constructor with literal
1 parent 66260c8 commit 7077172

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

exasol/error/_cli.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ def _report(project_name, project_version, errors):
5555
"errorCodes": [e for e in errors],
5656
}
5757

58-
all_definitions: list[ErrorCodeDetails] = list()
59-
all_warnings: list[Validator.Warning] = list()
58+
all_definitions: list[ErrorCodeDetails] = []
59+
all_warnings: list[Validator.Warning] = []
6060
paths = [Path(p) for p in args.root]
6161
files = {f for f in chain.from_iterable([root.glob("**/*.py") for root in paths])}
6262
for f in files:

0 commit comments

Comments
 (0)