Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add mmap.mmap as argument type. #221

Merged
merged 1 commit into from
Nov 13, 2023
Merged

Conversation

mithro
Copy link
Member

@mithro mithro commented Nov 12, 2023

Fixes;

ERROR: /XXXX/pdk/liberty/BUILD:19:21: Checking Python types for pdk/liberty/combine_liberty.py failed: (Exit 1)
pytype.par failed: error executing PytypeCheck command (from target pdk/liberty:combine_liberty@pytype@check) tools/python/pytype/pytype.par --strict-none-binding --use-enum-overlay --check --touch ... (remaining 13 arguments skipped).  [forge_remote_host=jabdj1]
File "pdk/liberty/combine_liberty.py", line 61, in main: Function pdk.liberty.liberty_utility.generate_merged_liberty_io_vector was called with the wrong arguments [wrong-arg-types]
         Expected: (liberty_files: List[bytes])
  Actually passed: (liberty_files: List[mmap.mmap])

@mithro mithro requested a review from QuantamHD November 12, 2023 19:39
Fixes;
```
ERROR: /XXXX/pdk/liberty/BUILD:19:21: Checking Python types for pdk/liberty/combine_liberty.py failed: (Exit 1)
pytype.par failed: error executing PytypeCheck command (from target pdk/liberty:combine_liberty@pytype@check) tools/python/pytype/pytype.par --strict-none-binding --use-enum-overlay --check --touch ... (remaining 13 arguments skipped).  [forge_remote_host=jabdj1]
File "pdk/liberty/combine_liberty.py", line 61, in main: Function pdk.liberty.liberty_utility.generate_merged_liberty_io_vector was called with the wrong arguments [wrong-arg-types]
         Expected: (liberty_files: List[bytes])
  Actually passed: (liberty_files: List[mmap.mmap])
```

Signed-off-by: Tim 'mithro' Ansell <[email protected]>
@mithro mithro force-pushed the combine-liberty-type branch from d4682bd to c59eb69 Compare November 12, 2023 20:03
@mithro mithro merged commit 97997e0 into hdl:main Nov 13, 2023
@mithro mithro deleted the combine-liberty-type branch November 13, 2023 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants