[x] I have checked there are no open bugs referencing the same bug or problem
Description
Sourcery PyCharm plugin does not respect/obey the inspection settings set by PyCharm. For example, the default inspection for sourcery is warning severity and a warning highlighting in editor.
here I have set it to weak warning severity and highlighting:
it is still a warning (after invalidating all caches and restarting)
If I turn it off completely in inspections it does indeed turn off but does not respect the changed inspections.
Code snippet that reproduces issue
listing_kwargs = {}
for key, value in some_other_dict1.items():
if key in some_other_dict2:
listing_kwargs[key] = value
Debug Information
IDE Version:
Pycharm 2023.1 (but it has done this in previous versions as well)
Checklist
Description
Sourcery PyCharm plugin does not respect/obey the inspection settings set by PyCharm. For example, the default inspection for sourcery is warning severity and a warning highlighting in editor.
here I have set it to weak warning severity and highlighting:
it is still a warning (after invalidating all caches and restarting)
If I turn it off completely in inspections it does indeed turn off but does not respect the changed inspections.
Code snippet that reproduces issue
Debug Information
IDE Version:
Pycharm 2023.1 (but it has done this in previous versions as well)
Sourcery Version:
1.2.0
Operating system and Version:
Apple M1 Max Ventura 13.3.1 (22E261)