Skip to content

Conversation

@Monarda
Copy link
Contributor

@Monarda Monarda commented Oct 9, 2025

This next PR:

  • Fixes issues with the kwargs for Rules like calc not being correctly consumed.
  • Rules may now restrict the NT Type to which they apply. For example, the AlarmNTEnumRule now only applies to NTEnum types.
  • Includes an example of how to add a custom rule (examples/custom_rule/imatch_alarm.py), including how to add it to the automatically added Rules.
  • Fixes the alarmNTenum Rule to use the same kwarg initialisation pattern as the other Rules. This causes a lot of minor changes to the tests.

@Monarda Monarda requested review from aqshafei and kurup October 9, 2025 08:34
@Monarda Monarda marked this pull request as ready for review October 9, 2025 09:03
@kurup kurup merged commit d43e510 into main Oct 13, 2025
16 checks passed
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