Skip to content

Conversation

@mkurc-ant
Copy link
Collaborator

This PR fixes property unquoting code. This allows storing empty properties instead of causing a crash.

@mkurc-ant
Copy link
Collaborator Author

Probably need to merge #5 first to get CI run on this one.

@mithro mithro requested a review from litghost December 15, 2020 15:17
@mithro
Copy link
Contributor

mithro commented Dec 15, 2020

Do this need a rebase so it gets GitHub actions running?

@mkurc-ant
Copy link
Collaborator Author

@mithro It does but #5 needs to be merged first.
Actually Travis did run for this PR.

@litghost
Copy link
Contributor

@mithro It does but #5 needs to be merged first.
Actually Travis did run for this PR.

Waiting on review for #5 from @mithro and/or @HackerFoo

if isinstance(v, str):
if v[0] == '"' and v[-1] == '"':
v = v[1:-1]
if len(v) >= 2:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add some unit tests around this code?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might be best to refactor the code first, and then write some tests on the separated function.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR still needs some tests?

@litghost
Copy link
Contributor

Please rebase

kowalewskijan pushed a commit to antmicro/python-fpga-interchange that referenced this pull request Apr 26, 2021
…_files

Add CMake file to build static library.
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.

3 participants