I use icecream to support my debugging and a large project I use the install method to make it available in all files.
Unfortunately, flake8, reports that 'ic' is an undefined name
src/forms/frm_player_edit.py:149:9: F821 undefined name 'ic'
Is there any way to suppress this warning just for this string using a global flake8 setting? (I still want it to warn undefined names in general)
you're looking for the builtins setting for flake8
if you're using the ini configuration it looks something like:
[flake8]
builtins = ic
disclaimer: I'm the current flake8 maintainer