seibert-media/automatix

Syntax validation throws false positive

Closed this issue · 2 comments

If a script uses a function that ends with _node, i.e. get_all_ips_for_node, automatix erroneously throws a deprecation warning.

Uhh ... Any ideas? Maybe just deprecation warnings for real nodes?

One possibility would be to extend the validation regex to something like this: r'(\w*)_node(?![\w|(])'
That should exclude function calls.