Skip to content

Commit

Permalink
python: suppress missing error checking messages
Browse files Browse the repository at this point in the history
Some parameter types, ASYNC_THING and INTEGER, do not have argument
error checking.
  • Loading branch information
hzhou committed Dec 19, 2024
1 parent 1c06af1 commit a62fecc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion maint/local_python/binding_c.py
Original file line number Diff line number Diff line change
Expand Up @@ -727,7 +727,7 @@ def process_func_parameters(func):
pass
else:
validation_list.append({'kind': "ARGNULL", 'name': name})
elif RE.match(r'(ERROR_CLASS|ERROR_CODE|FILE|ATTRIBUTE_VAL|EXTRA_STATE|LOGICAL|MATH)', kind):
elif RE.match(r'(ERROR_CLASS|ERROR_CODE|FILE|ATTRIBUTE_VAL|EXTRA_STATE|LOGICAL|MATH|ASYNC_THING|INTEGER)', kind):
# no validation for these kinds
pass
elif RE.match(r'F90_(COMM|ERRHANDLER|FILE|GROUP|INFO|MESSAGE|OP|REQUEST|SESSION|DATATYPE|WIN)', kind):
Expand Down

0 comments on commit a62fecc

Please sign in to comment.