diff options
| author | Dylan Baker <dylan@pnwbakers.com> | 2022-09-02 13:35:40 -0700 |
|---|---|---|
| committer | Eli Schwartz <eschwartz93@gmail.com> | 2022-09-19 20:57:52 -0400 |
| commit | 798b6c5624944233d64ca575e7a1b3291158ef5e (patch) | |
| tree | 0550223a3c6a0b925c2ec0e2bb86b531149ec58d /mesonbuild/arglist.py | |
| parent | 4da14918cd7ad6566f2a986d2dd1aaa87bf66198 (diff) | |
| download | meson-798b6c5624944233d64ca575e7a1b3291158ef5e.tar.gz | |
pylint: enable use-list-literal
Diffstat (limited to 'mesonbuild/arglist.py')
| -rw-r--r-- | mesonbuild/arglist.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/arglist.py b/mesonbuild/arglist.py index 48fa6abe9..2f1ce3ca5 100644 --- a/mesonbuild/arglist.py +++ b/mesonbuild/arglist.py @@ -119,7 +119,7 @@ class CompilerArgs(T.MutableSequence[str]): # This correctly deduplicates the entries after _can_dedup definition # Note: This function is designed to work without delete operations, as deletions are worsening the performance a lot. def flush_pre_post(self) -> None: - new = list() # type: T.List[str] + new = [] # type: T.List[str] pre_flush_set = set() # type: T.Set[str] post_flush = collections.deque() # type: T.Deque[str] post_flush_set = set() # type: T.Set[str] |
