Skip to content

refactor: Clean up type checking in OPC-UA plugin#94

Merged
thiagoralves merged 1 commit into
fix/opcua-sint-type-mappingfrom
claude/opcua-cleanup-95bpw
Jan 29, 2026
Merged

refactor: Clean up type checking in OPC-UA plugin#94
thiagoralves merged 1 commit into
fix/opcua-sint-type-mappingfrom
claude/opcua-cleanup-95bpw

Conversation

@thiagoralves
Copy link
Copy Markdown
Contributor

  • Remove redundant mixed-case strings from datatype checks since .upper() is already called (e.g., "Sint" is unreachable after "sint".upper() == "SINT")
  • Replace bare except clauses with specific struct.error catches to avoid catching unintended exceptions like KeyboardInterrupt

https://claude.ai/code/session_01FULyWikeb5YVJX8NVX5hax

- Remove redundant mixed-case strings from datatype checks since
  .upper() is already called (e.g., "Sint" is unreachable after
  "sint".upper() == "SINT")
- Replace bare except clauses with specific struct.error catches
  to avoid catching unintended exceptions like KeyboardInterrupt

https://claude.ai/code/session_01FULyWikeb5YVJX8NVX5hax
@thiagoralves thiagoralves merged commit 2ca5f6d into fix/opcua-sint-type-mapping Jan 29, 2026
@thiagoralves thiagoralves deleted the claude/opcua-cleanup-95bpw branch January 29, 2026 01:03
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