Skip to content

Commit

Permalink
address PR
Browse files Browse the repository at this point in the history
  • Loading branch information
anton schulte committed Oct 8, 2023
1 parent 3e37dd9 commit 28218b1
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 6 deletions.
4 changes: 2 additions & 2 deletions vunit/com/codec_vhdl_package.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ def _create_enumeration_of_all_msg_types(self):

msg_type_enumeration_types = []
for record in self.record_types:
if record.elements[0].identifier_List[0] == "msg_type":
if record.elements[0].identifier_list[0] == "msg_type":
msg_type_enumeration_types.append(record.elements[0].subtype_indication.code)

msg_type_enumeration_literals = []
Expand Down Expand Up @@ -276,7 +276,7 @@ def _get_records_with_an_initial_msg_type_element(self):

msg_type_record_types = []
for record in self.record_types:
if record.elements[0].identifier_List[0] == "msg_type":
if record.elements[0].identifier_list[0] == "msg_type":
msg_type_record_types.append(record)

return msg_type_record_types
Expand Down
3 changes: 2 additions & 1 deletion vunit/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
import inspect
from pathlib import Path
from copy import copy
from typing import Any, Callable, List, OrderedDict, Union
from collections import OrderedDict
from typing import Any, Callable, List, Union
from vunit.sim_if.factory import SIMULATOR_FACTORY


Expand Down
3 changes: 2 additions & 1 deletion vunit/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"""
Functionality to represent and operate on a HDL code project
"""
from typing import List, Optional, Union, OrderedDict
from collections import OrderedDict
from typing import List, Optional, Union
from pathlib import Path
import logging
from vunit.hashing import hash_string
Expand Down
3 changes: 2 additions & 1 deletion vunit/test/bench.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
import re
import bisect
import collections
from typing import Any, Iterable, List, Union, OrderedDict
from collections import OrderedDict
from typing import Any, Iterable, List, Union
from ..ostools import file_exists
from ..cached import cached
from ..vhdl_parser import remove_comments as remove_vhdl_comments
Expand Down
3 changes: 2 additions & 1 deletion vunit/test/bench_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@

import re
import logging
from typing import List, OrderedDict
from typing import List
from collections import OrderedDict

from vunit.source_file import SourceFile
from .list import TestList
Expand Down

0 comments on commit 28218b1

Please sign in to comment.