Syntax validation throws false positive
Closed this issue · 2 comments
nkoch-ops commented
If a script uses a function that ends with _node
, i.e. get_all_ips_for_node
, automatix erroneously throws a deprecation warning.
j-p-a-u-l commented
Uhh ... Any ideas? Maybe just deprecation warnings for real nodes?
nkoch-ops commented
One possibility would be to extend the validation regex to something like this: r'(\w*)_node(?![\w|(])'
That should exclude function calls.