Have you seen or written something like the following in a test:
def test_something(some_fixture): # pylint: disable=unused-argument
...
Usually this is because a test depends on a fixture but doesn’t use the value provided by the fixture in the test. An example can be that the fixture makes a file available and the test just depends on the file being available without needing to know where the file is located or its content.
Continue reading “How to avoid pylint: disable=unused-argument in pytest”