You can easily and least intrusively ignore pycharm unused local
warnings (only) for unused function parameters by prefixing them with underscores.
E.g.
In the following code, pycharm will not warn about the unused parameter _bar
def foo(_bar):
print("nothing here")